|
ROOT 6.10/09 Reference Guide |
Public Member Functions | |
| TListIter (const TList *l, Bool_t dir=kIterForward) | |
| Create a new list iterator. More... | |
| TListIter (const TListIter &iter) | |
| Copy ctor. More... | |
| ~TListIter () | |
| const TCollection * | GetCollection () const |
| Option_t * | GetOption () const |
| Returns the object option stored in the list. More... | |
| TObject * | Next () |
| Return next object in the list. Returns 0 when no more objects in list. More... | |
| Bool_t | operator!= (const TIterator &aIter) const |
| This operator compares two TIterator objects. More... | |
| Bool_t | operator!= (const TListIter &aIter) const |
| This operator compares two TListIter objects. More... | |
| TObject * | operator* () const |
| Return current object or nullptr. More... | |
| TIterator & | operator= (const TIterator &rhs) |
| Overridden assignment operator. More... | |
| TListIter & | operator= (const TListIter &rhs) |
| Overloaded assignment operator. More... | |
| void | Reset () |
| Reset list iterator. More... | |
| void | SetOption (Option_t *option) |
| Sets the object option stored in the list. More... | |
Public Member Functions inherited from TIterator | |
| virtual | ~TIterator () |
| TObject * | operator() () |
| Bool_t | operator== (const TIterator &other) const |
Protected Member Functions | |
| TListIter () | |
Protected Member Functions inherited from TIterator | |
| TIterator () | |
| TIterator (const TIterator &) | |
Protected Attributes | |
| TObjLink * | fCurCursor |
| TObjLink * | fCursor |
| Bool_t | fDirection |
| const TList * | fList |
| Bool_t | fStarted |
#include <TList.h>
| TListIter::TListIter | ( | const TList * | l, |
| Bool_t | dir = kIterForward |
||
| ) |
|
inlinevirtual |
|
virtual |
|
virtual |
Return next object in the list. Returns 0 when no more objects in list.
Implements TIterator.
Reimplemented in TFileIter, TListOfFunctionsIter, and TListOfEnumsWithLockIter.
|
virtual |
| Bool_t TListIter::operator!= | ( | const TListIter & | aIter | ) | const |
|
inlinevirtual |