test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CondDBTools.h
Go to the documentation of this file.
1 #ifndef Utilities_CondDBTools_h
2 #define Utilities_CondDBTools_h
3 
5 //
6 #include <string>
7 
8 namespace cond {
9 
10  namespace persistency {
11 
12  class Session;
13 
14  typedef enum { NEW=0, UPDATE, REPLACE } UpdatePolicy;
15 
16  size_t copyTag( const std::string& sourceTag,
17  Session& sourceSession,
18  const std::string& destTag,
19  Session& destSession,
20  UpdatePolicy policy,
21  bool log );
22 
23 
24  size_t importIovs( const std::string& sourceTag,
25  Session& sourceSession,
26  const std::string& destTag,
27  Session& destSession,
30  const std::string& description,
31  bool log );
32 
33  bool copyIov( Session& session,
34  const std::string& sourceTag,
35  const std::string& destTag,
36  cond::Time_t souceSince,
37  cond::Time_t destSince,
38  const std::string& description,
39  bool log );
40 
41  }
42 
43 }
44 
45 #endif
size_t importIovs(const std::string &sourceTag, Session &sourceSession, const std::string &destTag, Session &destSession, cond::Time_t begin, cond::Time_t end, const std::string &description, bool log)
Definition: CondDBTools.cc:85
size_t copyTag(const std::string &sourceTag, Session &sourceSession, const std::string &destTag, Session &destSession, UpdatePolicy policy, bool log)
Definition: CondDBTools.cc:15
unsigned long long Time_t
Definition: Time.h:16
#define end
Definition: vmac.h:37
bool copyIov(Session &session, const std::string &sourceTag, const std::string &destTag, cond::Time_t souceSince, cond::Time_t destSince, const std::string &description, bool log)
Definition: CondDBTools.cc:163
tuple description
Definition: idDealer.py:66
#define begin
Definition: vmac.h:30
session
Definition: models.py:201