Go to the documentation of this file. 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 {
32 explicit IOVEditor(
const std::shared_ptr<SessionImpl>& session);
35 IOVEditor(
const std::shared_ptr<SessionImpl>& session,
40 const boost::posix_time::ptime&
creationTime = boost::posix_time::microsec_clock::universal_time());
77 const boost::posix_time::ptime& insertionTime,
85 bool flush(
const boost::posix_time::ptime& operationTime);
94 bool flush(
const std::string& logText,
const boost::posix_time::ptime& operationTime,
bool forceInsertion);
98 std::shared_ptr<IOVEditorData>
m_data;
void insert(cond::Time_t since, const cond::Hash &payloadHash, bool checkType=false)
void setLastValidatedTime(cond::Time_t time)
std::shared_ptr< SessionImpl > m_session
std::shared_ptr< IOVEditorData > m_data
void setDescription(const std::string &description)
cond::TimeType timeType() const
std::string description() const
cond::SynchronizationType synchronizationType() const
unsigned long long Time_t
cond::Time_t lastValidatedTime() const
std::string payloadType() const
void setSynchronizationType(cond::SynchronizationType synchronizationType)
void checkTransaction(const std::string &ctx)
void setEndOfValidity(cond::Time_t validity)
IOVEditor & operator=(const IOVEditor &rhs)
void erase(cond::Time_t since, const cond::Hash &payloadHash)
cond::Time_t endOfValidity() const
void load(const std::string &tag)