QOF: QofInstance_s Struct Reference

QOF 0.7.5

Data Fields
QofInstance_s Struct Reference

## Data Fields
QofEntity | entity
QofBook * | book
KvpFrame * | kvp_data
const QofParam * | param
QofTime * | update_time
Timespec | last_update
gint | editlevel
gboolean | do_free
gboolean | dirty

## Detailed Description

Definition at line 35 of file qofinstance-p.h.

## Field Documentation

## ◆ book

QofBook* QofInstance_s::book

The entity_table in which this instance is stored

Definition at line 41 of file qofinstance-p.h.

## ◆ entity

QofEntity QofInstance_s::entity

Globally unique id identifying this instance

Definition at line 38 of file qofinstance-p.h.

## ◆ kvp_data

KvpFrame* QofInstance_s::kvp_data

kvp_data is a key-value pair database for storing arbirtary information associated with this instance.

See src/engine/kvp_doc.txt for a list and description of the important keys.

Definition at line 47 of file qofinstance-p.h.

## ◆ param

const QofParam* QofInstance_s::param

Current QofParam being edited / committed

Since
  0.7.1

Definition at line 52 of file qofinstance-p.h.

## ◆ update_time

QofTime* QofInstance_s::update_time

Time of the last modification to this instance. Typically used to compare two versions of the same object, to see which is newer. Reserved for SQL use, to compare the version in local memory to the remote, server version.

Since
  0.7.0

Definition at line 61 of file qofinstance-p.h.

The documentation for this struct was generated from the following file:

- qofinstance-p.h