SimObjectInformation.h

Go to the documentation of this file.
00001 #ifndef SIMOBJECTINFORMATION_H_
00002 #define SIMOBJECTINFORMATION_H_
00003 
00004 #include "FieldRegistry.h"
00005 
00006 class SimObjectInformation
00007 {
00008 
00009 public:
00010 
00011     SimObjectInformation(
00012         const string & name,
00013         const string & description
00014     ) : name(name), description(description)
00015     {
00016         fieldRegistry = new FieldRegistry;
00017     };
00018 
00019     ~SimObjectInformation()
00020     {
00021         delete fieldRegistry;
00022     };
00023 
00025     string name;
00026 
00028     string description;
00029 
00031     FieldRegistry & getFieldRegistry() const
00032     {
00033         return *fieldRegistry;
00034     };
00035 
00036 private:
00037     FieldRegistry *fieldRegistry;
00038 };
00039 
00040 #endif /*SIMOBJECTINFORMATION_H_*/

Generated on Wed Jul 9 16:34:38 2008 for PCSIM by  doxygen 1.5.5