Iterator abstract base class.
This base class provides the interface for collection iterators.
Definition at line 30 of file TIterator.h.
Public Member Functions | |
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. | |
TObject * | operator() () |
virtual TObject * | operator* () const |
Return current object or nullptr. | |
virtual TIterator & | operator= (const TIterator &)=0 |
Bool_t | operator== (const TIterator &other) const |
virtual void | Reset ()=0 |
Protected Member Functions | |
TIterator () | |
TIterator (const TIterator &) | |
#include <TIterator.h>
|
inlineprotected |
Definition at line 33 of file TIterator.h.
|
inlineprotected |
Definition at line 34 of file TIterator.h.
|
inlinevirtual |
Definition at line 38 of file TIterator.h.
|
pure virtual |
Implemented in TBtreeIter, THashTableIter, TListIter, TMapIter, TObjArrayIter, TOrdCollectionIter, TRefArrayIter, TViewPubDataMembersIter, TViewPubFunctionsIter, RooDataHistSliceIter, RooLinkedListIterImpl, RooMultiCatIter, TTreeFriendLeafIter, TIteratorToSTLInterface< STLContainer >, RooLinkedListIter, and RooAbsCategoryLegacyIterator.
|
inlinevirtual |
Reimplemented in TListIter, and TTreeFriendLeafIter.
Definition at line 40 of file TIterator.h.
|
pure virtual |
Implemented in TBtreeIter, THashTableIter, TListIter, TMapIter, TObjArrayIter, TOrdCollectionIter, TRefArrayIter, TListOfEnumsWithLockIter, TListOfFunctionsIter, TViewPubDataMembersIter, TViewPubFunctionsIter, RooDataHistSliceIter, RooLinkedListIterImpl, RooMultiCatIter, TTreeFriendLeafIter, TIteratorToSTLInterface< STLContainer >, RooLinkedListIter, and RooAbsCategoryLegacyIterator.
Compare two iterator objects.
For backward compatibility reasons we have to provide this default implementation.
Reimplemented in TTreeFriendLeafIter, TBtreeIter, THashTableIter, TListIter, TMapIter, TObjArrayIter, TOrdCollectionIter, TRefArrayIter, TViewPubDataMembersIter, TViewPubFunctionsIter, RooDataHistSliceIter, RooLinkedListIterImpl, RooMultiCatIter, TIteratorToSTLInterface< STLContainer >, and RooLinkedListIter.
Definition at line 28 of file TIterator.cxx.
|
inline |
Definition at line 43 of file TIterator.h.
|
virtual |
Return current object or nullptr.
For backward compatibility reasons we have to provide this default implementation.
Reimplemented in TBtreeIter, THashTableIter, TListIter, TMapIter, TObjArrayIter, TOrdCollectionIter, TRefArrayIter, TViewPubDataMembersIter, TViewPubFunctionsIter, RooDataHistSliceIter, RooLinkedListIterImpl, RooMultiCatIter, TTreeFriendLeafIter, TIteratorToSTLInterface< STLContainer >, RooLinkedListIter, and RooAbsCategoryLegacyIterator.
Definition at line 39 of file TIterator.cxx.
Implemented in RooDataHistSliceIter, RooMultiCatIter, TIteratorToSTLInterface< STLContainer >, RooAbsCategoryLegacyIterator, RooLinkedListIterImpl, RooLinkedListIter, TBtreeIter, THashTableIter, TListIter, TMapIter, TObjArrayIter, TOrdCollectionIter, TRefArrayIter, TListOfEnumsWithLockIter, TListOfFunctionsIter, TViewPubDataMembersIter, TViewPubFunctionsIter, and TTreeFriendLeafIter.
Definition at line 45 of file TIterator.h.
|
pure virtual |
Implemented in TBtreeIter, THashTableIter, TListIter, TMapIter, TObjArrayIter, TOrdCollectionIter, TRefArrayIter, TViewPubDataMembersIter, TViewPubFunctionsIter, RooDataHistSliceIter, RooLinkedListIterImpl, RooMultiCatIter, TTreeFriendLeafIter, TIteratorToSTLInterface< STLContainer >, RooLinkedListIter, and RooAbsCategoryLegacyIterator.