ROOT » CORE » CONT » TIterator

class TIterator


TIterator

Iterator abstract base class. This base class provides the interface
for collection iterators.


Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~TIterator()
static TClass*Class()
virtual const TCollection*GetCollection() const
virtual Option_t*GetOption() const
virtual TClass*IsA() const
virtual TObject*Next()
virtual Bool_toperator!=(const TIterator&) const
TObject*operator()()
virtual TObject*operator*() const
virtual TIterator&operator=(const TIterator&)
Bool_toperator==(const TIterator& other) const
virtual voidReset()
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
protected:
TIterator()
TIterator(const TIterator&)

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Bool_t operator!=(const TIterator& ) const
 Compare two iterator objects.
 For backward compatibility reasons we have to provide this
 default implementation.
TObject * operator*() const
 Return current object or nullptr.
 For backward compatibility reasons we have to provide this
 default implementation.
TIterator()
{ }
TIterator(const TIterator& )
{ }
TIterator & operator=(const TIterator& )
{ return *this; }
virtual ~TIterator()
{ }
const TCollection * GetCollection() const
Option_t * GetOption() const
{ return ""; }
TObject * Next()
void Reset()
TObject * operator()()
{ return Next(); }
Bool_t operator==(const TIterator& other) const
{ return !(*this != other); }