A wrapper around TIterator derivatives.
It is called RooLinkedListIter because all classes assume that the RooAbsCollections use a RooLinkedList, which is not true, any more. The purpose of this wrapper is to act on the outside like a RooLinkedListIter, even though the underlying implementation may work an a different container, like e.g. an STL container. This is needed to not break user code that is using a RooLinkedList or a RooAbsCollection.
Definition at line 202 of file RooLinkedListIter.h.
Public Member Functions | |
| RooLinkedListIter (const RooLinkedListIter &)=delete | |
| RooLinkedListIter (RooLinkedListIter &&other) | |
| RooLinkedListIter (std::shared_ptr< TIterator > iterImpl) | |
| const TCollection * | GetCollection () const override |
| virtual Option_t * | GetOption () const |
| virtual TClass * | IsA () const |
| TObject * | Next () override |
| bool | operator!= (const TIterator &other) const override |
| Compare two iterator objects. | |
| TObject * | operator() () |
| TObject * | operator* () const override |
| Return current object or nullptr. | |
| RooLinkedListIter & | operator= (const RooLinkedListIter &)=delete |
| TIterator & | operator= (const TIterator &other) override |
| RooLinkedListIter & | operator= (RooLinkedListIter &&other) |
| Bool_t | operator== (const TIterator &other) const |
| void | Reset () override |
| 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 () |
Private Attributes | |
| std::shared_ptr< TIterator > | fIterImpl |
| ! | |
#include <RooLinkedListIter.h>
|
inline |
Definition at line 205 of file RooLinkedListIter.h.
|
delete |
|
inline |
Definition at line 216 of file RooLinkedListIter.h.
|
staticinherited |
|
inlinestaticconstexprinherited |
Definition at line 48 of file TIterator.h.
|
inlinestaticinherited |
Definition at line 48 of file TIterator.h.
|
inlineoverridevirtual |
Implements TIterator.
Definition at line 225 of file RooLinkedListIter.h.
|
inlinevirtualinherited |
Reimplemented in TListIter, and TTreeFriendLeafIter.
Definition at line 40 of file TIterator.h.
|
inlinevirtualinherited |
Reimplemented in TBtreeIter, THashTableIter, TListIter, TMapIter, TObjArrayIter, TOrdCollectionIter, TRefArrayIter, TListOfEnumsWithLockIter, TListOfFunctionsIter, RooDataHistSliceIter, and TTreeFriendLeafIter.
Definition at line 48 of file TIterator.h.
|
inlineoverridevirtual |
Implements TIterator.
Definition at line 227 of file RooLinkedListIter.h.
Compare two iterator objects.
For backward compatibility reasons we have to provide this default implementation.
Reimplemented from TIterator.
Definition at line 229 of file RooLinkedListIter.h.
|
inlineinherited |
Definition at line 43 of file TIterator.h.
|
inlineoverridevirtual |
Return current object or nullptr.
For backward compatibility reasons we have to provide this default implementation.
Reimplemented from TIterator.
Definition at line 230 of file RooLinkedListIter.h.
|
delete |
Implements TIterator.
Definition at line 224 of file RooLinkedListIter.h.
|
inline |
Definition at line 219 of file RooLinkedListIter.h.
Definition at line 45 of file TIterator.h.
|
inlineoverridevirtual |
Implements TIterator.
Definition at line 228 of file RooLinkedListIter.h.
|
virtualinherited |
Reimplemented in TBtreeIter, THashTableIter, TListIter, TMapIter, TObjArrayIter, TOrdCollectionIter, TRefArrayIter, TListOfEnumsWithLockIter, TListOfFunctionsIter, RooDataHistSliceIter, and TTreeFriendLeafIter.
|
inlineinherited |
Definition at line 48 of file TIterator.h.
|
private |
!
Definition at line 233 of file RooLinkedListIter.h.