qofbook.h File Reference


Detailed Description

Encapsulate all the information about a dataset.

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

Copyright (c) 2000 Dave Peticolas

Definition in file qofbook.h.

#include "qofid.h"
#include "kvp_frame.h"
#include "qofinstance.h"

Go to the source code of this file.

Data Structures

struct  _QofBook
struct  _QofBookClass

Defines

#define QOF_TYPE_BOOK   (qof_book_get_type ())
#define QOF_BOOK(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), QOF_TYPE_BOOK, QofBook))
#define QOF_BOOK_CLASS(k)   (G_TYPE_CHECK_CLASS_CAST((k), QOF_TYPE_BOOK, QofBookClass))
#define QOF_IS_BOOK(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), QOF_TYPE_BOOK))
#define QOF_IS_BOOK_CLASS(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), QOF_TYPE_BOOK))
#define QOF_BOOK_GET_CLASS(o)   (G_TYPE_INSTANCE_GET_CLASS ((o), QOF_TYPE_BOOK, QofBookClass))
#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))
#define qof_book_get_guid(X)   qof_entity_get_guid (QOF_INSTANCE(X))

Typedefs

typedef _QofBookClass QofBookClass
typedef void(*) QofBookDirtyCB (QofBook *, gboolean dirty, gpointer user_data)
typedef GList QofBookList
typedef void(*) QofBookFinalCB (QofBook *, gpointer key, gpointer user_data)
typedef void(*) QofCollectionForeachCB (QofCollection *, gpointer user_data)

Functions

GType qof_book_get_type (void)
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 (const QofBook *, QofIdType)
void qof_book_foreach_collection (const 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 (const QofBook *book, const gchar *key)
gboolean qof_book_shutting_down (const QofBook *book)
gboolean qof_book_not_saved (const QofBook *book)
void qof_book_mark_saved (QofBook *book)
void qof_book_mark_dirty (QofBook *book)
void qof_book_print_dirty (const QofBook *book)
time_t qof_book_get_dirty_time (const QofBook *book)
void qof_book_set_dirty_cb (QofBook *book, QofBookDirtyCB cb, gpointer user_data)
void qof_book_kvp_changed (QofBook *book)
gboolean qof_book_equal (const QofBook *book_1, const QofBook *book_2)
gint64 qof_book_get_counter (const QofBook *book, const char *counter_name)


Generated on Sun Oct 12 05:07:50 2008 for GnuCash by  doxygen 1.5.2