Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 1, 2007, 4:24:56 AM (16 years ago)
Author:
landauf
Message:

added comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/core/OrxonoxClass.cc

    r258 r365  
     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 identifier_ and parents_ to zero. */
    511    OrxonoxClass::OrxonoxClass()
    612    {
    713        this->identifier_ = 0;
    814        this->parents_ = 0;
    9 
    10         this->metaList_ = new MetaObjectList;
    1115    }
    1216
     17    /** @brief Destructor: Deletes, if existing, the list of the parents. */
    1318    OrxonoxClass::~OrxonoxClass()
    1419    {
     20        // parents_ exists only if isCreatingHierarchy() of the associated Identifier returned true while creating the class
    1521        if (this->parents_)
    1622            delete this->parents_;
    17 
    18         delete this->metaList_;
    1923    }
    2024}
Note: See TracChangeset for help on using the changeset viewer.