Iterator of over the view's content.
Definition at line 96 of file TViewPubDataMembers.h.
Public Types | |
using | difference_type = std::ptrdiff_t |
using | iterator_category = std::bidirectional_iterator_tag |
using | pointer = const TObject ** |
using | reference = const TObject *& |
using | value_type = TObject * |
Public Member Functions | |
TViewPubDataMembersIter (const TViewPubDataMembers *l, Bool_t dir=kIterForward) | |
Create a new list iterator. | |
TViewPubDataMembersIter (const TViewPubDataMembersIter &iter) | |
Copy ctor. | |
~TViewPubDataMembersIter () | |
const TCollection * | GetCollection () const |
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 TViewPubDataMembersIter &aIter) const |
This operator compares two TViewPubDataMembersIter objects. | |
TObject * | operator* () const |
Return current object or nullptr. | |
TIterator & | operator= (const TIterator &rhs) |
Overridden assignment operator. | |
TViewPubDataMembersIter & | operator= (const TViewPubDataMembersIter &rhs) |
Overloaded assignment operator. | |
void | Reset () |
Reset list iterator. | |
Public Member Functions inherited from TIterator | |
virtual | ~TIterator () |
virtual Option_t * | GetOption () const |
TObject * | operator() () |
Bool_t | operator== (const TIterator &other) const |
Protected Member Functions | |
TViewPubDataMembersIter () | |
Protected Member Functions inherited from TIterator | |
TIterator () | |
TIterator (const TIterator &) | |
Protected Attributes | |
TIter | fClassIter |
Bool_t | fDirection |
TIter | fIter |
Bool_t | fStarted |
const TList * | fView |
using TViewPubDataMembersIter::difference_type = std::ptrdiff_t |
Definition at line 100 of file TViewPubDataMembers.h.
using TViewPubDataMembersIter::iterator_category = std::bidirectional_iterator_tag |
Definition at line 98 of file TViewPubDataMembers.h.
using TViewPubDataMembersIter::pointer = const TObject ** |
Definition at line 101 of file TViewPubDataMembers.h.
using TViewPubDataMembersIter::reference = const TObject *& |
Definition at line 102 of file TViewPubDataMembers.h.
using TViewPubDataMembersIter::value_type = TObject * |
Definition at line 99 of file TViewPubDataMembers.h.
|
inlineprotected |
Definition at line 111 of file TViewPubDataMembers.h.
TViewPubDataMembersIter::TViewPubDataMembersIter | ( | const TViewPubDataMembers * | 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 TViewPubDataMembers.cxx.
TViewPubDataMembersIter::TViewPubDataMembersIter | ( | const TViewPubDataMembersIter & | iter | ) |
Copy ctor.
Definition at line 374 of file TViewPubDataMembers.cxx.
|
inline |
Definition at line 116 of file TViewPubDataMembers.h.
|
inlinevirtual |
Implements TIterator.
Definition at line 120 of file TViewPubDataMembers.h.
|
virtual |
Return next object in the list. Returns 0 when no more objects in list.
Implements TIterator.
Definition at line 415 of file TViewPubDataMembers.cxx.
This operator compares two TIterator objects.
Reimplemented from TIterator.
Definition at line 465 of file TViewPubDataMembers.cxx.
Bool_t TViewPubDataMembersIter::operator!= | ( | const TViewPubDataMembersIter & | aIter | ) | const |
This operator compares two TViewPubDataMembersIter objects.
Definition at line 477 of file TViewPubDataMembers.cxx.
|
inlinevirtual |
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 TViewPubDataMembers.h.
Overridden assignment operator.
Implements TIterator.
Definition at line 384 of file TViewPubDataMembers.cxx.
TViewPubDataMembersIter & TViewPubDataMembersIter::operator= | ( | const TViewPubDataMembersIter & | rhs | ) |
Overloaded assignment operator.
Definition at line 400 of file TViewPubDataMembers.cxx.
|
virtual |
|
protected |
Definition at line 106 of file TViewPubDataMembers.h.
|
protected |
Definition at line 109 of file TViewPubDataMembers.h.
|
protected |
Definition at line 107 of file TViewPubDataMembers.h.
|
protected |
Definition at line 108 of file TViewPubDataMembers.h.
|
protected |
Definition at line 105 of file TViewPubDataMembers.h.