GnuCash
5.6-150-g038405b370+
|
the Core Object Registration/Lookup Interface More...
Go to the source code of this file.
Data Structures | |
struct | QofObject |
This is the QofObject Class descriptor. More... | |
Macros | |
#define | QOF_OBJECT_VERSION 3 |
Defines the version of the core object object registration interface. More... | |
#define | QOF_MOD_OBJECT "qof.object" |
Typedefs | |
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) |
Register new types of object objects. | |
const QofObject * | qof_object_lookup (QofIdTypeConst type_name) |
Lookup an object definition. | |
gpointer | qof_object_new_instance (QofIdTypeConst type_name, QofBook *book) |
Create an instance of the indicated type, returning a pointer to that instance. More... | |
const char * | qof_object_get_type_label (QofIdTypeConst type_name) |
Get the printable label for a type. More... | |
const char * | qof_object_printable (QofIdTypeConst type_name, gpointer instance) |
void | qof_object_foreach_type (QofForeachTypeCB cb, gpointer user_data) |
Invoke the callback 'cb' on every object class definition. More... | |
void | qof_object_foreach (QofIdTypeConst type_name, QofBook *book, QofInstanceForeachCB cb, gpointer user_data) |
Invoke the callback 'cb' on every instance ov a particular object type. More... | |
void | qof_object_foreach_sorted (QofIdTypeConst type_name, QofBook *book, QofInstanceForeachCB cb, gpointer user_data) |
Invoke callback 'cb' on each instance in guid orted order. | |
Initialize the object registration subsystem | |
void | qof_object_initialize (void) |
void | qof_object_shutdown (void) |
the Core Object Registration/Lookup Interface
Definition in file qofobject.h.