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

Object instance holds common fields that most gnucash objects use. More...

#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
 

Macros

#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 struct _QofInstanceClass QofInstanceClass
 
typedef struct QofInstance_s QofInstance
 
typedef struct _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 GncGUIDqof_instance_get_guid (gconstpointer)
 
const GncGUIDqof_entity_get_guid (gconstpointer)
 
QofCollection * qof_instance_get_collection (gconstpointer inst)
 
gint qof_instance_guid_compare (const gconstpointer ptr1, const gconstpointer ptr2)
 
gint qof_instance_get_editlevel (gconstpointer ptr)
 
int qof_instance_version_cmp (const QofInstance *left, const QofInstance *right)
 
gboolean qof_instance_get_destroying (gconstpointer ptr)
 
gboolean qof_instance_get_dirty_flag (gconstpointer ptr)
 
void qof_instance_print_dirty (const QofInstance *entity, gpointer dummy)
 
gboolean qof_instance_get_dirty (QofInstance *)
 
gboolean qof_instance_get_infant (const QofInstance *inst)
 
void qof_instance_get (const QofInstance *inst, const gchar *first_param,...)
 Wrapper for g_object_get.
 
void qof_instance_set (QofInstance *inst, const gchar *first_param,...)
 Wrapper for g_object_set Group setting multiple parameters in a single begin/commit/rollback.
 
guint32 qof_instance_get_idata (gconstpointer inst)
 
gchar * qof_instance_get_display_name (const QofInstance *inst)
 
GList * qof_instance_get_referring_object_list (const QofInstance *inst)
 
gboolean qof_instance_refers_to_object (const QofInstance *inst, const QofInstance *ref)
 
GList * qof_instance_get_typed_referring_object_list (const QofInstance *inst, const QofInstance *ref)
 
GList * qof_instance_get_referring_object_list_from_collection (const QofCollection *coll, const QofInstance *ref)
 

Detailed Description

Object instance holds common fields that most gnucash objects use.

Author
Copyright (C) 2003,2004 Linas Vepstas linas.nosp@m.@lin.nosp@m.as.or.nosp@m.g
Copyright (c) 2007 David Hampton hampt.nosp@m.on@e.nosp@m.mploy.nosp@m.ees..nosp@m.org

Definition in file qofinstance.h.