SMACC2
Loading...
Searching...
No Matches
Public Types | Private Types | Static Private Member Functions | List of all members
smacc2::introspection::HasAutomaticTransitionType< T > Class Template Reference

#include <introspection.hpp>

Collaboration diagram for smacc2::introspection::HasAutomaticTransitionType< 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::getDefaultTransitionType))
 
template<typename C >
static NoTypetest (...)
 

Detailed Description

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

Definition at line 189 of file introspection.hpp.

Member Typedef Documentation

◆ NoType

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

Definition at line 193 of file introspection.hpp.

◆ YesType

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

Definition at line 192 of file introspection.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<typename T >
anonymous enum
Enumerator
value 

Definition at line 201 of file introspection.hpp.

Member Function Documentation

◆ test() [1/2]

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

◆ test() [2/2]

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

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