CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 <time.h>
10 #include <stdlib.h>
11 #include <stdio.h>
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 :
29  condbon () throw (oracle::occi::SQLException);
33  ~condbon () throw (oracle::occi::SQLException);
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
JetCorrectorParameters::Record record
Definition: classes.h:11
oracle::occi::Statement * stmt
Definition: CSCOnlineDB.h:23
oracle::occi::SQLException SQLException
Definition: HcalDbOmds.cc:22
void cdbon_last_record(std::string obj_name, int *record)
Definition: CSCOnlineDB.cc:230
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:250