Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

added some "const" qualifiers to the identifier-functions

File size: 713 bytes
RevLine 
[162]1#ifndef _OrxonoxClass_H__
2#define _OrxonoxClass_H__
3
[219]4#include "Identifier.h"
[197]5#include "IdentifierList.h"
6
[162]7namespace orxonox
8{
9    class OrxonoxClass
10    {
11        public:
12            OrxonoxClass();
[218]13            virtual ~OrxonoxClass();
[239]14            const Identifier* getIdentifier() const { return this->identifier_; }
15            void setIdentifier(const Identifier* identifier) { this->identifier_ = identifier; }
16            IdentifierList* getParents() const { return this->parents_; }
[162]17            void setParents(IdentifierList* parents) { this->parents_ = parents; }
18
19        private:
[239]20            const Identifier* identifier_;
[162]21            IdentifierList* parents_;
22    };
23}
24
25#endif
Note: See TracBrowser for help on using the repository browser.