Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/FICN/src/orxonox/core/OrxonoxClass.cc @ 384

Last change on this file since 384 was 384, checked in by landauf, 16 years ago

copied changed files from objecthierarchy-branch

File size: 699 bytes
Line 
1/*!
2    @file OrxonoxClass.cc
3    @brief Implementation of the OrxonoxClass Class.
4*/
5
6#include "OrxonoxClass.h"
7
8namespace orxonox
9{
10    /** @brief Constructor: Sets the default values. */
11    OrxonoxClass::OrxonoxClass()
12    {
13        this->identifier_ = 0;
14        this->parents_ = 0;
15
16        this->bActive_ = true;
17        this->bVisible_ = true;
18    }
19
20    /** @brief Destructor: Deletes, if existing, the list of the parents. */
21    OrxonoxClass::~OrxonoxClass()
22    {
23        // parents_ exists only if isCreatingHierarchy() of the associated Identifier returned true while creating the class
24        if (this->parents_)
25            delete this->parents_;
26    }
27}
Note: See TracBrowser for help on using the repository browser.