qofbook.h File Reference

Detailed Description

Encapsulate all the information about a dataset.

Copyright (c) 1998, 1999, 2001, 2003 Linas Vepstas <linas@linas.org>

Copyright (c) 2000 Dave Peticolas

Definition in file qofbook.h.

#include "qof.h"

Go to the source code of this file.


#define QOF_BOOK_LOOKUP_ENTITY(book, guid, e_type, c_type)
 Encapsulates all the information about a dataset manipulated by QOF. This is the top-most structure used for anchoring data.
#define qof_book_get_slots(book)   qof_instance_get_slots(QOF_INSTANCE(book))


typedef struct _QofBook QofBook
 QofBook reference.
typedef GList QofBookList
typedef void(* QofBookFinalCB )(QofBook *, gpointer key, gpointer user_data)
typedef void(* QofCollectionForeachCB )(QofCollection *, gpointer user_data)


gboolean qof_book_register (void)
QofBookqof_book_new (void)
void qof_book_destroy (QofBook *book)
void qof_book_mark_closed (QofBook *book)
QofCollectionqof_book_get_collection (QofBook *, QofIdType)
void qof_book_foreach_collection (QofBook *, QofCollectionForeachCB, gpointer)
void qof_book_set_data (QofBook *book, const gchar *key, gpointer data)
void qof_book_set_data_fin (QofBook *book, const gchar *key, gpointer data, QofBookFinalCB)
gpointer qof_book_get_data (QofBook *book, const gchar *key)
gboolean qof_book_shutting_down (QofBook *book)
gboolean qof_book_not_saved (QofBook *book)
void qof_book_mark_saved (QofBook *book)
void qof_book_kvp_changed (QofBook *book)
gboolean qof_book_equal (QofBook *book_1, QofBook *book_2)
gint64 qof_book_get_counter (QofBook *book, const gchar *counter_name)

Generated on Thu Jan 31 22:50:26 2008 for QOF by  doxygen 1.5.4