Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

added some "const" qualifiers to the identifier-functions

File size: 713 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            const Identifier* getIdentifier() const { return this->identifier_; }
15            void setIdentifier(const Identifier* identifier) { this->identifier_ = identifier; }
16            IdentifierList* getParents() const { return this->parents_; }
17            void setParents(IdentifierList* parents) { this->parents_ = parents; }
18
19        private:
20            const Identifier* identifier_;
21            IdentifierList* parents_;
22    };
23}
24
25#endif
Note: See TracBrowser for help on using the repository browser.