QOF Objects are also used by the query system ....
To work with your own QOF Objects, you can use the QOF Generator to create sample objects and a mini-application with the SQL-type query interface. http://qof-gen.sourceforge.net/
XXX todo, we should split out the storage aspects of this thing from the 'foreach' that query depends on. These are kinda unrelated concepts.
Files | |
| file | qofobject.h |
| the Core Object Registration/Lookup Interface | |
Data Structures | |
| struct | _QofObject |
Defines | |
| #define | QOF_OBJECT_VERSION 3 |
| #define | QOF_MOD_OBJECT "qof-object" |
Typedefs | |
| typedef _QofObject | QofObject |
| typedef void(* | QofForeachCB )(gpointer obj, gpointer user_data) |
| typedef void(* | QofForeachTypeCB )(QofObject *type, gpointer user_data) |
| typedef void(* | QofForeachBackendTypeCB )(QofIdTypeConst type, gpointer backend_data, gpointer user_data) |
|
|
Defines the version of the core object object registration interface. Only object modules compiled against this version of the interface will load properly Definition at line 59 of file qofobject.h. |
1.4.4