28 #ifndef __vtkInformationKey_h
29 #define __vtkInformationKey_h
50 const char* GetName();
54 const char* GetLocation();
77 { this->ShallowCopy(from, to); }
110 void ConstructClass(
const char*);
120 #define vtkInformationKeyMacro(CLASS, NAME, type) \
121 vtkInformation##type##Key* CLASS::NAME() \
123 static vtkInformation##type##Key* CLASS##_##NAME = \
124 new vtkInformation##type##Key(#NAME, #CLASS); \
125 return CLASS##_##NAME; \
127 #define vtkInformationKeyRestrictedMacro(CLASS, NAME, type, required) \
128 vtkInformation##type##Key* CLASS::NAME() \
130 static vtkInformation##type##Key* CLASS##_##NAME = \
131 new vtkInformation##type##Key(#NAME, #CLASS, required); \
132 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 &)