Jpp
test-rotations-new
the software that should make you happy
Loading...
Searching...
No Matches
software
JLang
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
9
namespace
JLANG
{}
10
namespace
JPP
{
using namespace
JLANG
; }
11
12
namespace
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>
31
inline
JType<T>
getType
()
32
{
33
return
JType<T>
();
34
}
35
}
36
37
#endif
JLANG
Auxiliary classes and methods for language specific functionality.
Definition
JAbstractClass.hh:11
JLANG::getType
JType< T > getType()
Get type.
Definition
JType.hh:31
JPP
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Definition
JAAnetToolkit.hh:43
JLANG::JType
Auxiliary class for a type holder.
Definition
JType.hh:19
JLANG::JType::data_type
T data_type
Definition
JType.hh:21
Generated by
1.12.0