1 #ifndef __JLANG__JCONVERSION__
2 #define __JLANG__JCONVERSION__
13 namespace JPP {
using namespace JLANG; }
21 template<
class JDerived_t,
class JBase_t>
23 static const bool is_derived = std::is_base_of<JBase_t, JDerived_t>::value;
24 static const bool is_same = std::is_same <JBase_t, JDerived_t>::value;
42 template<class JDerived_t, class JBase_t, bool is_derived = JConversion<JDerived_t,JBase_t>::is_derived>
48 template<
class JDerived_t,
class JBase_t>
Auxialiary class to assert type conversion.
Auxiliary classes and methods for language specific functionality.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Template class test for polymorphism.
static const bool is_same
true, if JDerived_t is equal to JBase_t
static const bool is_derived
true, if JDerived_t derives from JBase_t