Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Attributes | Static Protected Member Functions | Static Private Member Functions | List of all members
JLANG::JTypeID_t< T > Class Template Reference

Test availability of static member methods for labelling data types in a type list. More...

#include <JTypeID.hh>

Inheritance diagram for JLANG::JTypeID_t< T >:
JLANG::JTest

Static Public Attributes

static const bool has_name = sizeof(test1<T>(NULL)) == sizeof(JTrue)
 
static const bool has_version = sizeof(test2<T>(NULL)) == sizeof(JTrue)
 

Static Protected Member Functions

static JFalse test (...)
 default false More...
 
template<class __T__ >
static JFalse test (...)
 default false More...
 

Static Private Member Functions

template<class U >
static JTrue test1 (JTypecheck< const char *(*)(),&U::getName > *)
 
template<class U >
static JFalse test1 (...)
 
template<class U >
static JTrue test2 (JTypecheck< int(*)(),&U::getVersion > *)
 
template<class U >
static JFalse test2 (...)
 

Detailed Description

template<class T>
class JLANG::JTypeID_t< T >

Test availability of static member methods for labelling data types in a type list.

Definition at line 119 of file JTypeID.hh.

Member Function Documentation

template<class T >
template<class U >
static JTrue JLANG::JTypeID_t< T >::test1 ( JTypecheck< const char *(*)(),&U::getName > *  )
staticprivate
template<class T >
template<class U >
static JFalse JLANG::JTypeID_t< T >::test1 (   ...)
staticprivate
template<class T >
template<class U >
static JTrue JLANG::JTypeID_t< T >::test2 ( JTypecheck< int(*)(),&U::getVersion > *  )
staticprivate
template<class T >
template<class U >
static JFalse JLANG::JTypeID_t< T >::test2 (   ...)
staticprivate
static JFalse JLANG::JTest::test (   ...)
staticprotectedinherited

default false

template<class __T__ >
static JFalse JLANG::JTest::test (   ...)
staticprotectedinherited

default false

Member Data Documentation

template<class T >
const bool JLANG::JTypeID_t< T >::has_name = sizeof(test1<T>(NULL)) == sizeof(JTrue)
static

Definition at line 129 of file JTypeID.hh.

template<class T >
const bool JLANG::JTypeID_t< T >::has_version = sizeof(test2<T>(NULL)) == sizeof(JTrue)
static

Definition at line 130 of file JTypeID.hh.


The documentation for this class was generated from the following file: