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 |
|
static |
|
inlinestaticconstexpr |
Definition at line 48 of file TIterator.h.
|
inlinestatic |
Definition at line 48 of file TIterator.h.
|
pure virtual |
Implemented in RooAbsCategoryLegacyIterator, RooDataHistSliceIter, RooLinkedListIter, RooLinkedListIterImpl, TBtreeIter, THashTableIter, TIteratorToSTLInterface< STLContainer >, TIteratorToSTLInterface< RefCountList_t::Container_t >, TIteratorToSTLInterface< Storage_t >, TListIter, TMapIter, TObjArrayIter, TOrdCollectionIter, TRefArrayIter, TTreeFriendLeafIter, TViewPubDataMembersIter, and TViewPubFunctionsIter.
|
inlinevirtual |
Reimplemented in TListIter, and TTreeFriendLeafIter.
Definition at line 40 of file TIterator.h.
|
inlinevirtual |
Reimplemented in RooDataHistSliceIter, TBtreeIter, THashTableIter, TListIter, TListOfEnumsWithLockIter, TListOfFunctionsIter, TMapIter, TObjArrayIter, TOrdCollectionIter, TRefArrayIter, and TTreeFriendLeafIter.
Definition at line 48 of file TIterator.h.
|
pure virtual |
Implemented in RooAbsCategoryLegacyIterator, RooDataHistSliceIter, RooLinkedListIter, RooLinkedListIterImpl, TBtreeIter, THashTableIter, TIteratorToSTLInterface< STLContainer >, TIteratorToSTLInterface< RefCountList_t::Container_t >, TIteratorToSTLInterface< Storage_t >, TListIter, TListOfEnumsWithLockIter, TListOfFunctionsIter, TMapIter, TObjArrayIter, TOrdCollectionIter, TRefArrayIter, TTreeFriendLeafIter, TViewPubDataMembersIter, and TViewPubFunctionsIter.
Compare two iterator objects.
For backward compatibility reasons we have to provide this default implementation.
Reimplemented in RooDataHistSliceIter, RooLinkedListIter, RooLinkedListIterImpl, TBtreeIter, THashTableIter, TIteratorToSTLInterface< STLContainer >, TIteratorToSTLInterface< RefCountList_t::Container_t >, TIteratorToSTLInterface< Storage_t >, TListIter, TMapIter, TObjArrayIter, TOrdCollectionIter, TRefArrayIter, TTreeFriendLeafIter, TViewPubDataMembersIter, and TViewPubFunctionsIter.
Definition at line 30 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 RooAbsCategoryLegacyIterator, RooDataHistSliceIter, RooLinkedListIter, RooLinkedListIterImpl, TBtreeIter, THashTableIter, TIteratorToSTLInterface< STLContainer >, TIteratorToSTLInterface< RefCountList_t::Container_t >, TIteratorToSTLInterface< Storage_t >, TListIter, TMapIter, TObjArrayIter, TOrdCollectionIter, TRefArrayIter, TTreeFriendLeafIter, TViewPubDataMembersIter, and TViewPubFunctionsIter.
Definition at line 41 of file TIterator.cxx.
Implemented in RooAbsCategoryLegacyIterator, RooDataHistSliceIter, RooLinkedListIter, RooLinkedListIterImpl, TBtreeIter, THashTableIter, TIteratorToSTLInterface< STLContainer >, TIteratorToSTLInterface< RefCountList_t::Container_t >, TIteratorToSTLInterface< Storage_t >, TListIter, TListOfEnumsWithLockIter, TListOfFunctionsIter, TMapIter, TObjArrayIter, TOrdCollectionIter, TRefArrayIter, TTreeFriendLeafIter, TViewPubDataMembersIter, and TViewPubFunctionsIter.
Definition at line 45 of file TIterator.h.
|
pure virtual |
Implemented in RooAbsCategoryLegacyIterator, RooDataHistSliceIter, RooLinkedListIter, RooLinkedListIterImpl, TBtreeIter, THashTableIter, TIteratorToSTLInterface< STLContainer >, TIteratorToSTLInterface< RefCountList_t::Container_t >, TIteratorToSTLInterface< Storage_t >, TListIter, TMapIter, TObjArrayIter, TOrdCollectionIter, TRefArrayIter, TTreeFriendLeafIter, TViewPubDataMembersIter, and TViewPubFunctionsIter.
|
virtual |
Reimplemented in RooDataHistSliceIter, TBtreeIter, THashTableIter, TListIter, TListOfEnumsWithLockIter, TListOfFunctionsIter, TMapIter, TObjArrayIter, TOrdCollectionIter, TRefArrayIter, and TTreeFriendLeafIter.
|
inline |
Definition at line 48 of file TIterator.h.