The Gaudi Framework  v33r0 (d5ea422b)
ISelectStatement.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #ifndef GAUDIKERNEL_ISELECTSTATEMENT_H
12 #define GAUDIKERNEL_ISELECTSTATEMENT_H
13 
14 // STL include files
15 #include <string>
16 
17 // Framework include files
18 #include "GaudiKernel/IInterface.h"
19 
42 class GAUDI_API ISelectStatement : virtual public IInterface {
43 public:
46 
48  enum SelectType { FUNCTION = 1 << 1, STRING = 1 << 2, FULL = 1 << 3, OTHER = 1 << 4 };
49 
50 public:
52  virtual long type() const = 0;
54  virtual const std::string& criteria() const = 0;
56  virtual void setCriteria( const std::string& crit ) = 0;
58  virtual void setActive( bool flag = true ) = 0;
60  virtual bool isActive() const = 0;
62  virtual bool operator()( void* val ) = 0;
63 };
64 
65 #endif // GAUDIKERNEL_ISELECTSTATEMENT_H
A select statement can either contain.
SelectType
Statement type definition.
STL class.
Definition of the basic interface.
Definition: IInterface.h:254
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:23
#define GAUDI_API
Definition: Kernel.h:81