Changeset 3531 in orxonox.OLD for orxonox/trunk/src/lib/lang
- Timestamp:
- Mar 13, 2005, 10:50:43 PM (20 years ago)
- Location:
- orxonox/trunk/src/lib/lang
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/lang/base_object.cc
r3484 r3531 26 26 \brief standard constructor 27 27 */ 28 BaseObject::BaseObject () {} 28 BaseObject::BaseObject () 29 { 30 this->className = NULL; 31 } 29 32 30 33 … … 32 35 \brief standard deconstructor 33 36 */ 34 BaseObject::~BaseObject () {} 37 BaseObject::~BaseObject () 38 { 39 this->destroy(); 40 } 35 41 42 /** 43 \brief destorys everything BaseObject allocated 44 */ 45 void BaseObject::destroy(void) 46 { 47 // delete []this->className; 48 } 36 49 37 50 void BaseObject::setClassName (char* className) -
orxonox/trunk/src/lib/lang/base_object.h
r3484 r3531 15 15 public: 16 16 BaseObject (); 17 ~BaseObject (); 17 virtual ~BaseObject (); 18 19 void destroy(void); 18 20 19 21 void setClassName (char* className);
Note: See TracChangeset
for help on using the changeset viewer.