CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LMFIOV.h
Go to the documentation of this file.
1 #ifndef LMFIOV_H
2 #define LMFIOV_H
3 
4 /*
5  Last updated by Giovanni.Organtini@roma1.infn.it 2010
6  */
7 
8 #include <string>
9 #include <stdexcept>
10 
13 
17 class LMFIOV : public LMFUnique {
18  public:
19  friend class EcalCondDBInterface; // need permission to write
20 
21  LMFIOV();
23  LMFIOV(const oracle::occi::Environment* env,
24  const oracle::occi::Connection* conn);
25  ~LMFIOV();
26 
27  LMFIOV& setStart(const Tm &start);
28  LMFIOV& setStop(const Tm &stop);
29  LMFIOV& setIOV(const Tm &start, const Tm &stop);
30  LMFIOV& setVmin(int vmin);
31  LMFIOV& setVmax(int vmax);
32  LMFIOV& setVersions(int vmin, int vmax);
33 
34  Tm getStart() const;
35  Tm getStop() const;
36  int getVmin() const;
37  int getVmax() const;
38 
39  void dump() const;
40 
41  private:
42  // Methods from LMFUnique
45  // std::string fetchAllSql(Statement *stmt) const;
47  int id);
48 
49  void getParameters(ResultSet *rset);
50  void fetchParentIDs() {}
51  LMFUnique * createObject() const;
52 
55  int m_vmin;
56  int m_vmax;
57 
58 };
59 
60 #endif
tuple start
Check for commandline option errors.
Definition: dqm_diff.py:58
void getParameters(ResultSet *rset)
Definition: LMFIOV.cc:106
int m_vmax
Definition: LMFIOV.h:56
LMFIOV & setVmin(int vmin)
Definition: LMFIOV.cc:52
LMFIOV & setStop(const Tm &stop)
Definition: LMFIOV.cc:42
oracle::occi::ResultSet ResultSet
Definition: LMFUnique.h:19
LMFIOV & setVersions(int vmin, int vmax)
Definition: LMFIOV.cc:62
void fetchParentIDs()
Definition: LMFIOV.h:50
LMFIOV & setVmax(int vmax)
Definition: LMFIOV.cc:57
int getVmin() const
Definition: LMFIOV.cc:75
oracle::occi::Statement Statement
Definition: LMFUnique.h:20
Tm m_iov_start
Definition: LMFIOV.h:53
LMFIOV & setStart(const Tm &start)
Definition: LMFIOV.cc:37
std::string setByIDSql(Statement *stmt, int id)
Definition: LMFIOV.cc:96
Definition: LMFIOV.h:17
int getVmax() const
Definition: LMFIOV.cc:79
LMFIOV & setIOV(const Tm &start, const Tm &stop)
Definition: LMFIOV.cc:47
Tm getStop() const
Definition: LMFIOV.cc:71
~LMFIOV()
Definition: LMFIOV.cc:33
oracle::occi::Statement * stmt
Tm m_iov_stop
Definition: LMFIOV.h:54
Tm getStart() const
Definition: LMFIOV.cc:67
LMFUnique * createObject() const
Definition: LMFIOV.cc:116
std::string writeDBSql(Statement *stmt)
Definition: LMFIOV.cc:131
void dump() const
Definition: LMFIOV.cc:122
std::string fetchIdSql(Statement *stmt)
Definition: LMFIOV.cc:83
LMFIOV()
Definition: LMFIOV.cc:6
Definition: Tm.h:14
tuple conn
Definition: results_mgr.py:53
int m_vmin
Definition: LMFIOV.h:55