| The Gaudi Framework v27r1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

ISelectStatement.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_ISELECTSTATEMENT_H
2 #define GAUDIKERNEL_ISELECTSTATEMENT_H
3
4 // STL include files
5 #include <string>
6
7 // Framework include files
8 #include "GaudiKernel/IInterface.h"
9
32 class GAUDI_API ISelectStatement: virtual public IInterface {
33 public:
35 DeclareInterfaceID(ISelectStatement,2,0);
36
38 enum SelectType { FUNCTION=1<<1, STRING=1<<2, FULL=1<<3, OTHER=1<<4 };
39
40 public:
42 virtual long type() const = 0;
44 virtual const std::string& criteria() const = 0;
46 virtual void setCriteria(const std::string& crit) = 0;
48 virtual void setActive(bool flag = true) = 0;
50 virtual bool isActive() const = 0;
52 virtual bool operator()(void* val) = 0;
53 };
54
55
56 #endif // GAUDIKERNEL_ISELECTSTATEMENT_H
ISelectStatement
A select statement can either contain.
Definition: ISelectStatement.h:32
ISelectStatement::SelectType
SelectType
Statement type definition.
Definition: ISelectStatement.h:38
std::string
STL class.
gaudirun.type
string type
Definition: gaudirun.py:151
IInterface
Definition of the basic interface.
Definition: IInterface.h:234
DeclareInterfaceID
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:14
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107
IInterface.h