GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
qofobject.h File Reference

the Core Object Registration/Lookup Interface More...

#include "qofbook.h"
#include "qofid.h"
#include "qofchoice.h"

Go to the source code of this file.

Data Structures

struct  _QofObject
 

Macros

#define QOF_OBJECT_VERSION   3
 
#define QOF_MOD_OBJECT   "qof.object"
 

Typedefs

typedef struct _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 QofObjectqof_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, QofInstanceForeachCB cb, gpointer user_data)
 
void qof_object_foreach_sorted (QofIdTypeConst type_name, QofBook *book, QofInstanceForeachCB 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)
 
Initialize the object registration subsystem
void qof_object_initialize (void)
 
void qof_object_shutdown (void)
 

Detailed Description

the Core Object Registration/Lookup Interface

Author
Copyright (c) 2001,2002 Derek Atkins warlo.nosp@m.rd@M.nosp@m.IT.ED.nosp@m.U

Definition in file qofobject.h.