Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | Protected Attributes | List of all members
RooLinkedListIterImpl Class Referencefinal

Implementation of the actual iterator on RooLinkedLists.

Definition at line 232 of file RooLinkedListIter.h.

Public Member Functions

 RooLinkedListIterImpl ()
 
 RooLinkedListIterImpl (const RooLinkedList *list, Bool_t forward)
 
 RooLinkedListIterImpl (const RooLinkedListIterImpl &other)
 
virtual ~RooLinkedListIterImpl ()
 
virtual const TCollectionGetCollection () const
 
virtual TObjectNext ()
 
TObjectNextNV ()
 
bool operator!= (const RooLinkedListIterImpl &aIter) const
 
bool operator!= (const TIterator &aIter) const
 Compare two iterator objects. More...
 
virtual TObjectoperator* () const
 Return current object or nullptr. More...
 
TIteratoroperator= (const TIterator &other)
 
virtual void Reset ()
 
- Public Member Functions inherited from TIterator
virtual ~TIterator ()
 
virtual const TCollectionGetCollection () const =0
 
virtual Option_tGetOption () const
 
virtual TObjectNext ()=0
 
virtual Bool_t operator!= (const TIterator &) const
 Compare two iterator objects. More...
 
TObjectoperator() ()
 
virtual TObjectoperator* () const
 Return current object or nullptr. More...
 
virtual TIteratoroperator= (const TIterator &)
 
Bool_t operator== (const TIterator &other) const
 
virtual void Reset ()=0
 

Protected Attributes

Bool_t _forward
 Next link element. More...
 
const RooLinkedList_list
 
const RooLinkedListElem_ptr
 Collection iterated over. More...
 

Additional Inherited Members

- Protected Member Functions inherited from TIterator
 TIterator ()
 
 TIterator (const TIterator &)
 

#include <RooLinkedListIter.h>

Inheritance diagram for RooLinkedListIterImpl:
[legend]

Constructor & Destructor Documentation

◆ RooLinkedListIterImpl() [1/3]

RooLinkedListIterImpl::RooLinkedListIterImpl ( )
inline

Definition at line 235 of file RooLinkedListIter.h.

◆ RooLinkedListIterImpl() [2/3]

RooLinkedListIterImpl::RooLinkedListIterImpl ( const RooLinkedList list,
Bool_t  forward 
)
inline

Definition at line 240 of file RooLinkedListIter.h.

◆ RooLinkedListIterImpl() [3/3]

RooLinkedListIterImpl::RooLinkedListIterImpl ( const RooLinkedListIterImpl other)
inline

Definition at line 245 of file RooLinkedListIter.h.

◆ ~RooLinkedListIterImpl()

virtual RooLinkedListIterImpl::~RooLinkedListIterImpl ( )
inlinevirtual

Definition at line 252 of file RooLinkedListIter.h.

Member Function Documentation

◆ GetCollection()

virtual const TCollection * RooLinkedListIterImpl::GetCollection ( ) const
inlinevirtual

Implements TIterator.

Definition at line 268 of file RooLinkedListIter.h.

◆ Next()

virtual TObject * RooLinkedListIterImpl::Next ( )
inlinevirtual

Implements TIterator.

Definition at line 273 of file RooLinkedListIter.h.

◆ NextNV()

TObject * RooLinkedListIterImpl::NextNV ( )
inline

Definition at line 281 of file RooLinkedListIter.h.

◆ operator!=() [1/2]

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

Definition at line 301 of file RooLinkedListIter.h.

◆ operator!=() [2/2]

bool RooLinkedListIterImpl::operator!= ( const TIterator ) const
inlinevirtual

Compare two iterator objects.

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

Reimplemented from TIterator.

Definition at line 295 of file RooLinkedListIter.h.

◆ operator*()

virtual TObject * RooLinkedListIterImpl::operator* ( ) const
inlinevirtual

Return current object or nullptr.

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

Reimplemented from TIterator.

Definition at line 305 of file RooLinkedListIter.h.

◆ operator=()

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

Reimplemented from TIterator.

Definition at line 254 of file RooLinkedListIter.h.

◆ Reset()

virtual void RooLinkedListIterImpl::Reset ( void  )
inlinevirtual

Implements TIterator.

Definition at line 290 of file RooLinkedListIter.h.

Member Data Documentation

◆ _forward

Bool_t RooLinkedListIterImpl::_forward
protected

Next link element.

Definition at line 313 of file RooLinkedListIter.h.

◆ _list

const RooLinkedList* RooLinkedListIterImpl::_list
protected

Definition at line 311 of file RooLinkedListIter.h.

◆ _ptr

const RooLinkedListElem* RooLinkedListIterImpl::_ptr
protected

Collection iterated over.

Definition at line 312 of file RooLinkedListIter.h.


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