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 TClass * | IsA () 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 |
virtual void | Streamer (TBuffer &) |
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 () |
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.
|
static |
|
inlinestaticconstexpr |
Definition at line 48 of file TIterator.h.
|
inlinestatic |
Definition at line 48 of file TIterator.h.
|
pure virtual |
Implemented in TBtreeIter, THashTableIter, TListIter, TMapIter, TObjArrayIter, TOrdCollectionIter, TRefArrayIter, TViewPubDataMembersIter, TViewPubFunctionsIter, RooDataHistSliceIter, TIteratorToSTLInterface< STLContainer >, RooLinkedListIter, RooLinkedListIterImpl, RooAbsCategoryLegacyIterator, and TTreeFriendLeafIter.
|
inlinevirtual |
Reimplemented in TListIter, and TTreeFriendLeafIter.
Definition at line 40 of file TIterator.h.
|
inlinevirtual |
Reimplemented in TBtreeIter, THashTableIter, TListIter, TMapIter, TObjArrayIter, TOrdCollectionIter, TRefArrayIter, TListOfEnumsWithLockIter, TListOfFunctionsIter, RooDataHistSliceIter, and TTreeFriendLeafIter.
Definition at line 48 of file TIterator.h.
|
pure virtual |
Implemented in TBtreeIter, THashTableIter, TListIter, TMapIter, TObjArrayIter, TOrdCollectionIter, TRefArrayIter, TListOfEnumsWithLockIter, TListOfFunctionsIter, TViewPubDataMembersIter, TViewPubFunctionsIter, RooDataHistSliceIter, TIteratorToSTLInterface< STLContainer >, RooLinkedListIter, RooLinkedListIterImpl, RooAbsCategoryLegacyIterator, and TTreeFriendLeafIter.
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, 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, TIteratorToSTLInterface< STLContainer >, RooLinkedListIter, RooLinkedListIterImpl, RooAbsCategoryLegacyIterator, and TTreeFriendLeafIter.
Definition at line 39 of file TIterator.cxx.
Implemented in RooDataHistSliceIter, TIteratorToSTLInterface< STLContainer >, RooAbsCategoryLegacyIterator, RooLinkedListIter, RooLinkedListIterImpl, 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, TIteratorToSTLInterface< STLContainer >, RooLinkedListIter, RooLinkedListIterImpl, RooAbsCategoryLegacyIterator, and TTreeFriendLeafIter.
|
virtual |
Reimplemented in TBtreeIter, THashTableIter, TListIter, TMapIter, TObjArrayIter, TOrdCollectionIter, TRefArrayIter, TListOfEnumsWithLockIter, TListOfFunctionsIter, RooDataHistSliceIter, and TTreeFriendLeafIter.
|
inline |
Definition at line 48 of file TIterator.h.