CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 private:
19  oracle::occi::Environment *env;
20  oracle::occi::Connection *con;
21  oracle::occi::Statement *stmt, *stmt1;
22 
23 public:
27  condbon() noexcept(false);
31  ~condbon() noexcept(false);
32  /* time should be given in format like "Fri May 26 16:55:51 2006" */
33  void cdbon_write(CSCobject *obj, std::string obj_name, int record, int global_run, std::string time);
34  void cdbon_last_record(std::string obj_name, int *record);
35  void cdbon_read_rec(std::string obj_name, int record, CSCobject *obj);
36 
37 }; // end of class condbon
38 #endif
condbon() noexcept(false)
Definition: CSCOnlineDB.cc:6
oracle::occi::Statement * stmt
Definition: CSCOnlineDB.h:21
void cdbon_last_record(std::string obj_name, int *record)
Definition: CSCOnlineDB.cc:246
void cdbon_write(CSCobject *obj, std::string obj_name, int record, int global_run, std::string time)
Definition: CSCOnlineDB.cc:25
oracle::occi::Connection * con
Definition: CSCOnlineDB.h:20
oracle::occi::Environment * env
Definition: CSCOnlineDB.h:19
oracle::occi::Statement * stmt1
Definition: CSCOnlineDB.h:21
void cdbon_read_rec(std::string obj_name, int record, CSCobject *obj)
Definition: CSCOnlineDB.cc:266