Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/orxonox/core/IdentifierList.h @ 261

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

merged object-hierarchy back to trunk

File size: 785 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    };
19
20    class IdentifierList
21    {
22        public:
23            IdentifierList();
24            ~IdentifierList();
[239]25            void add(const Identifier* identifier);
26            void remove(const Identifier* identifier);
[241]27            bool isInList(const Identifier* identifier) const;
[240]28            std::string toString() const;
[197]29
30            IdentifierListElement* first_;
31    };
32}
33
34#endif
Note: See TracBrowser for help on using the repository browser.