Logo ROOT   6.14/05
Reference Guide
List of all members | Public Member Functions | Protected Attributes | List of all members
RooLinkedListIter Class Reference

RooLinkedListIter is the TIterator implementation for RooLinkedList.

Definition at line 43 of file RooLinkedListIter.h.

Public Member Functions

 RooLinkedListIter ()
 
 RooLinkedListIter (const RooLinkedList *list, Bool_t forward)
 
 RooLinkedListIter (const RooLinkedListIter &other)
 
virtual ~RooLinkedListIter ()
 
virtual const TCollectionGetCollection () const
 
virtual TObjectNext ()
 
TObjectNextNV ()
 
bool operator!= (const TIterator &aIter) const
 Compare two iterator objects. More...
 
bool operator!= (const RooLinkedListIter &aIter) const
 
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 Option_tGetOption () const
 
TObjectoperator() ()
 
Bool_t operator== (const TIterator &other) const
 

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 RooLinkedListIter:
[legend]

Constructor & Destructor Documentation

◆ RooLinkedListIter() [1/3]

RooLinkedListIter::RooLinkedListIter ( )
inline

Definition at line 46 of file RooLinkedListIter.h.

◆ RooLinkedListIter() [2/3]

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

Definition at line 51 of file RooLinkedListIter.h.

◆ RooLinkedListIter() [3/3]

RooLinkedListIter::RooLinkedListIter ( const RooLinkedListIter other)
inline

Definition at line 56 of file RooLinkedListIter.h.

◆ ~RooLinkedListIter()

virtual RooLinkedListIter::~RooLinkedListIter ( )
inlinevirtual

Definition at line 63 of file RooLinkedListIter.h.

Member Function Documentation

◆ GetCollection()

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

Implements TIterator.

Definition at line 79 of file RooLinkedListIter.h.

◆ Next()

virtual TObject* RooLinkedListIter::Next ( )
inlinevirtual

Implements TIterator.

Definition at line 84 of file RooLinkedListIter.h.

◆ NextNV()

TObject* RooLinkedListIter::NextNV ( )
inline

Definition at line 92 of file RooLinkedListIter.h.

◆ operator!=() [1/2]

bool RooLinkedListIter::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 106 of file RooLinkedListIter.h.

◆ operator!=() [2/2]

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

Definition at line 112 of file RooLinkedListIter.h.

◆ operator*()

virtual TObject* RooLinkedListIter::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 116 of file RooLinkedListIter.h.

◆ operator=()

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

Reimplemented from TIterator.

Definition at line 65 of file RooLinkedListIter.h.

◆ Reset()

virtual void RooLinkedListIter::Reset ( void  )
inlinevirtual

Implements TIterator.

Definition at line 101 of file RooLinkedListIter.h.

Member Data Documentation

◆ _forward

Bool_t RooLinkedListIter::_forward
protected

Next link element.

Definition at line 124 of file RooLinkedListIter.h.

◆ _list

const RooLinkedList* RooLinkedListIter::_list
protected

Definition at line 122 of file RooLinkedListIter.h.

◆ _ptr

const RooLinkedListElem* RooLinkedListIter::_ptr
protected

Collection iterated over.

Definition at line 123 of file RooLinkedListIter.h.

Libraries for RooLinkedListIter:
[legend]

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