Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 13, 2008, 6:39:53 PM (16 years ago)
Author:
landauf
Message:
  • Changed the ClassManager/IdentifierDistributor: ClassIdentifiers are now saved with the name returned by typeid(class).name() because this is a simple way getting the name without creating an object (which might be impossible because of non-public constructors or abstract functions).
  • Changed some debug outputs
File:
1 edited

Legend:

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

    r809 r811  
    247247    ClassTreeMask::ClassTreeMask()
    248248    {
    249         this->root_ = new ClassTreeMaskNode(ClassManager<BaseObject>::getIdentifier("BaseObject"), true);
     249        this->root_ = new ClassTreeMaskNode(ClassManager<BaseObject>::getIdentifier(), true);
    250250    }
    251251
     
    256256    ClassTreeMask::ClassTreeMask(const ClassTreeMask& other)
    257257    {
    258         this->root_ = new ClassTreeMaskNode(ClassManager<BaseObject>::getIdentifier("BaseObject"), true);
     258        this->root_ = new ClassTreeMaskNode(ClassManager<BaseObject>::getIdentifier(), true);
    259259        for (ClassTreeMaskIterator it = other.root_; it; ++it)
    260260            this->add(it->getClass(), it->isIncluded());
     
    354354    {
    355355        delete this->root_;
    356         this->root_ = new ClassTreeMaskNode(ClassManager<BaseObject>::getIdentifier("BaseObject"), true);
     356        this->root_ = new ClassTreeMaskNode(ClassManager<BaseObject>::getIdentifier(), true);
    357357    }
    358358
Note: See TracChangeset for help on using the changeset viewer.