GnuCash  5.6-150-g038405b370+
Data Fields

This structure is for each queryable parameter in an object. More...

#include <qofclass.h>

Data Fields

const char * param_name
 
QofType param_type
 
QofAccessFunc param_getfcn
 
QofSetterFunc param_setfcn
 
QofCompareFunc param_compfcn
 
gpointer param_userdata
 

Detailed Description

This structure is for each queryable parameter in an object.

– param_name is the name of the parameter. – param_type is the type of the parameter, which can be either another object (QofIdType) or it can be a core data type (QofType). – param_getfcn is the function to actually obtain the parameter – param_setfcn is the function to actually set the parameter – param_userdata is a place where the object author can place any desired object-author-defined data (and thus can be used by the author-defined setter/getter).

Either the getter or the setter may be NULL.

XXX todo/fixme: need to define a destroy callback, so that when the param memory is freed, the callback can be used to release the user-defined data.

Definition at line 212 of file qofclass.h.


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