Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

added some "const" qualifiers to the identifier-functions

File size: 801 bytes
RevLine 
[197]1#ifndef _IdentifierList_H__
2#define _IdentifierList_H__
3
4#include <string>
5
6namespace orxonox
7{
8    class Identifier;
9
10    class IdentifierListElement
11    {
12        public:
[239]13            IdentifierListElement(const Identifier* identifier);
[197]14            ~IdentifierListElement();
15
[239]16            const Identifier* identifier_;
[197]17            IdentifierListElement* next_;
18            bool bDirect_;
19    };
20
21    class IdentifierList
22    {
23        public:
24            IdentifierList();
25            ~IdentifierList();
[239]26            void add(const Identifier* identifier);
27            void remove(const Identifier* identifier);
28            bool isInList(const Identifier* identifier);
[197]29            std::string toString();
30
31            IdentifierListElement* first_;
32    };
33}
34
35#endif
Note: See TracBrowser for help on using the repository browser.