1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef Utilities_CondDBImport_h
#define Utilities_CondDBImport_h
#include "CondCore/CondDB/interface/Types.h"
#include "CondCore/CondDB/interface/Session.h"
#include <memory>
//
namespace cond {
namespace persistency {
cond::Hash import(Session& source,
const cond::Hash& sourcePayloadId,
const std::string& inputTypeName,
const void* inputPtr,
Session& destination);
std::pair<std::string, std::shared_ptr<void> > fetch(const cond::Hash& payloadId, Session& session);
std::pair<std::string, std::shared_ptr<void> > fetchOne(const std::string& payloadTypeName,
const cond::Binary& data,
const cond::Binary& streamerInfo,
std::shared_ptr<void> payloadPtr);
} // namespace persistency
} // namespace cond
#endif
|