Changeset 8350 in orxonox.OLD for trunk/src/lib/lang
- Timestamp:
- Jun 13, 2006, 10:01:55 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/lang/base_object.h
r8035 r8350 21 21 22 22 //! A class all other classes are derived from 23 class BaseObject { 23 class BaseObject 24 { 24 25 25 26 26 public: 27 BaseObject (const std::string& objectName = ""); 27 28 28 29 virtual ~BaseObject (); … … 49 50 bool operator==(ClassID classID) { return this->isA(classID); }; 50 51 51 protected: 52 void setClassID(ClassID classID, const std::string& className); 53 std::string objectName; //!< The name of this object 52 protected: 53 void setClassID(ClassID classID, const std::string& className); 54 54 55 private: 56 std::string className; //!< the name of the class 57 long classID; //!< this is the id from the class_id.h enumeration 58 ClassID leafClassID; //!< The Leaf Class ID 55 protected: 56 std::string objectName; //!< The name of this object 59 57 60 ClassList* classList; //!< Pointer to the ClassList this Object is inside of 58 private: 61 59 62 TiXmlNode* xmlElem; //!< The XML Element with wich this Object was loaded(saved). 60 std::string className; //!< the name of the class 61 long classID; //!< this is the id from the class_id.h enumeration 62 ClassID leafClassID; //!< The Leaf Class ID 63 64 ClassList* classList; //!< Pointer to the ClassList this Object is inside of 65 66 TiXmlNode* xmlElem; //!< The XML Element with wich this Object was loaded(saved). 63 67 }; 64 68
Note: See TracChangeset
for help on using the changeset viewer.