#include <RunInfoEditor.h>
Public Member Functions | |
size_t | flush () |
cond::Time_t | getLastInserted () |
void | init () |
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) |
RunInfoEditor () | |
RunInfoEditor (const std::shared_ptr< SessionImpl > &session) | |
RunInfoEditor (const RunInfoEditor &rhs) | |
Private Member Functions | |
void | checkTransaction (const std::string &ctx) |
Private Attributes | |
std::shared_ptr< RunInfoEditorData > | m_data |
std::shared_ptr< SessionImpl > | m_session |
Definition at line 28 of file RunInfoEditor.h.
RunInfoEditor::RunInfoEditor | ( | ) |
Definition at line 22 of file RunInfoEditor.cc.
|
explicit |
Definition at line 27 of file RunInfoEditor.cc.
RunInfoEditor::RunInfoEditor | ( | const RunInfoEditor & | rhs | ) |
Definition at line 33 of file RunInfoEditor.cc.
|
private |
Definition at line 107 of file RunInfoEditor.cc.
References m_session, and cond::persistency::throwException().
Referenced by flush(), getLastInserted(), and init().
size_t RunInfoEditor::flush | ( | ) |
Definition at line 67 of file RunInfoEditor.cc.
References checkTransaction(), m_data, m_session, mps_check::msg, cond::persistency::throwException(), and update.
Referenced by RunInfoUpdate::appendNewRun(), and RunInfoUpdate::import().
cond::Time_t RunInfoEditor::getLastInserted | ( | ) |
Definition at line 51 of file RunInfoEditor.cc.
References checkTransaction(), m_data, m_session, and cond::time::MIN_VAL().
Referenced by RunInfoUpdate::import().
void RunInfoEditor::init | ( | void | ) |
Definition at line 44 of file RunInfoEditor.cc.
References checkTransaction(), m_data, and m_session.
Referenced by cond::persistency::Session::editRunInfo().
void RunInfoEditor::insert | ( | cond::Time_t | runNumber, |
const boost::posix_time::ptime & | start, | ||
const boost::posix_time::ptime & | end | ||
) |
Definition at line 59 of file RunInfoEditor.cc.
References m_data.
Referenced by BeautifulSoup.PageElement::append(), and RunInfoUpdate::import().
void RunInfoEditor::insertNew | ( | cond::Time_t | runNumber, |
const boost::posix_time::ptime & | start, | ||
const boost::posix_time::ptime & | end | ||
) |
Definition at line 63 of file RunInfoEditor.cc.
References m_data.
Referenced by RunInfoUpdate::appendNewRun().
RunInfoEditor & RunInfoEditor::operator= | ( | const RunInfoEditor & | rhs | ) |
Definition at line 38 of file RunInfoEditor.cc.
References m_data, and m_session.
|
private |
Definition at line 60 of file RunInfoEditor.h.
Referenced by flush(), getLastInserted(), init(), insert(), insertNew(), and operator=().
|
private |
Definition at line 61 of file RunInfoEditor.h.
Referenced by checkTransaction(), flush(), getLastInserted(), init(), and operator=().