QOF  0.7.5
qofinstance.h File Reference

Object instance holds common fields that most QofObjects use. More...

#include "guid.h"
#include "qofbook.h"
#include "qofid.h"
#include "qoftime.h"
#include "kvpframe.h"

Go to the source code of this file.

Macros

#define QOF_INSTANCE(object)   ((QofInstance *)(object))
 

Typedefs

typedef struct QofInstance_s QofInstance
 

Functions

void qof_instance_init (QofInstance *, QofIdType, QofBook *)
 
void qof_instance_release (QofInstance *inst)
 
QofBookqof_instance_get_book (QofInstance *)
 
const GUIDqof_instance_get_guid (QofInstance *)
 
KvpFrameqof_instance_get_slots (QofInstance *)
 
QofTimeqof_instance_get_update_time (QofInstance *inst)
 
gint qof_instance_version_cmp (QofInstance *left, QofInstance *right)
 
gboolean qof_instance_is_dirty (QofInstance *)
 
void qof_instance_set_dirty (QofInstance *inst)
 Set the dirty flag. More...
 
gboolean qof_instance_check_edit (QofInstance *inst)
 
gboolean qof_instance_do_free (QofInstance *inst)
 
void qof_instance_mark_free (QofInstance *inst)
 
QofInstanceqof_instance_create (QofIdType type, QofBook *book)
 
void qof_instance_gemini (QofInstance *to, QofInstance *from)
 
QofInstanceqof_instance_lookup_twin (QofInstance *src, QofBook *book)
 

Detailed Description

Object instance holds common fields that most QofObjects use.

Author
Copyright (C) 2003,2004 Linas Vepstas linas.nosp@m.@lin.nosp@m.as.or.nosp@m.g

Definition in file qofinstance.h.