|
ROOT 6.18/05 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 () |
| virtual const TCollection * | GetCollection () const =0 |
| virtual Option_t * | GetOption () const |
| virtual TObject * | Next ()=0 |
| virtual Bool_t | operator!= (const TIterator &) const |
| Compare two iterator objects. More... | |
| TObject * | operator() () |
| virtual TObject * | operator* () const |
| Return current object or nullptr. More... | |
| virtual TIterator & | operator= (const TIterator &) |
| Bool_t | operator== (const TIterator &other) const |
| virtual void | Reset ()=0 |
Protected Types | |
| using | TObjLinkPtr_t = std::shared_ptr< TObjLink > |
Protected Member Functions | |
| TListIter () | |
Protected Member Functions inherited from TIterator | |
| TIterator () | |
| TIterator (const TIterator &) | |
Protected Attributes | |
| TObjLinkPtr_t | fCurCursor |
| TObjLinkPtr_t | fCursor |
| Bool_t | fDirection |
| const TList * | fList |
| Bool_t | fStarted |
#include <TList.h>
|
protected |
| TListIter::TListIter | ( | const TList * | l, |
| Bool_t | dir = kIterForward |
||
| ) |
| TListIter::TListIter | ( | const TListIter & | iter | ) |
|
inlinevirtual |
|
virtual |
|
virtual |
Return next object in the list. Returns 0 when no more objects in list.
Implements TIterator.
Reimplemented in TListOfEnumsWithLockIter, and TListOfFunctionsIter.
|
virtual |
| Bool_t TListIter::operator!= | ( | const TListIter & | aIter | ) | const |
|
inlinevirtual |
Overridden assignment operator.
Reimplemented from TIterator.
Reimplemented in TListOfEnumsWithLockIter, and TListOfFunctionsIter.
|
protected |
|
protected |