Jpp test-rotations-new
the software that should make you happy
Loading...
Searching...
No Matches
JType.hh
Go to the documentation of this file.
1#ifndef __JLANG__JTYPE__
2#define __JLANG__JTYPE__
3
4
5/**
6 * \author mdejong
7 */
8
9namespace JLANG {}
10namespace JPP { using namespace JLANG; }
11
12namespace JLANG {
13
14 /**
15 * Auxiliary class for a type holder.
16 * This class can be used to transfer a template class to a method argument.
17 */
18 template<class T>
19 struct JType {
20
21 typedef T data_type;
22 };
23
24
25 /**
26 * Get type.
27 *
28 * \return type
29 */
30 template<class T>
32 {
33 return JType<T>();
34 }
35}
36
37#endif
Auxiliary classes and methods for language specific functionality.
JType< T > getType()
Get type.
Definition JType.hh:31
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary class for a type holder.
Definition JType.hh:19