gwenhywfar  4.99.8beta
Functions
gwen_parser_element_fns.c File Reference
#include "gwen_parser_element_fns.h"
Include dependency graph for gwen_parser_element_fns.c:

Go to the source code of this file.

Functions

void GWEN_ParserElement_Dump (const GWEN_PARSER_ELEMENT *e, int indent)
 
void GWEN_ParserElement_DumpWithChildren (const GWEN_PARSER_ELEMENT *e, int indent)
 
GWEN_PARSER_ELEMENT * GWEN_ParserElement_fromXml (GWEN_XMLNODE *node)
 
int GWEN_ParserElement_toXml (const GWEN_PARSER_ELEMENT *e, GWEN_XMLNODE *node)
 
int GWEN_ParserElement_Tree__ReadXml (GWEN_PARSER_ELEMENT_TREE *et, GWEN_PARSER_ELEMENT *eParent, GWEN_XMLNODE *node)
 
int GWEN_ParserElement_Tree__WriteXml (const GWEN_PARSER_ELEMENT *e, GWEN_XMLNODE *node)
 
void GWEN_ParserElement_Tree_Dump (const GWEN_PARSER_ELEMENT_TREE *et, int indent)
 
int GWEN_ParserElement_Tree_ReadXml (GWEN_PARSER_ELEMENT_TREE *et, GWEN_XMLNODE *node)
 
int GWEN_ParserElement_Tree_ReadXmlFile (GWEN_PARSER_ELEMENT_TREE *et, const char *fname)
 
int GWEN_ParserElement_Tree_WriteXml (const GWEN_PARSER_ELEMENT_TREE *et, GWEN_XMLNODE *node)
 
int GWEN_ParserElement_Tree_WriteXmlFile (GWEN_PARSER_ELEMENT_TREE *et, const char *fname)
 

Function Documentation

void GWEN_ParserElement_Dump ( const GWEN_PARSER_ELEMENT *  e,
int  indent 
)

Definition at line 273 of file gwen_parser_element_fns.c.

Referenced by GWEN_ParserElement_DumpWithChildren().

Here is the caller graph for this function:

void GWEN_ParserElement_DumpWithChildren ( const GWEN_PARSER_ELEMENT *  e,
int  indent 
)

Definition at line 307 of file gwen_parser_element_fns.c.

References GWEN_ParserElement_Dump(), and GWEN_ParserElement_DumpWithChildren().

Referenced by GWEN_ParserElement_DumpWithChildren(), and GWEN_ParserElement_Tree_Dump().

Here is the call graph for this function:

Here is the caller graph for this function:

GWEN_PARSER_ELEMENT* GWEN_ParserElement_fromXml ( GWEN_XMLNODE node)

Definition at line 31 of file gwen_parser_element_fns.c.

References DBG_ERROR, GWEN_LOGDOMAIN, GWEN_XMLNode_GetIntProperty(), GWEN_XMLNode_GetProperty(), and NULL.

Referenced by GWEN_ParserElement_Tree__ReadXml().

Here is the call graph for this function:

Here is the caller graph for this function:

int GWEN_ParserElement_toXml ( const GWEN_PARSER_ELEMENT *  e,
GWEN_XMLNODE node 
)

Definition at line 80 of file gwen_parser_element_fns.c.

References GWEN_XMLNode_SetIntProperty(), and GWEN_XMLNode_SetProperty().

Referenced by GWEN_ParserElement_Tree__WriteXml().

Here is the call graph for this function:

Here is the caller graph for this function:

int GWEN_ParserElement_Tree__ReadXml ( GWEN_PARSER_ELEMENT_TREE *  et,
GWEN_PARSER_ELEMENT *  eParent,
GWEN_XMLNODE node 
)

Definition at line 106 of file gwen_parser_element_fns.c.

References DBG_INFO, GWEN_ERROR_GENERIC, GWEN_LOGDOMAIN, GWEN_ParserElement_fromXml(), GWEN_XMLNode_FindFirstTag(), GWEN_XMLNode_FindNextTag(), and NULL.

Referenced by GWEN_ParserElement_Tree_ReadXml().

Here is the call graph for this function:

Here is the caller graph for this function:

int GWEN_ParserElement_Tree__WriteXml ( const GWEN_PARSER_ELEMENT *  e,
GWEN_XMLNODE node 
)

Definition at line 190 of file gwen_parser_element_fns.c.

References DBG_INFO, GWEN_LOGDOMAIN, GWEN_ParserElement_toXml(), GWEN_XMLNode_AddChild(), GWEN_XMLNode_free(), GWEN_XMLNode_new(), and GWEN_XMLNodeTypeTag.

Referenced by GWEN_ParserElement_Tree_WriteXml().

Here is the call graph for this function:

Here is the caller graph for this function:

void GWEN_ParserElement_Tree_Dump ( const GWEN_PARSER_ELEMENT_TREE *  et,
int  indent 
)

Definition at line 320 of file gwen_parser_element_fns.c.

References GWEN_ParserElement_DumpWithChildren().

Here is the call graph for this function:

int GWEN_ParserElement_Tree_ReadXml ( GWEN_PARSER_ELEMENT_TREE *  et,
GWEN_XMLNODE node 
)

Definition at line 143 of file gwen_parser_element_fns.c.

References GWEN_ParserElement_Tree__ReadXml(), and NULL.

Referenced by GWEN_ParserElement_Tree_ReadXmlFile().

Here is the call graph for this function:

Here is the caller graph for this function:

int GWEN_ParserElement_Tree_ReadXmlFile ( GWEN_PARSER_ELEMENT_TREE *  et,
const char *  fname 
)
int GWEN_ParserElement_Tree_WriteXml ( const GWEN_PARSER_ELEMENT_TREE *  et,
GWEN_XMLNODE node 
)

Definition at line 220 of file gwen_parser_element_fns.c.

References DBG_INFO, GWEN_LOGDOMAIN, and GWEN_ParserElement_Tree__WriteXml().

Referenced by GWEN_ParserElement_Tree_WriteXmlFile().

Here is the call graph for this function:

Here is the caller graph for this function:

int GWEN_ParserElement_Tree_WriteXmlFile ( GWEN_PARSER_ELEMENT_TREE *  et,
const char *  fname 
)