Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/objecthierarchie/src/OrxonoxClass.h @ 220

Last change on this file since 220 was 219, checked in by landauf, 17 years ago
  • removed the "ClassHierarchy" manager-class and put its sole feature (bIsCreatingClassHierarchy_) directly into the Identifier.
  • added a dynamic_cast from OrxonoxClass to BaseObject to the Factory. OrxonoxClass is needed because several classes use Interfaces, but all classes are derived at least from BaseObject, so the cast will work.
File size: 683 bytes
Line 
1#ifndef _OrxonoxClass_H__
2#define _OrxonoxClass_H__
3
4#include "Identifier.h"
5#include "IdentifierList.h"
6
7namespace orxonox
8{
9    class OrxonoxClass
10    {
11        public:
12            OrxonoxClass();
13            virtual ~OrxonoxClass();
14            Identifier* getIdentifier() { return this->identifier_; }
15            void setIdentifier(Identifier* identifier) { this->identifier_ = identifier; }
16            IdentifierList* getParents() { return this->parents_; }
17            void setParents(IdentifierList* parents) { this->parents_ = parents; }
18
19        private:
20            Identifier* identifier_;
21            IdentifierList* parents_;
22    };
23}
24
25#endif
Note: See TracBrowser for help on using the repository browser.