Class Reference for E1039 Core & Analysis Software
PdbCalBankIterator.h
Go to the documentation of this file.
1 #ifndef __PDBCALBANKITERATOR_HH__
2 #define __PDBCALBANKITERATOR_HH__
3 
4 class PdbBankID;
5 class PdbCalBank;
6 
7 #include <phool/PHTimeStamp.h>
8 
9 #include <iostream>
10 
12 {
13 public:
14  virtual ~PdbCalBankIterator();
15 
16  virtual bool init(const std::string &fulldbname, const PdbBankID& bankid) = 0;
17 
18  virtual bool isValid() const = 0;
19 
20  virtual void print(std::ostream& os = std::cout) const = 0;
21 
22  virtual void setBankID(const PdbBankID& id) = 0;
23 
24  virtual void setEndValTimeLimits
25  (const PHTimeStamp& min = PHTimeStamp(0),
27 
28  virtual void setInsertTimeLimits
29  (const PHTimeStamp& min = PHTimeStamp(0),
31 
32  virtual void setStartValTimeLimits
33  (const PHTimeStamp& min = PHTimeStamp(0),
35 
36  virtual PdbCalBank* next() = 0;
37 };
38 
39 #endif
virtual bool isValid() const =0
virtual bool init(const std::string &fulldbname, const PdbBankID &bankid)=0
virtual PdbCalBank * next()=0
virtual void print(std::ostream &os=std::cout) const =0
virtual void setStartValTimeLimits(const PHTimeStamp &min=PHTimeStamp(0), const PHTimeStamp &max=PHTimeStamp(PHTimeStamp::PHFarFuture))=0
virtual void setInsertTimeLimits(const PHTimeStamp &min=PHTimeStamp(0), const PHTimeStamp &max=PHTimeStamp(PHTimeStamp::PHFarFuture))=0
virtual void setEndValTimeLimits(const PHTimeStamp &min=PHTimeStamp(0), const PHTimeStamp &max=PHTimeStamp(PHTimeStamp::PHFarFuture))=0
virtual void setBankID(const PdbBankID &id)=0