Class Reference for E1039 Core & Analysis Software
PHNodeOperation.h
Go to the documentation of this file.
1
#ifndef PHNodeOperation_h
2
#define PHNodeOperation_h
3
4
// Declaration of class PHNodeOperation
5
// Purpose: abstract strategy base class which operates on PHNodes
6
// Author: Matthias Messer
7
8
class
PHNode
;
9
10
class
PHNodeOperation
11
{
12
public
:
13
PHNodeOperation
()
14
:
verbosity
(0)
15
{
16
}
17
virtual
~PHNodeOperation
() {}
18
void
19
operator()
(
PHNode
& o)
20
{
21
perform
(&o);
22
}
23
void
24
operator()
(
PHNode
* o)
25
{
26
perform
(o);
27
}
28
29
virtual
void
Verbosity
(
const
int
i) {
verbosity
= i; }
30
virtual
int
Verbosity
()
const
{
return
verbosity
; }
31
protected
:
32
virtual
void
perform
(
PHNode
*) = 0;
33
int
verbosity
;
34
};
35
36
#endif
/* PHNodeOperation_h */
PHNodeOperation
Definition:
PHNodeOperation.h:11
PHNodeOperation::verbosity
int verbosity
Definition:
PHNodeOperation.h:33
PHNodeOperation::operator()
void operator()(PHNode &o)
Definition:
PHNodeOperation.h:19
PHNodeOperation::perform
virtual void perform(PHNode *)=0
PHNodeOperation::operator()
void operator()(PHNode *o)
Definition:
PHNodeOperation.h:24
PHNodeOperation::Verbosity
virtual void Verbosity(const int i)
Definition:
PHNodeOperation.h:29
PHNodeOperation::Verbosity
virtual int Verbosity() const
Definition:
PHNodeOperation.h:30
PHNodeOperation::~PHNodeOperation
virtual ~PHNodeOperation()
Definition:
PHNodeOperation.h:17
PHNodeOperation::PHNodeOperation
PHNodeOperation()
Definition:
PHNodeOperation.h:13
PHNode
Definition:
PHNode.h:15
e1039-core
framework
phool
PHNodeOperation.h
Built by
Haiwang Yu
. updated:
Thu Jan 30 2025 10:15:15
using
1.9.1 with
SeaQuest GitHub integration