QOF Objects are also used by the query system ....
XXX todo, we should split out the storage aspects of this thing from the 'foreach' that query depends on. These are kinad unrelated concepts.
|
Files |
file | qofobject.h |
| the Core Object Registration/Lookup Interface
|
Data Structures |
struct | _QofObject |
Initialize the object registration subsystem |
void | qof_object_initialize (void) |
void | qof_object_shutdown (void) |
Defines |
#define | QOF_OBJECT_VERSION 1 |
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) |
Functions |
gboolean | qof_object_register (const QofObject *object) |
const QofObject * | qof_object_lookup (QofIdTypeConst type_name) |
gpointer | qof_object_new_instance (QofIdTypeConst type_name, QofBook *book) |
const char * | qof_object_get_type_label (QofIdTypeConst type_name) |
const char * | qof_object_printable (QofIdTypeConst type_name, gpointer instance) |
void | qof_object_foreach_type (QofForeachTypeCB cb, gpointer user_data) |
void | qof_object_foreach (QofIdTypeConst type_name, QofBook *book, QofEntityForeachCB cb, gpointer user_data) |
gboolean | qof_object_register_backend (QofIdTypeConst type_name, const char *backend_name, gpointer be_data) |
gpointer | qof_object_lookup_backend (QofIdTypeConst type_name, const char *backend_name) |
void | qof_object_foreach_backend (const char *backend_name, QofForeachBackendTypeCB cb, gpointer user_data) |