The Gaudi Framework
master (ad37f17d)
Toggle main menu visibility
Loading...
Searching...
No Matches
ISelectStatement.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2025 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
#pragma once
12
13
#include <
GaudiKernel/IInterface.h
>
14
#include <string>
15
38
class
GAUDI_API
ISelectStatement
:
virtual
public
IInterface
{
39
public
:
41
DeclareInterfaceID
(
ISelectStatement
, 2, 0 );
42
44
enum
SelectType
{
FUNCTION
= 1 << 1,
STRING
= 1 << 2,
FULL
= 1 << 3,
OTHER
= 1 << 4 };
45
46
public
:
48
virtual
long
type
()
const
= 0;
50
virtual
const
std::string&
criteria
()
const
= 0;
52
virtual
void
setCriteria
(
const
std::string& crit ) = 0;
54
virtual
void
setActive
(
bool
flag =
true
) = 0;
56
virtual
bool
isActive
()
const
= 0;
58
virtual
bool
operator()
(
void
* val ) = 0;
59
};
IInterface.h
GAUDI_API
#define GAUDI_API
Definition
Kernel.h:49
IInterface
Definition of the basic interface.
Definition
IInterface.h:225
ISelectStatement
A select statement can either contain.
Definition
ISelectStatement.h:38
ISelectStatement::isActive
virtual bool isActive() const =0
Check if selection is active.
ISelectStatement::type
virtual long type() const =0
Access the type of the object.
ISelectStatement::setActive
virtual void setActive(bool flag=true)=0
Change activity flag.
ISelectStatement::SelectType
SelectType
Statement type definition.
Definition
ISelectStatement.h:44
ISelectStatement::STRING
@ STRING
Definition
ISelectStatement.h:44
ISelectStatement::FULL
@ FULL
Definition
ISelectStatement.h:44
ISelectStatement::OTHER
@ OTHER
Definition
ISelectStatement.h:44
ISelectStatement::FUNCTION
@ FUNCTION
Definition
ISelectStatement.h:44
ISelectStatement::DeclareInterfaceID
DeclareInterfaceID(ISelectStatement, 2, 0)
InterfaceID.
ISelectStatement::operator()
virtual bool operator()(void *val)=0
Stupid default implementation.
ISelectStatement::setCriteria
virtual void setCriteria(const std::string &crit)=0
Set the type.
ISelectStatement::criteria
virtual const std::string & criteria() const =0
Access the selection string.
GaudiKernel
include
GaudiKernel
ISelectStatement.h
Generated on
for The Gaudi Framework by
1.17.0