|
gwenhywfar
5.3.0
|
#include <gwenhywfar/gwenhywfarapi.h>#include <gwenhywfar/gwen_parser_element.h>#include <gwenhywfar/db.h>
Go to the source code of this file.
Functions | |
| GWENHYWFAR_API int | GWEN_Parser_CheckTree (const GWEN_PARSER_ELEMENT_TREE *tDefinitions, const GWEN_PARSER_ELEMENT_TREE *tData) |
| GWENHYWFAR_API int | GWEN_Parser_ToDbTree (GWEN_PARSER_ELEMENT_TREE *tData, GWEN_DB_NODE *db) |
| GWENHYWFAR_API int | GWEN_Parser_UpdateTree (const GWEN_PARSER_ELEMENT_TREE *tDefinitions, GWEN_PARSER_ELEMENT_TREE *tData) |
| GWENHYWFAR_API int GWEN_Parser_CheckTree | ( | const GWEN_PARSER_ELEMENT_TREE * | tDefinitions, |
| const GWEN_PARSER_ELEMENT_TREE * | tData | ||
| ) |
Checks all elements of the parser element tree against the definition tree.
Definition at line 147 of file gwen_parser_check.c.
References DBG_DEBUG, GWEN_LOGDOMAIN, and GWEN_Parser__CheckSequence().

| GWENHYWFAR_API int GWEN_Parser_ToDbTree | ( | GWEN_PARSER_ELEMENT_TREE * | tData, |
| GWEN_DB_NODE * | db | ||
| ) |
Copies data from the element tree to the given db node using the dbName from the individual parser elements.
Definition at line 66 of file gwen_parser_todb.c.
References DBG_INFO, GWEN_LOGDOMAIN, and GWEN_Parser__toDbElementAndChildren().

| GWENHYWFAR_API int GWEN_Parser_UpdateTree | ( | const GWEN_PARSER_ELEMENT_TREE * | tDefinitions, |
| GWEN_PARSER_ELEMENT_TREE * | tData | ||
| ) |
Updates all elements of the parser element tree with info from the definition tree. That is, all elements from the data tree get their DbName from their matching definition elements.
Definition at line 152 of file gwen_parser_update.c.
References DBG_DEBUG, GWEN_LOGDOMAIN, and GWEN_Parser__UpdateSequence().

1.8.14