00001
00002 #ifndef GAUDIKERNEL_ISELECTSTATEMENT_H
00003 #define GAUDIKERNEL_ISELECTSTATEMENT_H
00004
00005
00006 #include <string>
00007
00008
00009 #include "GaudiKernel/IInterface.h"
00010
00011
00012 static const InterfaceID IID_ISelectStatement(109, 1 , 0);
00013
00014
00037 class ISelectStatement : virtual public IInterface {
00038 public:
00040 enum SelectType { FUNCTION=1<<1, STRING=1<<2 };
00041
00042 public:
00044 static const InterfaceID& interfaceID() { return IID_ISelectStatement; }
00046 virtual long type() const = 0;
00048 virtual const std::string& criteria() const = 0;
00050 virtual void setCriteria(const std::string& crit) = 0;
00052 virtual void setActive(bool flag = true) = 0;
00054 virtual bool isActive() const = 0;
00056 virtual bool operator()(void* val) = 0;
00057 };
00058
00059
00060 #endif // GAUDIKERNEL_ISELECTSTATEMENT_H