28 #ifndef __vtkInformationKey_h
29 #define __vtkInformationKey_h
51 const char* GetName();
55 const char* GetLocation();
78 { this->ShallowCopy(from, to); }
112 void ConstructClass(
const char*);
122 #define vtkInformationKeyMacro(CLASS, NAME, type) \
123 static vtkInformation##type##Key* CLASS##_##NAME = \
124 new vtkInformation##type##Key(#NAME, #CLASS); \
125 vtkInformation##type##Key* CLASS::NAME() \
127 return CLASS##_##NAME; \
129 #define vtkInformationKeyRestrictedMacro(CLASS, NAME, type, required) \
130 static vtkInformation##type##Key* CLASS##_##NAME = \
131 new vtkInformation##type##Key(#NAME, #CLASS, required); \
132 vtkInformation##type##Key* CLASS::NAME() \
134 return CLASS##_##NAME; \
virtual void Register(vtkObjectBase *o)
#define VTKCOMMONCORE_EXPORT
virtual void PrintSelf(ostream &os, vtkIndent indent)
GLsizei const GLfloat * value
#define vtkTypeMacro(thisClass, superclass)
Detect and break reference loops.
GLuint const GLchar * name
virtual void UnRegister(vtkObjectBase *o)
a simple class to control print indentation
abstract base class for most VTK objects
void operator=(const vtkObjectBase &)