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

qofclass.h File Reference


Detailed Description

API for registering paramters on objects.

Author:
Copyright (C) 2002 Derek Atkins <warlord@MIT.EDU>

Copyright (C) 2003 Linas Vepstas <linas@linas.org>

#include "qofid.h"

Data Structures

struct  _QofParam

Defines

#define QOF_TYPE_STRING   "string"
#define QOF_TYPE_DATE   "date"
#define QOF_TYPE_NUMERIC   "numeric"
#define QOF_TYPE_DEBCRED   "debcred"
#define QOF_TYPE_GUID   "guid"
#define QOF_TYPE_INT32   "gint32"
#define QOF_TYPE_INT64   "gint64"
#define QOF_TYPE_DOUBLE   "double"
#define QOF_TYPE_BOOLEAN   "boolean"
#define QOF_TYPE_KVP   "kvp"
#define QOF_TYPE_CHAR   "character"

Typedefs

typedef const char * QofType
typedef _QofParam QofParam
typedef gpointer(* QofAccessFunc )(gpointer object, const QofParam *param)
typedef void(* QofSetterFunc )(gpointer, gpointer)
typedef int(* QofSortFunc )(gpointer, gpointer)

Functions

void qof_class_register (QofIdTypeConst obj_name, QofSortFunc default_sort_fcn, const QofParam *params)
gboolean qof_class_is_registered (QofIdTypeConst obj_name)
QofType qof_class_get_parameter_type (QofIdTypeConst obj_name, const char *param_name)
const QofParamqof_class_get_parameter (QofIdTypeConst obj_name, const char *parameter)
QofAccessFunc qof_class_get_parameter_getter (QofIdTypeConst obj_name, const char *parameter)
QofSetterFunc qof_class_get_parameter_setter (QofIdTypeConst obj_name, const char *parameter)


Generated on Sun May 23 15:41:46 2004 for QOF by doxygen 1.3.6-20040222