28 #ifndef __vtkInformationKey_h
29 #define __vtkInformationKey_h
31 #include "vtkCommonCoreModule.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 vtkInformation##type##Key* CLASS::NAME() \
125 static vtkInformation##type##Key* CLASS##_##NAME = \
126 new vtkInformation##type##Key(#NAME, #CLASS); \
127 return CLASS##_##NAME; \
129 #define vtkInformationKeyRestrictedMacro(CLASS, NAME, type, required) \
130 vtkInformation##type##Key* CLASS::NAME() \
132 static vtkInformation##type##Key* CLASS##_##NAME = \
133 new vtkInformation##type##Key(#NAME, #CLASS, required); \
134 return CLASS##_##NAME; \
virtual void Register(vtkObjectBase *o)
virtual void PrintSelf(ostream &os, vtkIndent indent)
Detect and break reference loops.
virtual void UnRegister(vtkObjectBase *o)
a simple class to control print indentation
abstract base class for most VTK objects
void operator=(const vtkObjectBase &)