![]() |
![]() |
Public Member Functions | |
size_t | getSelectionCount (const Selection &selection) const |
void | invalidate () |
bool | isValid () const |
bool | load (void *address) const |
bool | loadSelection (const Selection &selection, void *address) const |
RelationalVectorLoader (const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema, const std::vector< int > &fullId) | |
virtual | ~RelationalVectorLoader () |
Private Attributes | |
std::vector< int > | m_identity |
bool | m_isValid |
QVReader | m_reader |
Definition at line 279 of file QueryableVectorStreamer.cc.
ora::RelationalVectorLoader::RelationalVectorLoader | ( | const Reflex::Type & | objectType, |
MappingElement & | mapping, | ||
ContainerSchema & | contSchema, | ||
const std::vector< int > & | fullId | ||
) | [inline] |
Definition at line 284 of file QueryableVectorStreamer.cc.
: m_isValid(true), m_reader( objectType, mapping, contSchema ), m_identity(fullId){ }
virtual ora::RelationalVectorLoader::~RelationalVectorLoader | ( | ) | [inline, virtual] |
Definition at line 292 of file QueryableVectorStreamer.cc.
:
size_t ora::RelationalVectorLoader::getSelectionCount | ( | const Selection & | selection | ) | const [inline, virtual] |
Implements ora::IVectorLoader.
Definition at line 320 of file QueryableVectorStreamer.cc.
References m_identity, m_reader, and ora::QVReader::selectionCount().
{ ret = m_reader.selectionCount( m_identity, selection ); } return ret; }
void ora::RelationalVectorLoader::invalidate | ( | ) | [inline, virtual] |
bool ora::RelationalVectorLoader::isValid | ( | void | ) | const [inline, virtual] |
bool ora::RelationalVectorLoader::load | ( | void * | address | ) | const [inline, virtual] |
Implements ora::IVectorLoader.
Definition at line 298 of file QueryableVectorStreamer.cc.
References ora::QVReader::build(), m_identity, m_reader, ora::QVReader::read(), and ora::QVReader::select().
bool ora::RelationalVectorLoader::loadSelection | ( | const Selection & | selection, |
void * | address | ||
) | const [inline, virtual] |
Implements ora::IVectorLoader.
Definition at line 309 of file QueryableVectorStreamer.cc.
References ora::QVReader::build(), m_identity, m_reader, ora::QVReader::read(), and ora::QVReader::select().
std::vector<int> ora::RelationalVectorLoader::m_identity [private] |
Definition at line 339 of file QueryableVectorStreamer.cc.
Referenced by getSelectionCount(), load(), and loadSelection().
bool ora::RelationalVectorLoader::m_isValid [private] |
Definition at line 337 of file QueryableVectorStreamer.cc.
QVReader ora::RelationalVectorLoader::m_reader [mutable, private] |
Definition at line 338 of file QueryableVectorStreamer.cc.
Referenced by getSelectionCount(), load(), and loadSelection().