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 204 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 |
TObject * | Next () override |
bool | operator!= (const TIterator &other) const override |
Compare two iterator objects. | |
TObject * | operator* () const override |
Return current object or nullptr. | |
RooLinkedListIter & | operator= (const RooLinkedListIter &)=delete |
TIterator & | operator= (const TIterator &other) override |
RooLinkedListIter & | operator= (RooLinkedListIter &&other) |
void | Reset () override |
Public Member Functions inherited from TIterator | |
virtual | ~TIterator () |
virtual Option_t * | GetOption () const |
virtual TClass * | IsA () const |
TObject * | operator() () |
Bool_t | operator== (const TIterator &other) const |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Private Attributes | |
std::shared_ptr< TIterator > | fIterImpl |
Additional Inherited Members | |
Static Public Member Functions inherited from TIterator | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Protected Member Functions inherited from TIterator | |
TIterator () | |
TIterator (const TIterator &) | |
#include <RooLinkedListIter.h>
|
inline |
Definition at line 207 of file RooLinkedListIter.h.
|
delete |
|
inline |
Definition at line 218 of file RooLinkedListIter.h.
|
inlineoverridevirtual |
Implements TIterator.
Definition at line 227 of file RooLinkedListIter.h.
|
inlineoverridevirtual |
Implements TIterator.
Definition at line 229 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 231 of file RooLinkedListIter.h.
|
inlineoverridevirtual |
Return current object or nullptr.
For backward compatibility reasons we have to provide this default implementation.
Reimplemented from TIterator.
Definition at line 232 of file RooLinkedListIter.h.
|
delete |
Implements TIterator.
Definition at line 226 of file RooLinkedListIter.h.
|
inline |
Definition at line 221 of file RooLinkedListIter.h.
|
inlineoverridevirtual |
Implements TIterator.
Definition at line 230 of file RooLinkedListIter.h.
|
private |
Definition at line 235 of file RooLinkedListIter.h.