#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 115 of file DbSession.h.
cond::PoolTokenWriter::PoolTokenWriter | ( | ora::Database & | db | ) | [explicit] |
Definition at line 312 of file DbSession.cc.
: m_db( db ){ }
cond::PoolTokenWriter::~PoolTokenWriter | ( | ) | [inline] |
Definition at line 118 of file DbSession.h.
{ }
std::string cond::PoolTokenWriter::write | ( | const ora::OId & | oid | ) | [virtual] |
Implements ora::ITokenWriter.
Definition at line 316 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 122 of file DbSession.h.