Jpp
software
JTools
JTransformer.hh
Go to the documentation of this file.
1
#ifndef __JTOOLS__JTRANSFORMER__
2
#define __JTOOLS__JTRANSFORMER__
3
4
5
/**
6
* \author mdejong
7
*/
8
9
namespace
JTOOLS
{}
10
namespace
JPP
{
using namespace
JTOOLS
; }
11
12
namespace
JTOOLS
{
13
14
/**
15
* Interface for transformation of collection of elements.
16
*/
17
template
<
class
JElement_t>
18
struct
JCollectionElementTransformer
{
19
/**
20
* Virtual destructor.
21
*/
22
virtual
~JCollectionElementTransformer
()
23
{}
24
25
26
/**
27
* Transform element.
28
*
29
* \param element input element
30
* \return output element
31
*/
32
virtual
JElement_t
operator()
(
const
JElement_t& element)
const
= 0;
33
};
34
}
35
36
#endif
JTOOLS::JCollectionElementTransformer::operator()
virtual JElement_t operator()(const JElement_t &element) const =0
Transform element.
JTOOLS::JCollectionElementTransformer::~JCollectionElementTransformer
virtual ~JCollectionElementTransformer()
Virtual destructor.
Definition:
JTransformer.hh:22
JPP
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Definition:
JAAnetToolkit.hh:37
JTOOLS
Auxiliary classes and methods for multi-dimensional interpolations and histograms.
Definition:
JAbstractCollection.hh:9
JTOOLS::JCollectionElementTransformer
Interface for transformation of collection of elements.
Definition:
JTransformer.hh:18
Generated by
1.8.16