Changeset 9672 in orxonox.OLD for trunk/src/lib/lang/new_class_id.h
- Timestamp:
- Aug 21, 2006, 5:58:01 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/lang/new_class_id.h
r9671 r9672 26 26 27 27 private: 28 NewObjectListBase* _objectList; 29 std::list<NewObjectListBase::IteratorBase*> _iterators; //!< Iterators to the class-list's positions. 28 std::list<NewObjectListBase::ClassEntry> _classes; 30 29 }; 31 30 … … 34 33 inline void NewClassID::registerObject(T* object, NewObjectList<T>& objectList) 35 34 { 36 this->_objectList = &objectList; 37 _iterators.push_back(objectList.registerObject(object, this->_objectList)); 35 this->_classes.push_back(NewObjectListBase::ClassEntry(&objectList, objectList.registerObject(object))); 36 37 /* this->_objectList = &objectList; 38 _iterators.push_back(objectList.registerObject(object, this->_objectList));*/ 38 39 } 39 40
Note: See TracChangeset
for help on using the changeset viewer.