QOF  0.8.7
Data Structures | Macros | Typedefs | Functions

the Core Object Description 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   4
 
#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 gchar * qof_object_get_type_label (QofIdTypeConst type_name)
 
const gchar * 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 gchar *backend_name, gpointer be_data)
 
gpointer qof_object_lookup_backend (QofIdTypeConst type_name, const gchar *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 Description Interface

Author
Copyright (c) 2001,2002 Derek Atkins warlo.nosp@m.rd@M.nosp@m.IT.ED.nosp@m.U
Copyright (c) 2006 Neil Williams linux.nosp@m.@cod.nosp@m.ehelp.nosp@m..co..nosp@m.uk

Definition in file qofobject.h.