Jpp  15.0.4
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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>
19  /**
20  * Virtual destructor.
21  */
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
virtual ~JCollectionElementTransformer()
Virtual destructor.
Definition: JTransformer.hh:22
Interface for transformation of collection of elements.
Definition: JTransformer.hh:18
virtual JElement_t operator()(const JElement_t &element) const =0
Transform element.