liblcf
Loading...
Searching...
No Matches
lcf::IDChecker< T > Struct Template Reference

#include <reader_struct.h>

+ Collaboration diagram for lcf::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 lcf::IDChecker< T >

ID handling for Struct class.

Definition at line 543 of file reader_struct.h.

Member Typedef Documentation

◆ no

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

Definition at line 544 of file reader_struct.h.

◆ yes

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

Definition at line 545 of file reader_struct.h.

Member Function Documentation

◆ check() [1/2]

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

◆ check() [2/2]

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

Member Data Documentation

◆ value

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

Definition at line 553 of file reader_struct.h.


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