liblcf
IDChecker< T > Struct Template Reference

#include <reader_struct.h>

+ Collaboration diagram for IDChecker< T >:

Classes

struct  type_check
 

Public Types

typedef char no
 
typedef int yes
 

Static Public Member Functions

template<class C >
static yes check (type_check< int C::*, &C::ID > *)
 
template<class C >
static no check (...)
 

Static Public Attributes

static const bool value = sizeof(check<T>(0)) == sizeof(yes)
 

Detailed Description

template<class T>
struct IDChecker< T >

ID handling for Struct class.

Definition at line 491 of file reader_struct.h.

Member Typedef Documentation

◆ no

template<class T >
typedef char IDChecker< T >::no

Definition at line 492 of file reader_struct.h.

◆ yes

template<class T >
typedef int IDChecker< T >::yes

Definition at line 493 of file reader_struct.h.

Member Function Documentation

◆ check() [1/2]

template<class T >
template<class C >
static no IDChecker< T >::check (   ...)
static

◆ check() [2/2]

template<class T >
template<class C >
static yes IDChecker< T >::check ( type_check< int C::*, &C::ID > *  )
static

Member Data Documentation

◆ value

template<class T >
const bool IDChecker< T >::value = sizeof(check<T>(0)) == sizeof(yes)
static

Definition at line 501 of file reader_struct.h.


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