#include <MetaData.h>
Public Member Functions | |
bool | addMapping (const std::string &name, const std::string &token, cond::TimeType timetype=cond::runnumber) |
void | deleteAllEntries () |
void | deleteEntryByTag (const std::string &tag) |
const std::string | getToken (const std::string &tagname) const |
bool | hasTag (const std::string &name) const |
void | listAllTags (std::vector< std::string > &result) const |
MetaData (cond::DbSession &userSession) | |
~MetaData () | |
Private Attributes | |
cond::DbSession | m_userSession |
Definition at line 19 of file MetaData.h.
|
explicit |
Definition at line 31 of file MetaData.cc.
MetaData::~MetaData | ( | ) |
Definition at line 33 of file MetaData.cc.
bool MetaData::addMapping | ( | const std::string & | name, |
const std::string & | token, | ||
cond::TimeType | timetype = cond::runnumber |
||
) |
Definition at line 36 of file MetaData.cc.
References cppFunctionSkipper::exception, and ora::OId::fromString().
Referenced by cond::persistency::IOVCache::addTag(), cond::ExportIOVUtilities::execute(), cond::AlignSplitIOV::execute(), TestFunct::Write(), and TestFunct::WriteWithIOV().
void MetaData::deleteAllEntries | ( | ) |
Definition at line 89 of file MetaData.cc.
References cppFunctionSkipper::exception, edm::hlt::Exception, and AlCaHLTBitMon_QueryRunRegistry::string.
void MetaData::deleteEntryByTag | ( | const std::string & | tag | ) |
Definition at line 97 of file MetaData.cc.
References cppFunctionSkipper::exception, edm::hlt::Exception, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by TestFunct::DropItem().
const std::string MetaData::getToken | ( | const std::string & | tagname | ) | const |
Definition at line 52 of file MetaData.cc.
References cppFunctionSkipper::exception, convertSQLiteXML::ok, AlCaHLTBitMon_QueryRunRegistry::string, and ora::OId::toString().
Referenced by TestFunct::DropItem(), cond::ExportIOVUtilities::execute(), cond::AlignSplitIOV::execute(), HcalO2OManager::getListOfPoolIovs(), cond::persistency::IOVCache::getToken(), cond::CondDB::iovToken(), cond::BasePayloadProxy::loadTag(), TestFunct::Read(), and TestFunct::ReadWithIOV().
bool MetaData::hasTag | ( | const std::string & | name | ) | const |
Definition at line 68 of file MetaData.cc.
References cppFunctionSkipper::exception, and query::result.
Referenced by cond::ExportIOVUtilities::execute(), cond::persistency::IOVCache::existsTag(), and HcalO2OManager::getListOfPoolIovs().
void MetaData::listAllTags | ( | std::vector< std::string > & | result | ) | const |
Definition at line 80 of file MetaData.cc.
References cppFunctionSkipper::exception, edm::hlt::Exception, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by cond::CondDB::allTags(), HcalO2OManager::getListOfPoolTags(), and TestFunct::ReadAll().
|
mutableprivate |
Definition at line 48 of file MetaData.h.