GnuCash
2.6.99
|
#include <gnc-backend-sql.h>
Data Fields | |
const gchar * | col_name |
const gchar * | col_type |
gint | size |
gint | flags |
const gchar * | gobj_param_name |
const gchar * | qof_param_name |
QofAccessFunc | getter |
QofSetterFunc | setter |
The GncSqlColumnTableEntry struct contains all of the information required to copy information between an object and the database for a specific object property.
If an entry contains a gobj_param_name value, this string is used as the property name for a call to g_object_get() or g_object_set(). If the gobj_param_name value is NULL but qof_param_name is not NULL, this value is used as the parameter name for a call to qof_class_get_parameter_getter(). If both of these values are NULL, getter and setter are the addresses of routines to return or set the parameter value, respectively.
The database description for an object consists of an array of GncSqlColumnTableEntry objects, with a final member having col_name == NULL.
Definition at line 347 of file gnc-backend-sql.h.
const gchar* GncSqlColumnTableEntry::col_name |
Column name
Definition at line 349 of file gnc-backend-sql.h.
const gchar* GncSqlColumnTableEntry::col_type |
Column type
Definition at line 350 of file gnc-backend-sql.h.
gint GncSqlColumnTableEntry::flags |
Column flags
Definition at line 356 of file gnc-backend-sql.h.
QofAccessFunc GncSqlColumnTableEntry::getter |
General access function
Definition at line 362 of file gnc-backend-sql.h.
const gchar* GncSqlColumnTableEntry::gobj_param_name |
If non-null, g_object param name
Definition at line 358 of file gnc-backend-sql.h.
const gchar* GncSqlColumnTableEntry::qof_param_name |
If non-null, qof parameter name
Definition at line 360 of file gnc-backend-sql.h.
QofSetterFunc GncSqlColumnTableEntry::setter |
General setter function
Definition at line 364 of file gnc-backend-sql.h.
gint GncSqlColumnTableEntry::size |
Column size in bytes, for string columns
Definition at line 351 of file gnc-backend-sql.h.