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 booloperator!=(const TIterator&) const
TObject*operator()()
virtual TObject*operator*() const
virtual TIterator&operator=(const TIterator&)
virtual voidReset()
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

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

Author: Fons Rademakers 13/08/95
Last change: root/cont:$Id: TIterator.h 23212 2008-04-14 15:30:20Z rdm $
Last generated: 2008-06-25 08:47
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.