Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages | Examples

vetObject.h

00001 
00028 #ifndef __VETLIB_VETOBJECT_H__
00029  #define __VETLIB_VETOBJECT_H__
00030 
00031 
00032 
00033  #include "vetDefs.h"
00034 
00035 
00036 
00037 class vetObject
00038  {
00039         protected:
00040 
00048                 char* f_name;
00049 
00057                 char* f_description;
00058 
00066                 double f_version;
00067 
00075                 void setName(const char* myName);
00076 
00084                 void setDescription(const char* myDesc);
00085 
00093                 void setVersion(const double myVersion);
00094 
00095 
00096         public:
00097 
00098 
00102                 vetObject();
00103 
00107                 virtual ~vetObject();
00108 
00109 
00116                 char* getName() const { return f_name; };
00117 
00124                 char* getDescription() const { return f_description; };
00125 
00132                 double getVersion() const { return f_version; };
00133 
00134 
00135 
00136 /*
00137                 virtual VETRESULT reset() = 0;
00138                 virtual vetObject* clone() = 0;
00139                 virtual DOUBLE getGUID() = 0;
00140                 virtual VETRESULT getChildObjects(void**, unsigned int objCount);
00141                 virtual VETRESULT getOwnerObjects(void**, unsigned int objCount);
00142 
00143 */
00144 
00145                 void* getPointer() { return static_cast<void*>( this ); }
00146 
00147 
00148 
00155                 enum{ vetClassType = VETCLASS_TYPE_OBJECT };
00156 
00157  };
00158 
00159 
00160 
00161 
00162 #endif //__VETLIB_VETOBJECT_H__
00163 

Generated on Tue Jan 24 11:59:05 2006 for VETLib by  doxygen 1.4.4