Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/objecthierarchie/src/OrxonoxClass.cc @ 241

Last change on this file since 241 was 219, checked in by landauf, 17 years ago
  • removed the "ClassHierarchy" manager-class and put its sole feature (bIsCreatingClassHierarchy_) directly into the Identifier.
  • added a dynamic_cast from OrxonoxClass to BaseObject to the Factory. OrxonoxClass is needed because several classes use Interfaces, but all classes are derived at least from BaseObject, so the cast will work.
File size: 279 bytes
Line 
1#include "OrxonoxClass.h"
2
3namespace orxonox
4{
5    OrxonoxClass::OrxonoxClass()
6    {
7        this->identifier_ = 0;
8        this->parents_ = 0;
9    }
10
11    OrxonoxClass::~OrxonoxClass()
12    {
13        if (this->parents_)
14            delete this->parents_;
15    }
16}
Note: See TracBrowser for help on using the repository browser.