1 #ifndef CondCore_CondDB_RunInfoEditor_h 2 #define CondCore_CondDB_RunInfoEditor_h 18 #include <boost/date_time/posix_time/posix_time.hpp> 22 namespace persistency {
25 class RunInfoEditorData;
32 explicit RunInfoEditor(
const std::shared_ptr<SessionImpl>& session);
51 const boost::posix_time::ptime&
start,
52 const boost::posix_time::ptime& end);
61 std::shared_ptr<RunInfoEditorData>
m_data;
void insert(cond::Time_t runNumber, const boost::posix_time::ptime &start, const boost::posix_time::ptime &end)
void insertNew(cond::Time_t runNumber, const boost::posix_time::ptime &start, const boost::posix_time::ptime &end)
RunInfoEditor & operator=(const RunInfoEditor &rhs)
unsigned long long Time_t
void checkTransaction(const std::string &ctx)
std::shared_ptr< RunInfoEditorData > m_data
std::shared_ptr< SessionImpl > m_session
cond::Time_t getLastInserted()