CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SQLReport.h
Go to the documentation of this file.
1 #ifndef CondCoreDBCommon_SQLReport_H
2 #define CondCoreDBCommon_SQLReport_H
3 #include <string>
4 #include <sstream>
6 
7 namespace cond {
8 
9  class DbConnection;
10 
11  class SQLReport {
12 
13  public:
14 
15  explicit SQLReport(DbConnection& connection);
16 
17  virtual ~SQLReport(){}
18 
20 
22 
23  private:
24 
25  SQLReport();
26 
28 
29  std::stringstream m_report;
30 
31  };
32 }
33 
34 inline
35 cond::SQLReport::SQLReport(DbConnection& connection):m_connection(connection),m_report(){
36 }
37 
38 #endif // CondCoreDBCommon_SQLReport_H
39 
40 
std::stringstream m_report
Definition: SQLReport.h:29
DbConnection m_connection
Definition: SQLReport.h:27
virtual ~SQLReport()
Definition: SQLReport.h:17
void reportForConnection(const std::string &connectionString)
Definition: SQLReport.cc:8
string connectionString
Definition: autoCondHLT.py:4
bool putOnFile(std::string fileName=std::string(""))
Definition: SQLReport.cc:13