Changeset 2907 for code/branches/questsystem5/src/core/ObjectListIterator.h
- Timestamp:
- Apr 8, 2009, 12:36:08 AM (16 years ago)
- Location:
- code/branches/questsystem5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5
- Property svn:mergeinfo changed
-
code/branches/questsystem5/src/core/ObjectListIterator.h
r2662 r2907 65 65 { 66 66 this->element_ = 0; 67 this->iterator_ =ClassIdentifier<T>::getIdentifier()->getObjects()->registerObjectListIterator(this);67 ClassIdentifier<T>::getIdentifier()->getObjects()->registerObjectListIterator(this); 68 68 } 69 69 … … 75 75 { 76 76 this->element_ = element; 77 this->iterator_ =ClassIdentifier<T>::getIdentifier()->getObjects()->registerObjectListIterator(this);77 ClassIdentifier<T>::getIdentifier()->getObjects()->registerObjectListIterator(this); 78 78 } 79 79 … … 85 85 { 86 86 this->element_ = other.element_; 87 this->iterator_ =ClassIdentifier<T>::getIdentifier()->getObjects()->registerObjectListIterator(this);87 ClassIdentifier<T>::getIdentifier()->getObjects()->registerObjectListIterator(this); 88 88 } 89 89 … … 93 93 inline ~ObjectListIterator() 94 94 { 95 ClassIdentifier<T>::getIdentifier()->getObjects()->unregisterObjectListIterator(this ->iterator_);95 ClassIdentifier<T>::getIdentifier()->getObjects()->unregisterObjectListIterator(this); 96 96 } 97 97 … … 227 227 private: 228 228 ObjectListElement<T>* element_; //!< The element the Iterator points at 229 std::list<void*>::iterator iterator_; //!< The iterator in the notifying list of the ObjectList230 229 }; 231 230 }
Note: See TracChangeset
for help on using the changeset viewer.