#include <QueryableVector.h>
Public Member Functions | |
template<typename Prim > | |
void | addSelection (const std::string &dataMemberName, SelectionItemType stype, Prim selectionData) |
size_t | count () |
Range< Tp > | execute () |
Query (boost::shared_ptr< IVectorLoader > &loader) | |
virtual | ~Query () |
Private Attributes | |
Selection | m_selection |
Definition at line 48 of file QueryableVector.h.
ora::Query< Tp >::Query | ( | boost::shared_ptr< IVectorLoader > & | loader | ) | [explicit] |
Definition at line 53 of file QueryableVectorImpl.h.
:LoaderClient(loader){ }
virtual ora::Query< Tp >::~Query | ( | ) | [inline, virtual] |
Definition at line 52 of file QueryableVector.h.
void ora::Query< Tp >::addSelection | ( | const std::string & | dataMemberName, |
ora::SelectionItemType | stype, | ||
Prim | selectionData | ||
) |
Definition at line 57 of file QueryableVectorImpl.h.
{ m_selection.addDataItem(dataMemberName, stype, selectionData); }
size_t ora::Query< Tp >::count | ( | void | ) |
Definition at line 61 of file QueryableVectorImpl.h.
{ return loader()->getSelectionCount( m_selection ); }
ora::Range< Tp > ora::Query< Tp >::execute | ( | ) |
Definition at line 65 of file QueryableVectorImpl.h.
{ boost::shared_ptr<QueryableVectorData<Tp> > newData ( new QueryableVectorData<Tp> ); loader()->loadSelection( m_selection, const_cast<void*>(newData->storageAddress()) ); return Range<Tp>( newData ); }
Selection ora::Query< Tp >::m_selection [private] |
Definition at line 62 of file QueryableVector.h.