Changeset 9709 in orxonox.OLD for branches/new_class_id/src/lib/lang/base_object.h
- Timestamp:
- Aug 31, 2006, 10:51:08 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/lang/base_object.h
r9705 r9709 44 44 //inline const std::string& getClassName() const { return this->className; } 45 45 /** @returns the className of the corresponding Object as a C-compliant string (const char*) */ 46 inline const char* getClassCName() const { return this->className.c_str(); };46 inline const char* getClassCName() const { return _classes.front()._objectList->name().c_str(); }; 47 47 /** @returns the ClassName of the Topmost Object of the ClassStack */ 48 inline const std::string& getClassName() const { return _classes.front()._objectList->name(); } 48 inline const std::string& getClassName() const { return _classes.front()._objectList->name(); }; 49 49 50 50 inline const NewClassID& getClassID() const { return *_leafClassID; }
Note: See TracChangeset
for help on using the changeset viewer.