#include <Selection.h>
Public Member Functions | |
template<typename Prim > | |
void | addDataItem (const std::string &dataMemberName, SelectionItemType stype, Prim selectionData) |
void | addIndexItem (int startIndex, int endIndex=endOfRange) |
void | addUntypedDataItem (const std::string &dataMemberName, SelectionItemType stype, const std::type_info &primitiveType, void *data) |
const coral::AttributeList & | data () const |
bool | isEmpty () const |
const std::vector< std::pair < std::string, std::string > > & | items () const |
Selection & | operator= (const Selection &rhs) |
Selection () | |
Selection (const Selection &rhs) | |
virtual | ~Selection () |
Static Public Member Functions | |
static std::string | indexVariable () |
static std::vector< std::string > & | selectionTypes () |
static std::string | variableNameFromUniqueString (const std::string &uniqueString) |
Static Public Attributes | |
static const int | endOfRange = -1 |
Private Member Functions | |
std::string | uniqueVariableName (const std::string &varName) const |
Private Attributes | |
std::auto_ptr < coral::AttributeList > | m_data |
std::vector< std::pair < std::string, std::string > > | m_items |
Definition at line 18 of file Selection.h.
Definition at line 31 of file Selection.cc.
Definition at line 34 of file Selection.cc.
Definition at line 37 of file Selection.cc.
void Selection< Prim >::addDataItem | ( | const std::string & | dataMemberName, |
ora::SelectionItemType | stype, | ||
Prim | selectionData | ||
) |
Definition at line 60 of file Selection.h.
References addUntypedDataItem().
void Selection< C, Selector, StoreContainer >::addIndexItem | ( | int | startIndex, |
int | endIndex = endOfRange |
||
) |
Definition at line 68 of file Selection.cc.
References ora::EQ, ora::GE, ora::LE, and ora::throwException().
Referenced by ora::QueryableVector< Tp >::select().
void Selection< C, Selector, StoreContainer >::addUntypedDataItem | ( | const std::string & | dataMemberName, |
SelectionItemType | stype, | ||
const std::type_info & | primitiveType, | ||
void * | data | ||
) |
Definition at line 97 of file Selection.cc.
Referenced by addDataItem().
Definition at line 26 of file Selection.cc.
Referenced by ora::QVQueryMaker::setQueryCondition().
Definition at line 108 of file Selection.cc.
const std::vector< std::pair< std::string, std::string > > & Selection< C, Selector, StoreContainer >::items | ( | ) | const |
Definition at line 113 of file Selection.cc.
Referenced by python.seqvaluedict.seqdict::__add__(), python.seqvaluedict.seqdict::__radd__(), betterConfigParser.BetterConfigParser::exists(), python.rootplot.core.Options::kwarg_list(), python.seqvaluedict.seqdict::map(), python.seqvaluedict.seqdict::reduce(), ora::QVQueryMaker::setQueryCondition(), and python.seqvaluedict.seqdict::swap().
ora::Selection & Selection< C, Selector, StoreContainer >::operator= | ( | const Selection & | rhs | ) |
Definition at line 42 of file Selection.cc.
References m_data, and m_items.
Definition at line 9 of file Selection.cc.
|
private |
|
static |
Definition at line 20 of file Selection.cc.
Referenced by ora::QVQueryMaker::setQueryCondition().
|
static |
Definition at line 21 of file Selection.h.
|
private |
Definition at line 55 of file Selection.h.
Referenced by operator=().
|
private |
Definition at line 54 of file Selection.h.
Referenced by operator=().