Iterator of over the view's content.
Definition at line 96 of file TViewPubFunctions.h.
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 | |
TViewPubFunctionsIter (const TViewPubFunctions *l, Bool_t dir=kIterForward) | |
Create a new list iterator. | |
TViewPubFunctionsIter (const TViewPubFunctionsIter &iter) | |
Copy ctor. | |
~TViewPubFunctionsIter () | |
const TCollection * | GetCollection () 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 TViewPubFunctionsIter &aIter) const |
This operator compares two TViewPubFunctionsIter objects. | |
TObject * | operator* () const override |
Return current object or nullptr. | |
TIterator & | operator= (const TIterator &rhs) override |
Overridden assignment operator. | |
TViewPubFunctionsIter & | operator= (const TViewPubFunctionsIter &rhs) |
Overloaded assignment operator. | |
void | Reset () override |
Reset list iterator. | |
Public Member Functions inherited from TIterator | |
virtual | ~TIterator () |
virtual Option_t * | GetOption () const |
virtual TClass * | IsA () const |
TObject * | operator() () |
Bool_t | operator== (const TIterator &other) const |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Protected Member Functions | |
TViewPubFunctionsIter () | |
Protected Member Functions inherited from TIterator | |
TIterator () | |
TIterator (const TIterator &) | |
Protected Attributes | |
TIter | fClassIter |
Bool_t | fDirection |
TIter | fFuncIter |
Bool_t | fStarted |
const TList * | fView |
Additional Inherited Members | |
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 () |
using TViewPubFunctionsIter::const_pointer = const TObject ** |
Definition at line 111 of file TViewPubFunctions.h.
using TViewPubFunctionsIter::difference_type = std::ptrdiff_t |
Definition at line 109 of file TViewPubFunctions.h.
using TViewPubFunctionsIter::iterator_category = std::bidirectional_iterator_tag |
Definition at line 107 of file TViewPubFunctions.h.
using TViewPubFunctionsIter::pointer = TObject ** |
Definition at line 110 of file TViewPubFunctions.h.
using TViewPubFunctionsIter::reference = const TObject *& |
Definition at line 112 of file TViewPubFunctions.h.
using TViewPubFunctionsIter::value_type = TObject * |
Definition at line 108 of file TViewPubFunctions.h.
|
inlineprotected |
Definition at line 104 of file TViewPubFunctions.h.
TViewPubFunctionsIter::TViewPubFunctionsIter | ( | const TViewPubFunctions * | l, |
Bool_t | dir = kIterForward |
||
) |
Create a new list iterator.
By default the iteration direction is kIterForward. To go backward use kIterBackward.
Definition at line 365 of file TViewPubFunctions.cxx.
TViewPubFunctionsIter::TViewPubFunctionsIter | ( | const TViewPubFunctionsIter & | iter | ) |
Copy ctor.
Definition at line 374 of file TViewPubFunctions.cxx.
|
inline |
Definition at line 116 of file TViewPubFunctions.h.
|
inlineoverridevirtual |
Implements TIterator.
Definition at line 120 of file TViewPubFunctions.h.
|
overridevirtual |
Return next object in the list. Returns 0 when no more objects in list.
Implements TIterator.
Definition at line 415 of file TViewPubFunctions.cxx.
This operator compares two TIterator objects.
Reimplemented from TIterator.
Definition at line 465 of file TViewPubFunctions.cxx.
Bool_t TViewPubFunctionsIter::operator!= | ( | const TViewPubFunctionsIter & | aIter | ) | const |
This operator compares two TViewPubFunctionsIter objects.
Definition at line 477 of file TViewPubFunctions.cxx.
|
inlineoverridevirtual |
Return current object or nullptr.
For backward compatibility reasons we have to provide this default implementation.
Reimplemented from TIterator.
Definition at line 125 of file TViewPubFunctions.h.
Overridden assignment operator.
Implements TIterator.
Definition at line 384 of file TViewPubFunctions.cxx.
TViewPubFunctionsIter & TViewPubFunctionsIter::operator= | ( | const TViewPubFunctionsIter & | rhs | ) |
Overloaded assignment operator.
Definition at line 400 of file TViewPubFunctions.cxx.
|
overridevirtual |
|
protected |
Definition at line 99 of file TViewPubFunctions.h.
|
protected |
Definition at line 102 of file TViewPubFunctions.h.
|
protected |
Definition at line 100 of file TViewPubFunctions.h.
|
protected |
Definition at line 101 of file TViewPubFunctions.h.
|
protected |
Definition at line 98 of file TViewPubFunctions.h.