Iterator of over the view's content.
Definition at line 96 of file TViewPubFunctions.h.
Public Member Functions | |
TViewPubFunctionsIter (const TViewPubFunctions *l, Bool_t dir=kIterForward) | |
Create a new list iterator. More... | |
TViewPubFunctionsIter (const TViewPubFunctionsIter &iter) | |
Copy ctor. More... | |
~TViewPubFunctionsIter () | |
const TCollection * | GetCollection () const |
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 TViewPubFunctionsIter &aIter) const |
This operator compares two TViewPubFunctionsIter objects. More... | |
TObject * | operator* () const |
Return current object or nullptr. More... | |
TIterator & | operator= (const TIterator &rhs) |
Overridden assignment operator. More... | |
TViewPubFunctionsIter & | operator= (const TViewPubFunctionsIter &rhs) |
Overloaded assignment operator. More... | |
void | Reset () |
Reset list iterator. 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 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 |
|
inlineprotected |
Definition at line 108 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 113 of file TViewPubFunctions.h.
|
inlinevirtual |
Implements TIterator.
Definition at line 117 of file TViewPubFunctions.h.
|
virtual |
Return next object in the list. Returns 0 when no more objects in list.
Implements TIterator.
Definition at line 415 of file TViewPubFunctions.cxx.
|
virtual |
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.
|
inlinevirtual |
Return current object or nullptr.
For backward compatibility reasons we have to provide this default implementation.
Reimplemented from TIterator.
Definition at line 122 of file TViewPubFunctions.h.
Overridden assignment operator.
Reimplemented from 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.
|
protected |
Definition at line 103 of file TViewPubFunctions.h.
|
protected |
Definition at line 106 of file TViewPubFunctions.h.
|
protected |
Definition at line 104 of file TViewPubFunctions.h.
|
protected |
Definition at line 105 of file TViewPubFunctions.h.
|
protected |
Definition at line 102 of file TViewPubFunctions.h.