cgv
cgv::reflect::reflection_traits_impl< T, B, true > Struct Template Reference

implementation variant for abstract base classes More...

#include <reflection_traits.h>

Inherits B.

Public Member Functions

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
 

Detailed Description

template<typename T, typename B>
struct cgv::reflect::reflection_traits_impl< T, B, true >

implementation variant for abstract base classes


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