Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

update; dont look at it, its not finished

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