Class Reference for E1039 Core & Analysis Software
Home page
Related Pages
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
PHOperation.h
Go to the documentation of this file.
1
#ifndef __PHOPERATION_H__
2
#define __PHOPERATION_H__
3
4
// Declaration of class PHOperation
5
// Purpose: abstract strategy base class
6
// Author: Matthias Messer
7
8
template
<
class
T>
9
class
PHOperation
10
{
11
public
:
12
PHOperation
();
13
virtual
~PHOperation
();
14
15
public
:
16
virtual
void
perform
(T*) = 0;
17
void
18
operator ()
(T& o)
19
{
20
perform
(&o);
21
}
22
void
23
operator ()
(T* o)
24
{
25
perform
(o);
26
}
27
};
28
29
#endif
/* __PHOPERATION_H__ */
PHOperation::PHOperation
PHOperation()
Definition:
PHOperation.cc:13
PHOperation::operator()
void operator()(T &o)
Definition:
PHOperation.h:18
PHOperation
Definition:
PHOperation.h:9
PHOperation::~PHOperation
virtual ~PHOperation()
Definition:
PHOperation.cc:17
PHOperation::perform
virtual void perform(T *)=0
e1039-core
framework
phool
PHOperation.h
Built by
Haiwang Yu
. updated:
Wed May 26 2021 21:44:02
using
1.8.5 with
SeaQuest GitHub integration