Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

_QofObject Struct Reference
[Objects]

#include <qofobject.h>


Detailed Description

This is the QofObject Class descriptor


Data Fields

gint interface_version
QofIdType e_type
const char * type_label
gpointer(* new )(QofBook *)
void(* book_begin )(QofBook *)
void(* book_end )(QofBook *)
gboolean(* is_dirty )(QofCollection *)
void(* mark_clean )(QofCollection *)
void(* foreach )(QofCollection *, QofEntityForeachCB, gpointer)
const char *(* printable )(gpointer instance)


Field Documentation

void(* _QofObject::book_begin)(QofBook *)
 

book_begin is called from within the Book routines to create module-specific hooks in a book whenever a book is created.

void(* _QofObject::book_end)(QofBook *)
 

book_end is called when the book is being closed, to clean up (and free memory).

void(* _QofObject::foreach)(QofCollection *, QofEntityForeachCB, gpointer)
 

foreach() is used to execute a callback over each object stored in the particular book

gboolean(* _QofObject::is_dirty)(QofCollection *)
 

Determine if there are any dirty items in this book

void(* _QofObject::mark_clean)(QofCollection *)
 

Mark this object's book clean (for after a load)

gpointer(* _QofObject::new)(QofBook *)
 

Create a new instance of this object type.

const char*(* _QofObject::printable)(gpointer instance)
 

Given a particular instance of this type, return a printable string. Argument should really be QofInstance not gpointer..


The documentation for this struct was generated from the following file:
Generated on Sun May 23 15:41:47 2004 for QOF by doxygen 1.3.6-20040222