Rev | Line | |
---|
[132] | 1 | #ifndef _BaseObject_H__ |
---|
| 2 | #define _BaseObject_H__ |
---|
| 3 | |
---|
| 4 | #include "ClassHierarchy.h" |
---|
| 5 | |
---|
| 6 | //namespace orxonox |
---|
| 7 | //{ |
---|
| 8 | class BaseObject |
---|
| 9 | { |
---|
| 10 | public: |
---|
| 11 | BaseObject(); |
---|
| 12 | ~BaseObject(); |
---|
| 13 | |
---|
| 14 | bool isA(ClassName* className); |
---|
| 15 | bool isChildOf(ClassName* className); |
---|
| 16 | bool isParentOf(ClassName* className); |
---|
| 17 | static bool getParentOf(ClassName* className); |
---|
| 18 | |
---|
| 19 | // static void operator new (size_t size); |
---|
| 20 | |
---|
| 21 | ClassName *className; |
---|
| 22 | |
---|
| 23 | private: |
---|
| 24 | |
---|
| 25 | }; |
---|
| 26 | //} |
---|
| 27 | |
---|
| 28 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.