#include <OId.h>
Public Member Functions | |
int | containerId () const |
bool | fromString (const std::string &s) |
bool | isInvalid () const |
int | itemId () const |
OId () | |
OId (const std::pair< int, int > &oidPair) | |
OId (int contId, int itemId) | |
OId (const OId &rhs) | |
bool | operator!= (const OId &rhs) const |
OId & | operator= (const OId &rhs) |
bool | operator== (const OId &rhs) const |
void | reset () |
void | toOutputStream (std::ostream &os) const |
std::pair< int, int > | toPair () const |
std::string | toString () const |
Static Public Member Functions | |
static bool | isOId (const std::string &input) |
Private Attributes | |
int | m_containerId |
int | m_itemId |
|
explicit |
int ora::OId::containerId | ( | ) | const |
Definition at line 50 of file OId.cc.
Referenced by cond::PoolTokenParser::className(), cond::DbSession::classNameForItem(), ora::Database::erase(), ora::Database::fetch(), ora::Database::fetchItem(), ora::Database::getNamesForObject(), cond::IOVImportIterator::importMoreElements(), cond::DbSession::importObject(), ora::Reference::set(), ora::Database::setObjectName(), ora::Database::update(), ora::Database::updateItem(), and cond::PoolTokenWriter::write().
bool ora::OId::fromString | ( | const std::string & | s | ) |
Definition at line 64 of file OId.cc.
References OIDFMT, and OIDSIZ.
Referenced by cond::MetaData::addMapping(), cond::PoolTokenParser::className(), cond::DbSession::classNameForItem(), cond::DbSession::deleteObject(), cond::DbSession::getObject(), cond::DbSession::getTypedObject(), cond::IOVImportIterator::importMoreElements(), cond::DbSession::importObject(), cond::IOVElement::IOVElement(), isOId(), and cond::DbSession::updateObject().
bool ora::OId::isInvalid | ( | ) | const |
Definition at line 80 of file OId.cc.
Referenced by cond::DbSession::classNameForItem(), and cond::IOVElement::swapOId().
|
static |
int ora::OId::itemId | ( | ) | const |
Definition at line 54 of file OId.cc.
Referenced by ora::Database::erase(), ora::Database::fetch(), ora::Database::fetchItem(), ora::Database::getNamesForObject(), ora::Reference::set(), ora::Database::setObjectName(), ora::Database::update(), ora::Database::updateItem(), and cond::PoolTokenWriter::write().
bool ora::OId::operator!= | ( | const OId & | rhs | ) | const |
bool ora::OId::operator== | ( | const OId & | rhs | ) | const |
void ora::OId::reset | ( | void | ) |
Definition at line 75 of file OId.cc.
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
void ora::OId::toOutputStream | ( | std::ostream & | os | ) | const |
std::string ora::OId::toString | ( | ) | const |
Definition at line 58 of file OId.cc.
References OIDFMT, OIDSIZ, AlCaHLTBitMon_QueryRunRegistry::string, and runonSM::text.
Referenced by cond::MetaData::getToken(), cond::DbSession::storeObject(), and cond::IOVElement::token().
|
private |
Definition at line 46 of file OId.h.
Referenced by operator=(), and operator==().
|
private |
Definition at line 47 of file OId.h.
Referenced by operator=(), and operator==().