Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 5, 2007, 12:52:26 AM (16 years ago)
Author:
landauf
Message:

it starts to work, but there is still much to do.

@bensch: thanks for you mail, but i can't tell you much at the moment - i'm still changing lots of things and i have no idea if everything will work as intendet, so i'll write you as soon as i have reliable informations :)
</abuse log for pms>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchie/src/BaseObject.h

    r150 r162  
    33
    44#include "ClassHierarchy.h"
     5#include "OrxonoxClass.h"
    56
    67namespace orxonox
    78{
    8     class BaseObject
     9    class BaseObject : virtual public OrxonoxClass
    910    {
    1011        public:
     
    1314
    1415            inline bool isA(Identifier* identifier)
    15                 { this->identifier_->isA(identifier); }
     16                { this->getIdentifier()->isA(identifier); }
    1617            inline bool isDirectA(Identifier* identifier)
    17                 { this->identifier_->isDirectA(identifier); }
     18                { this->getIdentifier()->isDirectA(identifier); }
    1819            inline bool isChildOf(Identifier* identifier)
    19                 { this->identifier_->isChildOf(identifier); }
     20                { this->getIdentifier()->isChildOf(identifier); }
    2021            inline bool isDirectChildOf(Identifier* identifier)
    21                 { this->identifier_->isDirectChildOf(identifier); }
     22                { this->getIdentifier()->isDirectChildOf(identifier); }
    2223            inline bool isParentOf(Identifier* identifier)
    23                 { this->identifier_->isParentOf(identifier); }
     24                { this->getIdentifier()->isParentOf(identifier); }
    2425            inline bool isDirectParentOf(Identifier* identifier)
    25                 { this->identifier_->isDirectParentOf(identifier); }
     26                { this->getIdentifier()->isDirectParentOf(identifier); }
    2627
    27             ClassIdentifier<class BaseObject>* identifier_;
     28//            Identifier* identifier_;
    2829
    29         protected:
    30             IdentifierList* parents_; // INTERN! Don't touch this!
    31 
    32         private:
     30//        protected:
     31//            IdentifierList* parents_; // INTERN! Don't touch this!
    3332
    3433    };
Note: See TracChangeset for help on using the changeset viewer.