Changeset 4747 in orxonox.OLD for orxonox/trunk/src/lib/lang/base_object.cc
- Timestamp:
- Jul 1, 2005, 4:10:44 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/lang/base_object.cc
r4746 r4747 18 18 19 19 #include "base_object.h" 20 20 21 #include "load_param.h" 21 22 #include "compiler.h" 23 #include "class_list.h" 22 24 23 25 using namespace std; … … 38 40 if (root) 39 41 this->loadParams(root); 42 43 ClassList::addToClassList(this, this->classID, "BaseObject"); 40 44 } 41 45 … … 45 49 BaseObject::~BaseObject () 46 50 { 51 ClassList::removeFromClassList(this); 52 47 53 // delete []this->className; 48 54 if (this->objectName) 49 delete []this->objectName; 50 } 55 delete []this->objectName;} 51 56 52 57 /** … … 70 75 this->classID |= classID; 71 76 this->className = className; 77 78 ClassList::addToClassList(this, classID, className); 72 79 } 73 80 … … 94 101 \returns true if it is, false otherwise 95 102 */ 96 bool BaseObject::isA ( ClassIDclassID) const103 bool BaseObject::isA (long classID) const 97 104 { 98 105 // if classID is a derivable object
Note: See TracChangeset
for help on using the changeset viewer.