cgv
Loading...
Searching...
No Matches
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>

Inheritance diagram for cgv::reflect::reflection_traits_info< T >:
cgv::reflect::reflection_traits_info_std< cgv::type::cond::is_standard_type< T >::value, T > cgv::reflect::reflection_traits_info_self< cgv::type::cond::is_base_of< self_reflection_tag, T >::value, T >

Additional Inherited Members

- Static Public Member Functions inherited from cgv::reflect::reflection_traits_info_self< cgv::type::cond::is_base_of< self_reflection_tag, T >::value, T >
static T * get_dummy_ptr ()
 
- Static Public Attributes inherited from cgv::reflect::reflection_traits_info_self< cgv::type::cond::is_base_of< self_reflection_tag, T >::value, T >
static const bool use_get
 
static const ReflectionTraitsKind kind
 

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.

Definition at line 53 of file reflection_traits_info.h.


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