#ifndef ROOT_TIterator #define ROOT_TIterator //+SEQ,CopyRight,T=NOINCLUDE. ////////////////////////////////////////////////////////////////////////// // // // TIterator // // // // Iterator abstract base class. This base class provides the interface // // for collection iterators. // // // ////////////////////////////////////////////////////////////////////////// #ifndef ROOT_Rtypes //*KEEP,Rtypes. #include "Rtypes.h" //*KEND. #endif class TCollection; class TObject; class TIterator { protected: TIterator() { } TIterator(const TIterator &) { } public: virtual TIterator &operator=(const TIterator &) { return *this; } virtual ~TIterator() { } virtual const TCollection *GetCollection() const = 0; virtual Option_t *GetOption() const { return ""; } virtual TObject *Next() = 0; virtual void Reset() = 0; TObject *operator()() { return Next(); } ClassDef(TIterator,0) //Iterator abstract base class }; #endif