Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 15, 2008, 4:31:58 PM (16 years ago)
Author:
landauf
Message:
  • removed IdentifierList and replaced it by a std::list
  • changed several doxygen tags
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core/src/orxonox/core/CoreIncludes.h

    r811 r813  
    5252#include "Debug.h"
    5353
     54
     55// All needed macros
    5456/**
    5557    @brief Intern macro, containing the common parts of RegisterObject and RegisterRootObject.
     
    6062    this->setIdentifier(orxonox::ClassManager<ClassName>::getIdentifier()->registerClass(this->getParents(), #ClassName, bRootClass)); \
    6163    if (orxonox::Identifier::isCreatingHierarchy() && this->getParents()) \
    62         this->getParents()->add(this->getIdentifier()); \
     64        this->getParents()->insert(this->getParents()->end(), this->getIdentifier()); \
    6365    orxonox::ClassManager<ClassName>::getIdentifier()->addObject(this)
    6466
     
    6971#define InternRegisterRootObject(ClassName) \
    7072    if (orxonox::Identifier::isCreatingHierarchy() && !this->getParents()) \
    71         this->setParents(new orxonox::IdentifierList()); \
     73        this->createParents(); \
    7274    InternRegisterObject(ClassName, true)
    7375
Note: See TracChangeset for help on using the changeset viewer.