|
GnuCash c935c2f+
|
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 |
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 157 of file qofclass.h.
| QofCompareFunc QofParam::param_compfcn |
Definition at line 163 of file qofclass.h.
| QofAccessFunc QofParam::param_getfcn |
Definition at line 161 of file qofclass.h.
| const char* QofParam::param_name |
Definition at line 159 of file qofclass.h.
| QofSetterFunc QofParam::param_setfcn |
Definition at line 162 of file qofclass.h.
| QofType QofParam::param_type |
Definition at line 160 of file qofclass.h.
| gpointer QofParam::param_userdata |
Definition at line 164 of file qofclass.h.