vtkOverrideInformation.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00038 #ifndef __vtkOverrideInformation_h
00039 #define __vtkOverrideInformation_h
00040
00041 #include "vtkObject.h"
00042
00043 class vtkObjectFactory;
00044
00045 class VTK_COMMON_EXPORT vtkOverrideInformation : public vtkObject
00046 {
00047 public:
00048 static vtkOverrideInformation* New();
00049 vtkTypeRevisionMacro(vtkOverrideInformation,vtkObject);
00051 virtual void PrintSelf(ostream& os, vtkIndent indent);
00052
00054
00057 const char* GetClassOverrideName()
00058 {
00059 return this->ClassOverrideName;
00060 }
00062
00064
00067 const char* GetClassOverrideWithName()
00068 {
00069 return this->ClassOverrideWithName;
00070 }
00072
00074
00076 const char* GetDescription()
00077 {
00078 return this->Description;
00079 }
00081
00083
00084 vtkObjectFactory* GetObjectFactory()
00085 {
00086 return this->ObjectFactory;
00087 }
00088
00089
00090 vtkSetStringMacro(ClassOverrideName);
00091
00092 vtkSetStringMacro(ClassOverrideWithName);
00093
00094 vtkSetStringMacro(Description);
00096 protected:
00097 virtual void SetObjectFactory(vtkObjectFactory*);
00098
00099 private:
00100 vtkOverrideInformation();
00101 ~vtkOverrideInformation();
00102
00103
00104
00105 friend class vtkObjectFactory;
00106
00107
00108 char* ClassOverrideName;
00109 char* ClassOverrideWithName;
00110 char* Description;
00111 vtkObjectFactory* ObjectFactory;
00112 private:
00113 vtkOverrideInformation(const vtkOverrideInformation&);
00114 void operator=(const vtkOverrideInformation&);
00115 };
00116
00117 #endif