#include <GTEditor.h>
Public Member Functions | |
std::string | description () const |
bool | flush () |
bool | flush (const boost::posix_time::ptime &operationTime) |
GTEditor () | |
GTEditor (const std::shared_ptr< SessionImpl > &session) | |
GTEditor (const std::shared_ptr< SessionImpl > &session, const std::string >Name) | |
GTEditor (const GTEditor &rhs) | |
void | insert (const std::string &recordName, const std::string &tagName, bool checkType=false) |
void | insert (const std::string &recordName, const std::string &recordLabel, const std::string &tagName, bool checkType=false) |
void | load (const std::string >Name) |
std::string | name () const |
GTEditor & | operator= (const GTEditor &rhs) |
std::string | release () const |
void | setDescription (const std::string &description) |
void | setRelease (const std::string &release) |
void | setSnapshotTime (const boost::posix_time::ptime &snapshotTime) |
void | setValidity (cond::Time_t validity) |
boost::posix_time::ptime | snapshotTime () const |
cond::Time_t | validity () const |
Private Member Functions | |
void | checkTransaction (const std::string &ctx) |
Private Attributes | |
std::shared_ptr< GTEditorData > | m_data |
std::shared_ptr< SessionImpl > | m_session |
Definition at line 28 of file GTEditor.h.
GTEditor::GTEditor | ( | ) |
Definition at line 31 of file GTEditor.cc.
|
explicit |
Definition at line 36 of file GTEditor.cc.
GTEditor::GTEditor | ( | const std::shared_ptr< SessionImpl > & | session, |
const std::string & | gtName | ||
) |
Definition at line 41 of file GTEditor.cc.
References m_data.
GTEditor::GTEditor | ( | const GTEditor & | rhs | ) |
Definition at line 49 of file GTEditor.cc.
|
private |
Definition at line 169 of file GTEditor.cc.
References m_session, and cond::persistency::throwException().
Referenced by flush(), and load().
std::string GTEditor::description | ( | ) | const |
bool GTEditor::flush | ( | ) |
Definition at line 164 of file GTEditor.cc.
bool GTEditor::flush | ( | const boost::posix_time::ptime & | operationTime | ) |
Definition at line 136 of file GTEditor.cc.
References checkTransaction(), m_data, m_session, and cond::persistency::throwException().
void GTEditor::insert | ( | const std::string & | recordName, |
const std::string & | tagName, | ||
bool | checkType = false |
||
) |
Definition at line 120 of file GTEditor.cc.
Referenced by BeautifulSoup.PageElement::append().
void GTEditor::insert | ( | const std::string & | recordName, |
const std::string & | recordLabel, | ||
const std::string & | tagName, | ||
bool | checkType = false |
||
) |
Definition at line 124 of file GTEditor.cc.
References m_data, candidateCombinedSecondaryVertexSoftLeptonCvsLComputer_cfi::recordLabel, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by BeautifulSoup.PageElement::append().
void GTEditor::load | ( | const std::string & | gtName | ) |
Definition at line 60 of file GTEditor.cc.
References checkTransaction(), m_data, m_session, and cond::persistency::throwException().
Referenced by cond::persistency::Session::editGlobalTag(), MatrixToProcess.MatrixToProcess::getProcess(), MatrixToProcess.MatrixToProcess::listAll(), and ConfigBuilder.ConfigBuilder::prepare_FILTER().
std::string GTEditor::name | ( | ) | const |
Definition at line 72 of file GTEditor.cc.
References m_data.
Referenced by config.CFG::__str__(), validation.Sample::digest(), VIDSelectorBase.VIDSelectorBase::initialize(), and Vispa.Views.PropertyView.Property::valueChanged().
Definition at line 54 of file GTEditor.cc.
References m_data, and m_session.
std::string GTEditor::release | ( | ) | const |
void GTEditor::setDescription | ( | const std::string & | description | ) |
void GTEditor::setRelease | ( | const std::string & | release | ) |
void GTEditor::setSnapshotTime | ( | const boost::posix_time::ptime & | snapshotTime | ) |
Definition at line 113 of file GTEditor.cc.
References m_data, and snapshotTime().
void GTEditor::setValidity | ( | cond::Time_t | validity | ) |
boost::posix_time::ptime GTEditor::snapshotTime | ( | ) | const |
cond::Time_t GTEditor::validity | ( | ) | const |
Definition at line 76 of file GTEditor.cc.
References m_data, and cond::time::MIN_VAL().
Referenced by setValidity().
|
private |
Definition at line 78 of file GTEditor.h.
Referenced by description(), flush(), GTEditor(), insert(), load(), name(), operator=(), release(), setDescription(), setRelease(), setSnapshotTime(), setValidity(), snapshotTime(), and validity().
|
private |
Definition at line 79 of file GTEditor.h.
Referenced by checkTransaction(), flush(), load(), and operator=().