Changeset 384 for code/branches/FICN/src/orxonox/core/OrxonoxClass.cc
- Timestamp:
- Dec 4, 2007, 11:48:28 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/core/OrxonoxClass.cc
r258 r384 1 /*! 2 @file OrxonoxClass.cc 3 @brief Implementation of the OrxonoxClass Class. 4 */ 5 1 6 #include "OrxonoxClass.h" 2 7 3 8 namespace orxonox 4 9 { 10 /** @brief Constructor: Sets the default values. */ 5 11 OrxonoxClass::OrxonoxClass() 6 12 { … … 8 14 this->parents_ = 0; 9 15 10 this->metaList_ = new MetaObjectList; 16 this->bActive_ = true; 17 this->bVisible_ = true; 11 18 } 12 19 20 /** @brief Destructor: Deletes, if existing, the list of the parents. */ 13 21 OrxonoxClass::~OrxonoxClass() 14 22 { 23 // parents_ exists only if isCreatingHierarchy() of the associated Identifier returned true while creating the class 15 24 if (this->parents_) 16 25 delete this->parents_; 17 18 delete this->metaList_;19 26 } 20 27 }
Note: See TracChangeset
for help on using the changeset viewer.