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

_QofBook Struct Reference
[Object_Private]

#include <qofbook-p.h>


Detailed Description

Book structure


Data Fields

QofEntity entity
KvpFramekvp_data
GHashTable * hash_of_collections
GHashTable * data_tables
char book_open
gboolean dirty
gint32 version
QofBackendbackend
guint32 idata


Field Documentation

QofBackend* _QofBook::backend
 

To be technically correct, backends belong to sessions and not books. So the pointer below "really shouldn't be here", except that it provides a nice convenience, avoiding a lookup from the session. Better solutions welcome ...

char _QofBook::book_open
 

state flag: 'y' means 'open for editing', 'n' means 'book is closed'

GHashTable* _QofBook::data_tables
 

In order to store arbitrary data, for extensibility, add a table that will be used to hold arbitrary pointers.

gboolean _QofBook::dirty
 

dirty/clean flag. If dirty, then this book has been modified, but has not yet been written out to storage (file/database)

QofEntity _QofBook::entity
 

Unique guid for this book.

GHashTable* _QofBook::hash_of_collections
 

The entity table associates the GUIDs of all the objects belonging to this book, with their pointers to the respective objects. This allows a lookup of objects based on thier guid.

guint32 _QofBook::idata
 

used by the sql backend for kvp management

KvpFrame* _QofBook::kvp_data
 

The KvpFrame provides a place for top-level data associated with this book.

gint32 _QofBook::version
 

version number, used for tracking multiuser updates


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