Jpp  master_rocky-37-gf0c5bc59d
the software that should make you happy
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
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary classes and methods for multi-dimensional interpolations and histograms.
Interface for transformation of collection of elements.
Definition: JTransformer.hh:18
virtual ~JCollectionElementTransformer()
Virtual destructor.
Definition: JTransformer.hh:22
virtual JElement_t operator()(const JElement_t &element) const =0
Transform element.