dox/Common/vtkOverrideInformation.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00030 #ifndef __vtkOverrideInformation_h
00031 #define __vtkOverrideInformation_h
00032
00033 #include "vtkObject.h"
00034
00035 class vtkObjectFactory;
00036
00037 class VTK_COMMON_EXPORT vtkOverrideInformation : public vtkObject
00038 {
00039 public:
00040 static vtkOverrideInformation* New();
00041 vtkTypeRevisionMacro(vtkOverrideInformation,vtkObject);
00043 virtual void PrintSelf(ostream& os, vtkIndent indent);
00044
00046
00049 const char* GetClassOverrideName()
00050 {
00051 return this->ClassOverrideName;
00052 }
00054
00056
00059 const char* GetClassOverrideWithName()
00060 {
00061 return this->ClassOverrideWithName;
00062 }
00064
00066
00068 const char* GetDescription()
00069 {
00070 return this->Description;
00071 }
00073
00075
00076 vtkObjectFactory* GetObjectFactory()
00077 {
00078 return this->ObjectFactory;
00079 }
00080
00081
00082 vtkSetStringMacro(ClassOverrideName);
00083
00084 vtkSetStringMacro(ClassOverrideWithName);
00085
00086 vtkSetStringMacro(Description);
00088 protected:
00089 virtual void SetObjectFactory(vtkObjectFactory*);
00090
00091 private:
00092 vtkOverrideInformation();
00093 ~vtkOverrideInformation();
00094
00095
00096
00097 friend class vtkObjectFactory;
00098
00099
00100 char* ClassOverrideName;
00101 char* ClassOverrideWithName;
00102 char* Description;
00103 vtkObjectFactory* ObjectFactory;
00104 private:
00105 vtkOverrideInformation(const vtkOverrideInformation&);
00106 void operator=(const vtkOverrideInformation&);
00107 };
00108
00109 #endif