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)
 
virtual const TCollectionGetCollection () const
 
virtual TObjectNext ()
 
TObjectNextNV ()
 
bool operator!= (const RooLinkedListIterImpl &aIter) const
 
bool operator!= (const TIterator &aIter) const
 Compare two iterator objects.
 
virtual TObjectoperator* () const
 Return current object or nullptr.
 
RooLinkedListIterImploperator++ ()
 
RooLinkedListIterImpl operator++ (int)
 
TIteratoroperator= (const TIterator &other)
 
virtual void Reset ()
 
- Public Member Functions inherited from TIterator
virtual ~TIterator ()
 
virtual Option_tGetOption () const
 
TObjectoperator() ()
 
Bool_t operator== (const TIterator &other) const
 

Protected Attributes

bool _forward
 Next link element.
 
const RooLinkedList_list
 
const RooLinkedListElem_ptr
 Collection iterated over.
 

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/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

◆ GetCollection()

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

Implements TIterator.

Definition at line 265 of file RooLinkedListIter.h.

◆ Next()

virtual TObject * RooLinkedListIterImpl::Next ( )
inlinevirtual

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
inlinevirtual

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*()

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 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)
inlinevirtual

Implements TIterator.

Definition at line 251 of file RooLinkedListIter.h.

◆ Reset()

virtual void RooLinkedListIterImpl::Reset ( )
inlinevirtual

Implements TIterator.

Definition at line 283 of file RooLinkedListIter.h.

Member Data Documentation

◆ _forward

bool RooLinkedListIterImpl::_forward
protected

Next link element.

Definition at line 317 of file RooLinkedListIter.h.

◆ _list

const RooLinkedList* RooLinkedListIterImpl::_list
protected

Definition at line 315 of file RooLinkedListIter.h.

◆ _ptr

const RooLinkedListElem* RooLinkedListIterImpl::_ptr
protected

Collection iterated over.

Definition at line 316 of file RooLinkedListIter.h.

Libraries for RooLinkedListIterImpl:

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