Jpp
software
JLang
JAnyType.hh
Go to the documentation of this file.
1
#ifndef __JLANG__JANYTYPE__
2
#define __JLANG__JANYTYPE__
3
4
5
/**
6
* \author mdejong
7
*/
8
9
namespace
JLANG
{}
10
namespace
JPP
{
using namespace
JLANG
; }
11
12
namespace
JLANG
{
13
14
15
/**
16
* Auxiliary class for any type definition.
17
* This class can be used to test the validity of an expression through type conversion.
18
*/
19
struct
JAnyType
{
20
/**
21
* Type conversion operation.
22
*
23
* \param any_type any type
24
*/
25
template
<
class
T>
26
JAnyType
(
const
T& any_type)
27
{}
28
};
29
}
30
31
#endif
JPP
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Definition:
JAAnetToolkit.hh:37
JLANG::JAnyType::JAnyType
JAnyType(const T &any_type)
Type conversion operation.
Definition:
JAnyType.hh:26
JLANG
Auxiliary classes and methods for language specific functionality.
Definition:
JAbstractClass.hh:10
JLANG::JAnyType
Auxiliary class for any type definition.
Definition:
JAnyType.hh:19
Generated by
1.8.16