Changeset 4746 in orxonox.OLD for orxonox/trunk/src/lib/lang
- Timestamp:
- Jul 1, 2005, 12:48:48 PM (19 years ago)
- Location:
- orxonox/trunk/src/lib/lang
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/lang/base_object.cc
r4744 r4746 114 114 * @brief displays everything this class is 115 115 */ 116 void BaseObject::whatIs( void) const116 void BaseObject::whatIs() const 117 117 { 118 118 PRINT(0)("object %s of class %s: ", this->getName(), this->getClassName()); -
orxonox/trunk/src/lib/lang/base_object.h
r4744 r4746 28 28 void setName (const char* newName); 29 29 /** \brief returns the Name of this Object */ 30 inline const char* getName ( void)const { return this->objectName; };30 inline const char* getName ()const { return this->objectName; }; 31 31 32 32 /** \returns the className of the corresponding Object */ 33 inline const char* getClassName( void) const { return this->className; };33 inline const char* getClassName() const { return this->className; }; 34 34 /** \returns the classID of the corresponding Object */ 35 inline int getClassID( void) const { return this->classID; }35 inline int getClassID() const { return this->classID; } 36 36 37 37 bool isA (ClassID classID) const; 38 void whatIs( void) const;38 void whatIs() const; 39 39 40 40 /** \returns if the object is finalized */ … … 46 46 47 47 /** \brief this finalizes an object and makes it ready to be garbage collected */ 48 void finalize( void) { this->finalized = true; };48 void finalize() { this->finalized = true; }; 49 49 50 50 private:
Note: See TracChangeset
for help on using the changeset viewer.