Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PgPostBankBackupLog.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PgPostBankBackupLog.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 // $Id: PgPostBankBackupLog.hh,v 1.2 2014/05/19 17:06:23 jinhuang Exp $
4 
13 #ifndef PDBCALPG_PGPOSTBANKBACKUPLOG_H
14 #define PDBCALPG_PGPOSTBANKBACKUPLOG_H
15 
16 #include <string>
17 
18 class TSQLConnection;
20 
25 {
26  public:
27  PgPostBankBackupLog(const std::string& TableName, const std::string& Tag);
28  virtual ~PgPostBankBackupLog();
29 
30  public:
32  virtual void
33  Verbosity(const int ival)
34  {
35  verbosity = ival;
36  }
37 
39  virtual int
40  Verbosity() const
41  {
42  return verbosity;
43  }
44 
45  enum enu_ops
46  {
48  kOptFailed = -1,
51 
52  kOptNull = 0,
53 
56 
60 
62  kOptDump = 30,
63 
65  kOptDelete = 100
66  };
67 
69  void
70  Init();
71 
73  void
74  Log(const int rid, const enu_ops ops);
75 
76  protected:
78  int verbosity;
79 
82 
85 
87 };
88 
89 #endif /* PDBCAL_PG_PGPOSTBANKBACKUPLOG_H */