Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
RooLinkedListIterImpl Class Referencefinal

Implementation of the actual iterator on RooLinkedLists.

Definition at line 242 of file RooLinkedListIter.h.

Public Member Functions

 RooLinkedListIterImpl (const RooLinkedList *list, bool forward)
 RooLinkedListIterImpl (const RooLinkedList *list, const RooLinkedListElem *ptr, bool forward)
const TCollectionGetCollection () const override
virtual Option_tGetOption () const
virtual TClassIsA () const
TObjectNext () override
TObjectNextNV ()
bool operator!= (const RooLinkedListIterImpl &aIter) const
bool operator!= (const TIterator &aIter) const override
 Compare two iterator objects.
TObjectoperator() ()
TObjectoperator* () const override
 Return current object or nullptr.
RooLinkedListIterImploperator++ ()
RooLinkedListIterImpl operator++ (int)
TIteratoroperator= (const TIterator &other) override
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 TClassClass ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static const char * DeclFileName ()

Protected Attributes

bool _forward
 ! Iterator direction
const RooLinkedList_list
 ! Collection iterated over
const RooLinkedListElem_ptr
 ! Next link element

#include <RooLinkedListIter.h>

Inheritance diagram for RooLinkedListIterImpl:
TIterator

Constructor & Destructor Documentation

◆ RooLinkedListIterImpl() [1/2]

RooLinkedListIterImpl::RooLinkedListIterImpl ( const RooLinkedList * list,
const RooLinkedListElem * ptr,
bool forward )
inline

Definition at line 245 of file RooLinkedListIter.h.

◆ RooLinkedListIterImpl() [2/2]

RooLinkedListIterImpl::RooLinkedListIterImpl ( const RooLinkedList * list,
bool forward )
inline

Definition at line 248 of file RooLinkedListIter.h.

Member Function Documentation

◆ Class()

TClass * TIterator::Class ( )
staticinherited
Returns
TClass describing this class

◆ Class_Name()

const char * TIterator::Class_Name ( )
staticinherited
Returns
Name of this class

◆ Class_Version()

constexpr Version_t TIterator::Class_Version ( )
inlinestaticconstexprinherited
Returns
Version of this class

Definition at line 48 of file TIterator.h.

◆ DeclFileName()

const char * TIterator::DeclFileName ( )
inlinestaticinherited
Returns
Name of the file containing the class declaration

Definition at line 48 of file TIterator.h.

◆ GetCollection()

const TCollection * RooLinkedListIterImpl::GetCollection ( ) const
inlineoverridevirtual

Implements TIterator.

Definition at line 265 of file RooLinkedListIter.h.

◆ GetOption()

virtual Option_t * TIterator::GetOption ( ) const
inlinevirtualinherited

Reimplemented in TListIter, and TTreeFriendLeafIter.

Definition at line 40 of file TIterator.h.

◆ IsA()

virtual TClass * TIterator::IsA ( ) const
inlinevirtualinherited

◆ Next()

TObject * RooLinkedListIterImpl::Next ( )
inlineoverridevirtual

Implements TIterator.

Definition at line 270 of file RooLinkedListIter.h.

◆ NextNV()

TObject * RooLinkedListIterImpl::NextNV ( )
inline

Definition at line 275 of file RooLinkedListIter.h.

◆ operator!=() [1/2]

bool RooLinkedListIterImpl::operator!= ( const RooLinkedListIterImpl & aIter) const
inline

Definition at line 294 of file RooLinkedListIter.h.

◆ operator!=() [2/2]

bool RooLinkedListIterImpl::operator!= ( const TIterator & ) const
inlineoverridevirtual

Compare two iterator objects.

For backward compatibility reasons we have to provide this default implementation.

Reimplemented from TIterator.

Definition at line 288 of file RooLinkedListIter.h.

◆ operator()()

TObject * TIterator::operator() ( )
inlineinherited

Definition at line 43 of file TIterator.h.

◆ operator*()

TObject * RooLinkedListIterImpl::operator* ( ) const
inlineoverridevirtual

Return current object or nullptr.

For backward compatibility reasons we have to provide this default implementation.

Reimplemented from TIterator.

Definition at line 298 of file RooLinkedListIter.h.

◆ operator++() [1/2]

RooLinkedListIterImpl & RooLinkedListIterImpl::operator++ ( )
inline

Definition at line 303 of file RooLinkedListIter.h.

◆ operator++() [2/2]

RooLinkedListIterImpl RooLinkedListIterImpl::operator++ ( int )
inline

Definition at line 308 of file RooLinkedListIter.h.

◆ operator=()

TIterator & RooLinkedListIterImpl::operator= ( const TIterator & other)
inlineoverridevirtual

Implements TIterator.

Definition at line 251 of file RooLinkedListIter.h.

◆ operator==()

Bool_t TIterator::operator== ( const TIterator & other) const
inlineinherited

Definition at line 45 of file TIterator.h.

◆ Reset()

void RooLinkedListIterImpl::Reset ( )
inlineoverridevirtual

Implements TIterator.

Definition at line 283 of file RooLinkedListIter.h.

◆ Streamer()

◆ StreamerNVirtual()

void TIterator::StreamerNVirtual ( TBuffer & ClassDef_StreamerNVirtual_b)
inlineinherited

Definition at line 48 of file TIterator.h.

Member Data Documentation

◆ _forward

bool RooLinkedListIterImpl::_forward
protected

! Iterator direction

Definition at line 317 of file RooLinkedListIter.h.

◆ _list

const RooLinkedList* RooLinkedListIterImpl::_list
protected

! Collection iterated over

Definition at line 315 of file RooLinkedListIter.h.

◆ _ptr

const RooLinkedListElem* RooLinkedListIterImpl::_ptr
protected

! Next link element

Definition at line 316 of file RooLinkedListIter.h.


The documentation for this class was generated from the following file: