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 override |
Option_t * | GetOption () const override |
Returns the object option stored in the list. | |
TClass * | IsA () const override |
TObject * | Next () override |
Return next object in the list. Returns 0 when no more objects in list. | |
Bool_t | operator!= (const TIterator &aIter) const override |
This operator compares two TIterator objects. | |
Bool_t | operator!= (const TListIter &aIter) const |
This operator compares two TListIter objects. | |
TObject * | operator* () const override |
Return current object or nullptr. | |
TIterator & | operator= (const TIterator &rhs) override |
Overridden assignment operator. | |
TListIter & | operator= (const TListIter &rhs) |
Overloaded assignment operator. | |
void | Reset () override |
Reset list iterator. | |
void | SetOption (Option_t *option) |
Sets the object option stored in the list. | |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TIterator | |
virtual | ~TIterator () |
TObject * | operator() () |
Bool_t | operator== (const TIterator &other) const |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TIterator | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
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 | ) |
|
static |
|
inlinestaticconstexpr |
|
inlinestatic |
|
inlineoverridevirtual |
|
overridevirtual |
|
inlineoverridevirtual |
Reimplemented from TIterator.
Reimplemented in TListOfEnumsWithLockIter, and TListOfFunctionsIter.
|
overridevirtual |
Return next object in the list. Returns 0 when no more objects in list.
Implements TIterator.
Reimplemented in TListOfEnumsWithLockIter, and TListOfFunctionsIter.
|
inlineoverridevirtual |
Overridden assignment operator.
Implements TIterator.
Reimplemented in TListOfEnumsWithLockIter, and TListOfFunctionsIter.
|
overridevirtual |
void TListIter::SetOption | ( | Option_t * | option | ) |
|
overridevirtual |
Reimplemented from TIterator.
Reimplemented in TListOfEnumsWithLockIter, and TListOfFunctionsIter.
|
inline |
|
protected |
|
protected |