Changeset 8361 in orxonox.OLD for trunk/src/lib/lang
- Timestamp:
- Jun 14, 2006, 9:49:56 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/lang/class_list.h
r8271 r8361 29 29 */ 30 30 class ClassList { 31 friend class BaseObject; 32 31 33 public: 32 34 ClassList(ClassID classID, unsigned long classIDFull, const std::string& className); 33 35 virtual ~ClassList(); 34 35 /* MAINTENANCE FUNCTIONS THESE ARE !!ONLY FOR BASEOBJECT !! */36 static ClassList* addToClassList(BaseObject* objectPointer, ClassID classID, unsigned long classIDFull, const std::string& className);37 static void removeFromClassList(BaseObject* objectPointer);38 39 40 36 41 37 static const std::list<BaseObject*>* getList(ClassID classID = CL_NULL);// { return (ClassList* fl = ClassList::getClassList(classID) != NULL)? &(fl->objectList) : NULL; }; … … 61 57 62 58 private: 59 /* MAINTENANCE FUNCTIONS THESE ARE !!ONLY FOR BASEOBJECT !! */ 60 static ClassList* addToClassList(BaseObject* objectPointer, ClassID classID, unsigned long classIDFull, const std::string& className); 61 static void removeFromClassList(BaseObject* objectPointer); 62 63 63 static ClassList* getClassList(ClassID classID); 64 64 static ClassList* getClassList(const std::string& className);
Note: See TracChangeset
for help on using the changeset viewer.