gwenhywfar  5.3.0
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

◆ GWEN_ParserElement_Dump()

void GWEN_ParserElement_Dump ( const GWEN_PARSER_ELEMENT *  e,
int  indent 
)

Definition at line 281 of file gwen_parser_element_fns.c.

Referenced by GWEN_ParserElement_DumpWithChildren().

Here is the caller graph for this function:

◆ GWEN_ParserElement_DumpWithChildren()

void GWEN_ParserElement_DumpWithChildren ( const GWEN_PARSER_ELEMENT *  e,
int  indent 
)

Definition at line 325 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_ParserElement_fromXml()

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:

◆ GWEN_ParserElement_toXml()

int GWEN_ParserElement_toXml ( const GWEN_PARSER_ELEMENT *  e,
GWEN_XMLNODE node 
)

Definition at line 81 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:

◆ GWEN_ParserElement_Tree__ReadXml()

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

Definition at line 108 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:

◆ GWEN_ParserElement_Tree__WriteXml()

int GWEN_ParserElement_Tree__WriteXml ( const GWEN_PARSER_ELEMENT *  e,
GWEN_XMLNODE node 
)

Definition at line 195 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:

◆ GWEN_ParserElement_Tree_Dump()

void GWEN_ParserElement_Tree_Dump ( const GWEN_PARSER_ELEMENT_TREE *  et,
int  indent 
)

Definition at line 339 of file gwen_parser_element_fns.c.

References GWEN_ParserElement_DumpWithChildren().

Here is the call graph for this function:

◆ GWEN_ParserElement_Tree_ReadXml()

int GWEN_ParserElement_Tree_ReadXml ( GWEN_PARSER_ELEMENT_TREE *  et,
GWEN_XMLNODE node 
)

Definition at line 146 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:

◆ GWEN_ParserElement_Tree_ReadXmlFile()

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

◆ GWEN_ParserElement_Tree_WriteXml()

int GWEN_ParserElement_Tree_WriteXml ( const GWEN_PARSER_ELEMENT_TREE *  et,
GWEN_XMLNODE node 
)

Definition at line 226 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:

◆ GWEN_ParserElement_Tree_WriteXmlFile()

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