Jpp
16.0.2
the software that should make you happy
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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::~JCollectionElementTransformer
virtual ~JCollectionElementTransformer()
Virtual destructor.
Definition:
JTransformer.hh:22
JTOOLS::JCollectionElementTransformer
Interface for transformation of collection of elements.
Definition:
JTransformer.hh:18
JTOOLS::JCollectionElementTransformer::operator()
virtual JElement_t operator()(const JElement_t &element) const =0
Transform element.
Generated by
1.8.5