VTK
vtkInformationDataObjectKey.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkInformationDataObjectKey.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
22 #ifndef vtkInformationDataObjectKey_h
23 #define vtkInformationDataObjectKey_h
24 
25 #include "vtkCommonCoreModule.h" // For export macro
26 #include "vtkInformationKey.h"
27 
28 #include "vtkCommonInformationKeyManager.h" // Manage instances of this type.
29 
30 class vtkDataObject;
31 
33 {
34 public:
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
38  vtkInformationDataObjectKey(const char* name, const char* location);
40 
42 
45  static vtkInformationDataObjectKey* MakeKey(const char* name, const char* location)
46  {
48  }
50 
51  //BTX
53 
57  //ETX
59 
63  virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
64 
66  virtual void Report(vtkInformation* info, vtkGarbageCollector* collector);
67 
68 private:
69  vtkInformationDataObjectKey(const vtkInformationDataObjectKey&); // Not implemented.
70  void operator=(const vtkInformationDataObjectKey&); // Not implemented.
71 };
72 
73 #endif
vtkCommonInformationKeyManager.h
VTKCOMMONCORE_EXPORT
#define VTKCOMMONCORE_EXPORT
Definition: vtkCommonCoreModule.h:15
vtkInformationDataObjectKey
Key for vtkDataObject values.
Definition: vtkInformationDataObjectKey.h:33
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkInformationDataObjectKey::Report
virtual void Report(vtkInformation *info, vtkGarbageCollector *collector)
vtkInformationDataObjectKey::~vtkInformationDataObjectKey
~vtkInformationDataObjectKey()
vtkgl::name
GLuint const GLchar * name
Definition: vtkgl.h:11983
vtkInformationDataObjectKey::vtkInformationDataObjectKey
vtkInformationDataObjectKey(const char *name, const char *location)
vtkCommonCoreModule.h
vtkInformationDataObjectKey::ShallowCopy
virtual void ShallowCopy(vtkInformation *from, vtkInformation *to)
vtkInformationDataObjectKey::Get
vtkDataObject * Get(vtkInformation *info)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkInformationDataObjectKey::MakeKey
static vtkInformationDataObjectKey * MakeKey(const char *name, const char *location)
Definition: vtkInformationDataObjectKey.h:45
vtkGarbageCollector
Detect and break reference loops.
Definition: vtkGarbageCollector.h:99
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkInformationDataObjectKey::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkgl::location
GLint location
Definition: vtkgl.h:12002
vtkInformationDataObjectKey::Set
void Set(vtkInformation *info, vtkDataObject *)
vtkInformationKey.h
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkInformationKey
Superclass for vtkInformation keys.
Definition: vtkInformationKey.h:38