Changeset 5248 in orxonox.OLD for trunk/src/lib/util
- Timestamp:
- Sep 24, 2005, 10:30:08 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/util/list.h
r5247 r5248 348 348 T* seekElement(const T* element); 349 349 T* iteratorElement(const tIterator<T>* iterator); 350 bool compareListPointer(const tList<T>* list); 350 351 351 352 /** another way to iterate through the list … … 520 521 } 521 522 523 template<class T> 524 bool tIterator<T>::compareListPointer(const tList<T>* list) 525 { 526 return (this->list == list)?true:false; 527 } 528 529 522 530 /** 523 531 * use it to move through the list without interfering with the iteration … … 538 546 } 539 547 540 541 548 /** 542 549 * use it to move backwards through the list without interfering with the itereation
Note: See TracChangeset
for help on using the changeset viewer.