SMACC2
Public Types | Private Types | Static Private Member Functions | List of all members
smacc2::introspection::HasOnDefinition< T > Class Template Reference

#include <smacc_state_machine_info.hpp>

Collaboration diagram for smacc2::introspection::HasOnDefinition< T >:
Collaboration graph

Public Types

enum  { value = sizeof(test<T>(0)) == sizeof(YesType) }
 

Private Types

typedef char YesType[1]
 
typedef char NoType[2]
 

Static Private Member Functions

template<typename C >
static YesTypetest (decltype(&C::staticConfigure))
 
template<typename C >
static NoTypetest (...)
 

Detailed Description

template<typename T>
class smacc2::introspection::HasOnDefinition< T >

Definition at line 276 of file smacc_state_machine_info.hpp.

Member Typedef Documentation

◆ NoType

template<typename T >
typedef char smacc2::introspection::HasOnDefinition< T >::NoType[2]
private

Definition at line 280 of file smacc_state_machine_info.hpp.

◆ YesType

template<typename T >
typedef char smacc2::introspection::HasOnDefinition< T >::YesType[1]
private

Definition at line 279 of file smacc_state_machine_info.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<typename T >
anonymous enum
Enumerator
value 

Definition at line 288 of file smacc_state_machine_info.hpp.

Member Function Documentation

◆ test() [1/2]

template<typename T >
template<typename C >
static NoType & smacc2::introspection::HasOnDefinition< T >::test (   ...)
staticprivate

◆ test() [2/2]

template<typename T >
template<typename C >
static YesType & smacc2::introspection::HasOnDefinition< T >::test ( decltype &::staticConfigure  )
staticprivate

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