cgv
Loading...
Searching...
No Matches
cgv::reflect::extern_reflection_traits_impl< D, B > Struct Template Reference

this reflection traits implementation is used by the reflect_string function More...

#include <reflect_extern.h>

Inheritance diagram for cgv::reflect::extern_reflection_traits_impl< D, B >:

Public Types

typedef D external_self_reflect_type
 compile time information about external type with self_reflect implementation
 

Public Member Functions

bool has_external_implementation () const
 whether type can be converted to string, defaults to false
 
bool external_implementation (reflection_handler &rh, void *member_ptr)
 call the external implementation
 

Static Public Attributes

static const ReflectionTraitsKind kind = RTK_EXTERNAL_SELF_REFLECT
 
static const bool has_external = true
 compile information about external implementation
 

Detailed Description

template<typename D, typename B>
struct cgv::reflect::extern_reflection_traits_impl< D, B >

this reflection traits implementation is used by the reflect_string function

Definition at line 12 of file reflect_extern.h.

Member Typedef Documentation

◆ external_self_reflect_type

template<typename D , typename B >
typedef D cgv::reflect::extern_reflection_traits_impl< D, B >::external_self_reflect_type

compile time information about external type with self_reflect implementation

Definition at line 18 of file reflect_extern.h.

Member Function Documentation

◆ external_implementation()

template<typename D , typename B >
bool cgv::reflect::extern_reflection_traits_impl< D, B >::external_implementation ( reflection_handler rh,
void *  member_ptr 
)
inline

call the external implementation

Definition at line 22 of file reflect_extern.h.

◆ has_external_implementation()

template<typename D , typename B >
bool cgv::reflect::extern_reflection_traits_impl< D, B >::has_external_implementation ( ) const
inline

whether type can be converted to string, defaults to false

Definition at line 20 of file reflect_extern.h.

Member Data Documentation

◆ has_external

template<typename D , typename B >
const bool cgv::reflect::extern_reflection_traits_impl< D, B >::has_external = true
static

compile information about external implementation

Definition at line 16 of file reflect_extern.h.

◆ kind

template<typename D , typename B >
const ReflectionTraitsKind cgv::reflect::extern_reflection_traits_impl< D, B >::kind = RTK_EXTERNAL_SELF_REFLECT
static

Definition at line 14 of file reflect_extern.h.


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