CMS 3D CMS Logo

CSCOnlineDB.h
Go to the documentation of this file.
1 #ifndef GUARD_condbon_H
2 #define GUARD_condbon_H
3 
4 #include <cstdlib>
5 #include <iostream>
6 #include <sstream>
8 #include <string>
9 #include <ctime>
10 #include <cstdlib>
11 #include <cstdio>
13 
14 #include <vector>
15 #include <map>
16 
17 class condbon
18 {
19  private:
20 
21  oracle::occi::Environment *env;
22  oracle::occi::Connection *con;
23  oracle::occi::Statement *stmt, *stmt1;
24 
25  public :
33  ~condbon () noexcept(false);
34 /* time should be given in format like "Fri May 26 16:55:51 2006" */
35  void cdbon_write (CSCobject *obj, std::string obj_name, int record,
36  int global_run, std::string time);
37  void cdbon_last_record (std::string obj_name, int *record);
38  void cdbon_read_rec (std::string obj_name, int record, CSCobject *obj);
39 
40  }; // end of class condbon
41 #endif
condbon() noexcept(false)
Definition: CSCOnlineDB.cc:6
JetCorrectorParameters::Record record
Definition: classes.h:7
#define noexcept
oracle::occi::Statement * stmt
Definition: CSCOnlineDB.h:23
void cdbon_last_record(std::string obj_name, int *record)
Definition: CSCOnlineDB.cc:232
void cdbon_write(CSCobject *obj, std::string obj_name, int record, int global_run, std::string time)
Definition: CSCOnlineDB.cc:27
oracle::occi::Connection * con
Definition: CSCOnlineDB.h:22
oracle::occi::Environment * env
Definition: CSCOnlineDB.h:21
oracle::occi::Statement * stmt1
Definition: CSCOnlineDB.h:23
void cdbon_read_rec(std::string obj_name, int record, CSCobject *obj)
Definition: CSCOnlineDB.cc:252