liblcf
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 455 of file reader_struct.h.

Member Typedef Documentation

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

Definition at line 456 of file reader_struct.h.

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

Definition at line 457 of file reader_struct.h.

Member Function Documentation

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

Member Data Documentation

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

Definition at line 465 of file reader_struct.h.


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