1 #ifndef CondCore_CondDB_IOVEditor_h
2 #define CondCore_CondDB_IOVEditor_h
18 #include <boost/date_time/posix_time/posix_time.hpp>
22 namespace persistency {
36 IOVEditor(
const std::shared_ptr<SessionImpl>& session,
41 const boost::posix_time::ptime& creationTime = boost::posix_time::microsec_clock::universal_time() );
78 bool flush(
const boost::posix_time::ptime& operationTime );
80 bool flush(
const std::string& logText,
const boost::posix_time::ptime& operationTime );
86 std::shared_ptr<IOVEditorData>
m_data;
void checkTransaction(const std::string &ctx)
void load(const std::string &tag)
void setDescription(const std::string &description)
void setLastValidatedTime(cond::Time_t time)
std::shared_ptr< SessionImpl > m_session
std::string description() const
unsigned long long Time_t
IOVEditor & operator=(const IOVEditor &rhs)
cond::SynchronizationType synchronizationType() const
cond::Time_t endOfValidity() const
void insert(cond::Time_t since, const cond::Hash &payloadHash, bool checkType=false)
std::shared_ptr< IOVEditorData > m_data
cond::TimeType timeType() const
cond::Time_t lastValidatedTime() const
void setEndOfValidity(cond::Time_t validity)
std::string payloadType() const