qofinstance.h File Reference


Detailed Description

Object instance holds common fields that most gnucash objects use.

Author:
Copyright (C) 2003,2004 Linas Vepstas <linas@linas.org>

Copyright (c) 2007 David Hampton <hampton@employees.org>

Definition in file qofinstance.h.

#include "qofid.h"
#include "guid.h"
#include "gnc-date.h"
#include "kvp_frame.h"
#include "qof-gobject.h"

Go to the source code of this file.

Data Structures

struct  QofInstance_s
struct  _QofInstanceClass

Defines

#define QOF_TYPE_INSTANCE   (qof_instance_get_type ())
#define QOF_INSTANCE(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), QOF_TYPE_INSTANCE, QofInstance))
#define QOF_INSTANCE_CLASS(k)   (G_TYPE_CHECK_CLASS_CAST((k), QOF_TYPE_INSTANCE, QofInstanceClass))
#define QOF_IS_INSTANCE(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), QOF_TYPE_INSTANCE))
#define QOF_IS_INSTANCE_CLASS(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), QOF_TYPE_INSTANCE))
#define QOF_INSTANCE_GET_CLASS(o)   (G_TYPE_INSTANCE_GET_CLASS ((o), QOF_TYPE_INSTANCE, QofInstanceClass))
#define qof_instance_is_dirty   qof_instance_get_dirty

Typedefs

typedef _QofInstanceClass QofInstanceClass
typedef QofInstance_s QofInstance
typedef _QofBook QofBook
 QofBook reference.

Functions

GType qof_instance_get_type (void)
void qof_instance_init_data (QofInstance *, QofIdType, QofBook *)
QofBookqof_instance_get_book (gconstpointer)
void qof_instance_set_book (gconstpointer inst, QofBook *book)
void qof_instance_copy_book (gpointer ptr1, gconstpointer ptr2)
gboolean qof_instance_books_equal (gconstpointer ptr1, gconstpointer ptr2)
const GUIDqof_instance_get_guid (gconstpointer)
const GUIDqof_entity_get_guid (gconstpointer)
QofCollectionqof_instance_get_collection (gconstpointer inst)
void qof_instance_set_guid (gpointer inst, const GUID *guid)
void qof_instance_copy_guid (gpointer to, gconstpointer from)
gint qof_instance_guid_compare (const gconstpointer ptr1, const gconstpointer ptr2)
KvpFrameqof_instance_get_slots (const QofInstance *)
Timespec qof_instance_get_last_update (const QofInstance *inst)
gint qof_instance_get_editlevel (gconstpointer ptr)
void qof_instance_increase_editlevel (gpointer ptr)
void qof_instance_decrease_editlevel (gpointer ptr)
void qof_instance_reset_editlevel (gpointer ptr)
int qof_instance_version_cmp (const QofInstance *left, const QofInstance *right)
gboolean qof_instance_get_destroying (gconstpointer ptr)
void qof_instance_set_destroying (gpointer ptr, gboolean value)
gboolean qof_instance_get_dirty_flag (gconstpointer ptr)
void qof_instance_print_dirty (const QofInstance *entity, gpointer dummy)
gboolean qof_instance_get_dirty (QofInstance *)
void qof_instance_set_dirty (QofInstance *inst)
 Set the dirty flag.
void qof_instance_mark_clean (QofInstance *)
void qof_instance_set_editlevel (gpointer inst, gint level)
gboolean qof_instance_check_edit (const QofInstance *inst)
gboolean qof_instance_get_infant (const QofInstance *inst)
gint32 qof_instance_get_version (gconstpointer inst)
gint qof_instance_compare_version (gconstpointer inst1, gconstpointer inst2)
void qof_instance_set_version (gpointer inst, gint32 value)
void qof_instance_copy_version (gpointer to, gconstpointer from)
void qof_instance_increment_version (gpointer inst, guint32 new_check)
guint32 qof_instance_get_version_check (gconstpointer inst)
void qof_instance_set_version_check (gpointer inst, guint32 value)
void qof_instance_copy_version_check (gpointer to, gconstpointer from)
guint32 qof_instance_get_idata (gconstpointer inst)
void qof_instance_set_idata (gpointer inst, guint32 idata)
void qof_instance_gemini (QofInstance *to, const QofInstance *from)
QofInstanceqof_instance_lookup_twin (const QofInstance *src, QofBook *book)


Generated on Tue Oct 14 05:05:11 2008 for GnuCash by  doxygen 1.5.2