Public Types | |
using | const_pointer = const TObject ** |
using | difference_type = std::ptrdiff_t |
using | iterator_category = std::bidirectional_iterator_tag |
using | pointer = TObject ** |
using | reference = const TObject *& |
using | value_type = TObject * |
Public Member Functions | |
TListIter (const TList *l, Bool_t dir=kIterForward) | |
Create a new list iterator. | |
TListIter (const TListIter &iter) | |
Copy ctor. | |
~TListIter () | |
const TCollection * | GetCollection () const |
Option_t * | GetOption () const |
Returns the object option stored in the list. | |
TObject * | Next () |
Return next object in the list. Returns 0 when no more objects in list. | |
Bool_t | operator!= (const TIterator &aIter) const |
This operator compares two TIterator objects. | |
Bool_t | operator!= (const TListIter &aIter) const |
This operator compares two TListIter objects. | |
TObject * | operator* () const |
Return current object or nullptr. | |
TIterator & | operator= (const TIterator &rhs) |
Overridden assignment operator. | |
TListIter & | operator= (const TListIter &rhs) |
Overloaded assignment operator. | |
void | Reset () |
Reset list iterator. | |
void | SetOption (Option_t *option) |
Sets the object option stored in the list. | |
Public Member Functions inherited from TIterator | |
virtual | ~TIterator () |
TObject * | operator() () |
Bool_t | operator== (const TIterator &other) const |
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>
using TListIter::const_pointer = const TObject ** |
using TListIter::difference_type = std::ptrdiff_t |
using TListIter::iterator_category = std::bidirectional_iterator_tag |
using TListIter::pointer = TObject ** |
using TListIter::reference = const TObject *& |
|
protected |
using TListIter::value_type = TObject * |
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.
|
inlinevirtual |
Overridden assignment operator.
Implements TIterator.
Reimplemented in TListOfEnumsWithLockIter, and TListOfFunctionsIter.
|
virtual |
|
protected |
|
protected |