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. More... | |
TObject * | operator* () const override |
Return current object or nullptr. More... | |
RooLinkedListIter & | operator= (const RooLinkedListIter &)=delete |
TIterator & | operator= (const TIterator &other) override |
RooLinkedListIter & | operator= (RooLinkedListIter &&other) |
void | Reset () override |
![]() | |
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. More... | |
TObject * | operator() () |
virtual TObject * | operator* () const |
Return current object or nullptr. More... | |
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) |
Private Attributes | |
std::shared_ptr< TIterator > | fIterImpl |
Additional Inherited Members | |
![]() | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
![]() | |
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.
|
inlineoverridevirtual |
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.