#ifndef HLINEARCATITER_H
#define HLINEARCATITER_H

#include "hiterator.h"
#include "hlinearcategory.h"

class HLinearCatIter : public HIterator {
private:
  HLinearCatIter(void);
protected:
  HLocation fCurrentLoc; //Current location in the category
  TIterator *fIterator; //! Iterator
  TClonesArray *fArray; //array being iterated
  TObject *fCurrent; //Current object
  Bool_t fLast,fLocated; //Iteration finished?
  Bool_t fDir;
  
public:
  HLinearCatIter(HLinearCategory *cat,Bool_t dir=kIterForward);
  virtual ~HLinearCatIter(void);
  TCollection *GetCollection(void) const;
  TObject *Next(void);
  void Reset(void);
  Bool_t gotoLocation(HLocation &loc);
  HLocation &getLocation(void);
  ClassDef(HLinearCatIter,1) //Iterator for a HMatrixCategory
};

#endif /* !HLINEARCATITER_H */

Last change: Sat May 22 12:58:56 2010
Last generated: 2010-05-22 12:58

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.