cgv
|
this reflection traits implementation is used for external self_reflect implementations together with string interface of instances of type T where the external implementation is a self_reflect function in type D More...
#include <reflect_extern.h>
Public Member Functions | |
abst_reflection_traits * | clone () |
clone function | |
![]() | |
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 | |
![]() | |
abst_reflection_traits * | clone () |
clone function | |
![]() | |
unsigned | size () const |
return the size of the type | |
void * | new_instance () const |
construct an instance on the heap with the new operator | |
void | delete_instance (void *instance_ptr) const |
delete an instance with the delete operator | |
void * | new_instances (unsigned n) const |
construct n instances on the heap with the new operator | |
void | delete_instances (void *instance_array) const |
delete instances with the delete [] operator | |
cgv::type::info::TypeId | get_type_id () const |
return the type id | |
const char * | get_type_name () const |
return the type name | |
bool | is_enum_type () const |
return whether type is an enum type - this is independent of whether enum interface is implemented | |
Additional Inherited Members | |
![]() | |
typedef D | external_self_reflect_type |
compile time information about external type with self_reflect implementation | |
![]() | |
static const ReflectionTraitsKind | kind |
static const bool | has_external |
compile information about external implementation | |
![]() | |
static const ReflectionTraitsKind | kind |
this reflection traits implementation is used for external self_reflect implementations together with string interface of instances of type T where the external implementation is a self_reflect function in type D
Definition at line 35 of file reflect_extern.h.
|
inline |
clone function
Definition at line 38 of file reflect_extern.h.