Gaudi Framework, version v23r9
Home
Generated: Thu Jul 18 2013
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
GaudiKernel
GaudiKernel
Selector.h
Go to the documentation of this file.
1
//====================================================================
2
// NTuple name space: Selector class definition
3
//--------------------------------------------------------------------
4
//
5
// Package : Gaudi/NTupleSvc ( The LHCb Offline System)
6
// Author : M.Frank
7
//
8
// +---------+----------------------------------------------+--------+
9
// | Date | Comment | Who |
10
// +---------+----------------------------------------------+--------+
11
// | 10/10/00| Initial version. | MF |
12
// +---------+----------------------------------------------+--------+
13
//====================================================================
14
#ifndef GAUDI_NTUPLESVC_SELECTOR_H
15
#define GAUDI_NTUPLESVC_SELECTOR_H 1
16
17
// Framework include files
18
#include "
GaudiKernel/SelectStatement.h
"
19
20
// Forward declarations
21
namespace
NTuple {
22
class
Tuple
;
23
}
24
25
namespace
NTuple {
26
29
class
GAUDI_API
Selector
:
public
SelectStatement
{
30
protected
:
32
IInterface
*
m_parent
;
34
bool
m_firstCall
;
36
StatusCode
m_status
;
37
public
:
39
Selector
(
IInterface
* svc) : m_parent(svc), m_firstCall(true)
40
{
41
}
43
virtual
~Selector
() {
44
}
46
bool
firstCall
()
const
{
47
return
m_firstCall;
48
}
50
StatusCode
initResult
()
const
{
51
return
m_status;
52
}
54
virtual
bool
operator()(
void
* nt);
56
virtual
bool
operator()(
NTuple::Tuple
* nt);
58
virtual
StatusCode
initialize
(
NTuple::Tuple
* nt);
59
};
60
}
61
#endif // GAUDI_NTUPLESVC_SELECTOR_H
Generated at Thu Jul 18 2013 12:18:03 for Gaudi Framework, version v23r9 by
Doxygen
version 1.8.2 written by
Dimitri van Heesch
, © 1997-2004