Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/objecthierarchie/src/BaseObject.h @ 162

Last change on this file since 162 was 162, checked in by landauf, 17 years ago

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 size: 1.2 KB
RevLine 
[132]1#ifndef _BaseObject_H__
2#define _BaseObject_H__
3
4#include "ClassHierarchy.h"
[162]5#include "OrxonoxClass.h"
[132]6
[149]7namespace orxonox
8{
[162]9    class BaseObject : virtual public OrxonoxClass
[132]10    {
11        public:
12            BaseObject();
13            ~BaseObject();
14
[149]15            inline bool isA(Identifier* identifier)
[162]16                { this->getIdentifier()->isA(identifier); }
[149]17            inline bool isDirectA(Identifier* identifier)
[162]18                { this->getIdentifier()->isDirectA(identifier); }
[149]19            inline bool isChildOf(Identifier* identifier)
[162]20                { this->getIdentifier()->isChildOf(identifier); }
[149]21            inline bool isDirectChildOf(Identifier* identifier)
[162]22                { this->getIdentifier()->isDirectChildOf(identifier); }
[149]23            inline bool isParentOf(Identifier* identifier)
[162]24                { this->getIdentifier()->isParentOf(identifier); }
[149]25            inline bool isDirectParentOf(Identifier* identifier)
[162]26                { this->getIdentifier()->isDirectParentOf(identifier); }
[132]27
[162]28//            Identifier* identifier_;
[132]29
[162]30//        protected:
31//            IdentifierList* parents_; // INTERN! Don't touch this!
[132]32
33    };
[149]34}
[132]35
36#endif
Note: See TracBrowser for help on using the repository browser.