QOF: qofquerycore.h File Reference

QOF 0.7.5

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

Data Structures | Typedefs | Enumerations
qofquerycore.h File Reference
Query Object Framework » Query: Querying for Objects

API for providing core Query data types. More...

`#include "qofnumeric.h"`
`#include "qofdate.h"`
`#include "kvpframe.h"`
`#include "qofclass.h"`

Go to the source code of this file.

## Data Structures
struct | _QofQueryPredData

## Typedefs
typedef struct _QofQueryPredData | QofQueryPredData

## Enumerations
enum | QofQueryCompare { QOF_COMPARE_LT = 1, QOF_COMPARE_LTE, QOF_COMPARE_EQUAL, QOF_COMPARE_GT, QOF_COMPARE_GTE, QOF_COMPARE_NEQ }
enum | QofStringMatch { QOF_STRING_MATCH_NORMAL = 1, QOF_STRING_MATCH_CASEINSENSITIVE }
enum | QofDateMatch { QOF_DATE_MATCH_NORMAL = 1, QOF_DATE_MATCH_DAY }
enum | QofNumericMatch { QOF_NUMERIC_MATCH_DEBIT = 1, QOF_NUMERIC_MATCH_CREDIT, QOF_NUMERIC_MATCH_ANY }
enum | QofGuidMatch { QOF_GUID_MATCH_ANY = 1, QOF_GUID_MATCH_NONE, QOF_GUID_MATCH_NULL, QOF_GUID_MATCH_ALL, QOF_GUID_MATCH_LIST_ANY }
enum | QofCharMatch { QOF_CHAR_MATCH_ANY = 1, QOF_CHAR_MATCH_NONE }

## Functions
Core Data Type Predicates
QofQueryPredData * | qof_query_string_predicate (QofQueryCompare how, const gchar *str, QofStringMatch options, gboolean is_regex)
QofQueryPredData * | qof_query_time_predicate (QofQueryCompare how, QofDateMatch options, QofTime *qt)
QofQueryPredData * | qof_query_numeric_predicate (QofQueryCompare how, QofNumericMatch options, QofNumeric value)
QofQueryPredData * | qof_query_guid_predicate (QofGuidMatch options, GList *guids)
QofQueryPredData * | qof_query_int32_predicate (QofQueryCompare how, gint32 val)
QofQueryPredData * | qof_query_int64_predicate (QofQueryCompare how, gint64 val)
QofQueryPredData * | qof_query_double_predicate (QofQueryCompare how, double val)
QofQueryPredData * | qof_query_boolean_predicate (QofQueryCompare how, gboolean val)
QofQueryPredData * | qof_query_char_predicate (QofCharMatch options, const gchar *chars)
QofQueryPredData * | qof_query_collect_predicate (QofGuidMatch options, QofCollection *coll)
QofQueryPredData * | qof_query_choice_predicate (QofGuidMatch options, GList *guids)
QofQueryPredData * | qof_query_kvp_predicate (QofQueryCompare how, GSList *path, const KvpValue *value)
QofQueryPredData * | qof_query_kvp_predicate_path (QofQueryCompare how, const gchar *path, const KvpValue *value)
QofQueryPredData * | qof_query_core_predicate_copy (QofQueryPredData *pdata)
void | qof_query_core_predicate_free (QofQueryPredData *pdata)
gboolean | qof_query_time_predicate_get_time (QofQueryPredData *pd, QofTime *qt)
gchar * | qof_query_core_to_string (QofType, gpointer object, QofParam *getter)

## Detailed Description

API for providing core Query data types.

Author
  Copyright (C) 2002 Derek Atkins warlo.nosp@m.rd@M.nosp@m.IT.ED.nosp@m.U

Definition in file qofquerycore.h.