| The Gaudi Framework v32r1 (f65d50dc)

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 #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.
IInterface
Definition of the basic interface.
Definition: IInterface.h:244
gaudirun.type
type
Definition: gaudirun.py:142
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:13
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:71
IInterface.h