Changeset 7214 in orxonox.OLD for branches/std/src/lib/lang/base_object.h
- Timestamp:
- Mar 10, 2006, 7:18:03 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/std/src/lib/lang/base_object.h
r7203 r7214 33 33 void setName (const std::string& newName); 34 34 /** returns the Name of this Object */ 35 inline const char* getName ()const { return this->objectName ; };35 inline const char* getName ()const { return this->objectName.c_str(); }; 36 36 /** @returns the XML-Element with whicht this Object was loaded */ 37 37 inline TiXmlNode* getXmlElem() const { return this->xmlElem; }; … … 60 60 const char* className; //!< the name of the class 61 61 long classID; //!< this is the id from the class_id.h enumeration 62 char*objectName; //!< The name of this object62 std::string objectName; //!< The name of this object 63 63 64 64 ClassList* classList; //!< Pointer to the ClassList this Object is inside of
Note: See TracChangeset
for help on using the changeset viewer.