Loading [MathJax]/extensions/MathMenu.js
Logo ROOT  
Reference Guide
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
TListOfFunctionsIter Class Reference

Iterator for TListOfFunctions.

Definition at line 113 of file TListOfFunctions.h.

Public Member Functions

 TListOfFunctionsIter (const TListOfFunctions *l, Bool_t dir=kIterForward)
 
TObjectNext ()
 Return next object in the list. Returns 0 when no more objects in list. More...
 
TIteratoroperator= (const TIterator &rhs)
 Overridden assignment operator. More...
 
TListIteroperator= (const TListIter &rhs)
 Overloaded assignment operator. More...
 
- Public Member Functions inherited from TListIter
 TListIter (const TList *l, Bool_t dir=kIterForward)
 Create a new list iterator. More...
 
 TListIter (const TListIter &iter)
 Copy ctor. More...
 
 ~TListIter ()
 
const TCollectionGetCollection () const
 
Option_tGetOption () const
 Returns the object option stored in the list. More...
 
TObjectNext ()
 Return next object in the list. Returns 0 when no more objects in list. More...
 
Bool_t operator!= (const TIterator &aIter) const
 This operator compares two TIterator objects. More...
 
Bool_t operator!= (const TListIter &aIter) const
 This operator compares two TListIter objects. More...
 
TObjectoperator* () const
 Return current object or nullptr. More...
 
TIteratoroperator= (const TIterator &rhs)
 Overridden assignment operator. More...
 
TListIteroperator= (const TListIter &rhs)
 Overloaded assignment operator. More...
 
void Reset ()
 Reset list iterator. More...
 
void SetOption (Option_t *option)
 Sets the object option stored in the list. More...
 
- 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
 

Additional Inherited Members

- Protected Types inherited from TListIter
using TObjLinkPtr_t = std::shared_ptr< TObjLink >
 
- Protected Member Functions inherited from TListIter
 TListIter ()
 
- Protected Member Functions inherited from TIterator
 TIterator ()
 
 TIterator (const TIterator &)
 
- Protected Attributes inherited from TListIter
TObjLinkPtr_t fCurCursor
 
TObjLinkPtr_t fCursor
 
Bool_t fDirection
 
const TListfList
 
Bool_t fStarted
 

#include <TListOfFunctions.h>

Inheritance diagram for TListOfFunctionsIter:
[legend]

Constructor & Destructor Documentation

◆ TListOfFunctionsIter()

TListOfFunctionsIter::TListOfFunctionsIter ( const TListOfFunctions l,
Bool_t  dir = kIterForward 
)

Definition at line 555 of file TListOfFunctions.cxx.

Member Function Documentation

◆ Next()

TObject * TListOfFunctionsIter::Next ( )
virtual

Return next object in the list. Returns 0 when no more objects in list.

Reimplemented from TListIter.

Definition at line 560 of file TListOfFunctions.cxx.

◆ operator=() [1/2]

TIterator & TListIter::operator= ( const TIterator rhs)
virtual

Overridden assignment operator.

Reimplemented from TListIter.

Definition at line 218 of file TList.cxx.

◆ operator=() [2/2]

TListIter & TListIter::operator= ( const TListIter rhs)

Overloaded assignment operator.

Definition at line 219 of file TList.cxx.


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