|
gwenhywfar
4.20.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.
| 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.
| 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.
1.8.13