The Gaudi Framework  v29r0 (ff2e7097)
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
9 
32 class GAUDI_API ISelectStatement : virtual public IInterface
33 {
34 public:
37 
39  enum SelectType { FUNCTION = 1 << 1, STRING = 1 << 2, FULL = 1 << 3, OTHER = 1 << 4 };
40 
41 public:
43  virtual long type() const = 0;
45  virtual const std::string& criteria() const = 0;
47  virtual void setCriteria( const std::string& crit ) = 0;
49  virtual void setActive( bool flag = true ) = 0;
51  virtual bool isActive() const = 0;
53  virtual bool operator()( void* val ) = 0;
54 };
55 
56 #endif // GAUDIKERNEL_ISELECTSTATEMENT_H
A select statement can either contain.
SelectType
Statement type definition.
STL class.
#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
Definition of the basic interface.
Definition: IInterface.h:277
virtual Out operator()(const vector_of_const_< In > &inputs) const =0
#define GAUDI_API
Definition: Kernel.h:110