source:
orxonox.OLD/trunk/src/lib/lang/new_class_id.h
@
9661
Last change on this file since 9661 was 9660, checked in by bensch, 19 years ago | |
---|---|
File size: 421 bytes |
Rev | Line | |
---|---|---|
[4838] | 1 | /*! |
[9659] | 2 | * @file new_class_id.h |
3 | * @brief Definition of a dynamically allocating ClassID | |
4 | * | |
5 | */ | |
[1853] | 6 | |
[9659] | 7 | #ifndef _NEW_CLASS_ID_H |
8 | #define _NEW_CLASS_ID_H | |
[1853] | 9 | |
[9659] | 10 | #include "type_info.h" |
11 | #include <set> | |
12 | #include <string> | |
[1853] | 13 | |
[9659] | 14 | //! A class to dynamically allocate ClassID's and support a isA operator |
15 | class NewClassID | |
16 | { | |
17 | public: | |
18 | NewClassID(); | |
19 | ~NewClassID(); | |
[3245] | 20 | |
[9659] | 21 | private: |
22 | std::string _className; | |
23 | ||
[1853] | 24 | }; |
25 | ||
[9659] | 26 | |
27 | #endif /* _NEW_CLASS_ID_H */ |
Note: See TracBrowser
for help on using the repository browser.