cgv
cgv::reflect::reflection_traits_info< T > Struct Template Reference

the reflection_traits_info defines compile time information about reflection_traits for a given type T More...

#include <reflection_traits_info.h>

Inherits cgv::reflect::reflection_traits_info_std< is_std, T >.

Detailed Description

template<typename T>
struct cgv::reflect::reflection_traits_info< T >

the reflection_traits_info defines compile time information about reflection_traits for a given type T

Each specialization defines three members:

  • static const ReflectionTraitsKind kind ... careful, the compatibility implementation without using C++11 does not split into RTK_EXTERNAL_SELF_REFLECT and RTK_STRING. This difference can only be dispatched by a function call to get_reflection_traits as for example done in the get_reflection_handler
    • const bool use_get ... whether the get_reflection_traits function needs to be called to determine the reflection_traits of T
    • typedef traits_type ... the reflection_traits for T. Take care! In compatibility mode this is only defined if no call to get_reflection_traits is necessary to determine the reflection_traits of T.

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