#include <DbSession.h>
Public Member Functions | |
PoolTokenWriter (ora::Database &db) | |
std::string | write (const ora::OId &oid) |
~PoolTokenWriter () | |
Private Attributes | |
ora::Database & | m_db |
Definition at line 116 of file DbSession.h.
cond::PoolTokenWriter::PoolTokenWriter | ( | ora::Database & | db | ) | [explicit] |
Definition at line 279 of file DbSession.cc.
: m_db( db ){ }
cond::PoolTokenWriter::~PoolTokenWriter | ( | ) | [inline] |
Definition at line 119 of file DbSession.h.
{ }
std::string cond::PoolTokenWriter::write | ( | const ora::OId & | oid | ) | [virtual] |
Implements ora::ITokenWriter.
Definition at line 283 of file DbSession.cc.
References ora::Container::className(), cont, ora::OId::containerId(), ora::OId::itemId(), ora::Container::name(), and cond::writeToken().
{ ora::Container cont = m_db.containerHandle( oid.containerId() ); return writeToken( cont.name(), oid.containerId(), oid.itemId(), cont.className() ); }
ora::Database& cond::PoolTokenWriter::m_db [private] |
Definition at line 123 of file DbSession.h.