Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 4, 2007, 11:48:28 PM (16 years ago)
Author:
landauf
Message:

copied changed files from objecthierarchy-branch

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
    16#include "OrxonoxClass.h"
    27
    38namespace orxonox
    49{
     10    /** @brief Constructor: Sets the default values. */
    511    OrxonoxClass::OrxonoxClass()
    612    {
     
    814        this->parents_ = 0;
    915
    10         this->metaList_ = new MetaObjectList;
     16        this->bActive_ = true;
     17        this->bVisible_ = true;
    1118    }
    1219
     20    /** @brief Destructor: Deletes, if existing, the list of the parents. */
    1321    OrxonoxClass::~OrxonoxClass()
    1422    {
     23        // parents_ exists only if isCreatingHierarchy() of the associated Identifier returned true while creating the class
    1524        if (this->parents_)
    1625            delete this->parents_;
    17 
    18         delete this->metaList_;
    1926    }
    2027}
Note: See TracChangeset for help on using the changeset viewer.