Typedefs | |
typedef xf_refl_s | xf_refl_t |
Reflection Class. | |
Functions | |
xf_refl_t * | xf_refl_new (char *name, int size, char *version, xf_descr_list_t *pdescr, void *userdata) |
Constructor. | |
void | xf_refl_setuserdata (xf_refl_t *prefl, void *puserdata) |
set userdata | |
void * | xf_refl_getuserdata (xf_refl_t *prefl) |
get userdata | |
char * | xf_refl_getname (xf_refl_t *prefl) |
get name of reflection |
typedef struct xf_refl_s xf_refl_t |
Reflection Class.
This structure contains the complete reflection information for a class
char* xf_refl_getname | ( | xf_refl_t * | prefl | ) |
get name of reflection
prefl | The reflection object to get the name from |
void* xf_refl_getuserdata | ( | xf_refl_t * | prefl | ) |
get userdata
prefl | The reflection object to get the userdata from |
xf_refl_t* xf_refl_new | ( | char * | name, | |
int | size, | |||
char * | version, | |||
xf_descr_list_t * | pdescr, | |||
void * | userdata | |||
) |
Constructor.
The constructor creates a reflection object for some class
name | Name of reflection | |
size | Size of class object | |
version | Version of Class defintion in format <major>.<minor> | |
pdescr | Description List of class | |
userdata | some userdata associated with reflection |
void xf_refl_setuserdata | ( | xf_refl_t * | prefl, | |
void * | puserdata | |||
) |
set userdata
prefl | The reflection object to set the userdata | |
puserdata | The userdata |