ISelectStatement Class Reference
A select statement can either contain
More...
#include <GaudiKernel/ISelectStatement.h>
List of all members.
Detailed Description
A select statement can either contain
for refining an SQL statement
- a function object, which will be called back in order to refine a selection. This happens in calling sequences like the following:
bool MySelect::operator()(IValueLocator* l) { float px, py, pz; if ( l->get("PX",px) && l->get("PY",py) && l->get("PZ",pz) ) { float mom = sqrt(px*px+py*py+pz*pz); return mom > 100.0 * GeV; } return false; }
if "true" is returned, the object will be loaded completely.
- Author:
- M.Frank
- Version:
- 1.0
Definition at line 33 of file ISelectStatement.h.
Member Enumeration Documentation
Statement type definition.
- Enumerator:
-
| FUNCTION |
|
| STRING |
|
| FULL |
|
| OTHER |
|
Definition at line 39 of file ISelectStatement.h.
Member Function Documentation
| virtual long ISelectStatement::type |
( |
|
) |
const [pure virtual] |
| virtual const std::string& ISelectStatement::criteria |
( |
|
) |
const [pure virtual] |
| virtual void ISelectStatement::setCriteria |
( |
const std::string & |
crit |
) |
[pure virtual] |
| virtual void ISelectStatement::setActive |
( |
bool |
flag = true |
) |
[pure virtual] |
| virtual bool ISelectStatement::isActive |
( |
|
) |
const [pure virtual] |
| virtual bool ISelectStatement::operator() |
( |
void * |
val |
) |
[pure virtual] |
The documentation for this class was generated from the following file:
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r8/GaudiKernel/GaudiKernel/ISelectStatement.h