gwenhywfar 5.12.0
xmlcmd_gxml.c File Reference
#include "xmlcmd_gxml_p.h"
#include <gwenhywfar/debug.h>
#include <ctype.h>
Include dependency graph for xmlcmd_gxml.c:

Go to the source code of this file.

Functions

void GWENHYWFAR_CB _freeData (GWEN_UNUSED void *bp, void *p)
static void GWENHYWFAR_CB _freeData (void *bp, void *p)
void GWEN_XmlCommanderGwenXml_EnterDocNode (GWEN_XMLCOMMANDER *cmd, GWEN_XMLNODE *xmlNode)
GWEN_DB_NODEGWEN_XmlCommanderGwenXml_GetCurrentDbGroup (const GWEN_XMLCOMMANDER *cmd)
GWEN_XMLNODEGWEN_XmlCommanderGwenXml_GetCurrentDocNode (const GWEN_XMLCOMMANDER *cmd)
GWEN_DB_NODEGWEN_XmlCommanderGwenXml_GetCurrentTempDbGroup (const GWEN_XMLCOMMANDER *cmd)
GWEN_DB_NODEGWEN_XmlCommanderGwenXml_GetDbRoot (const GWEN_XMLCOMMANDER *cmd)
GWEN_XMLNODEGWEN_XmlCommanderGwenXml_GetDocRoot (const GWEN_XMLCOMMANDER *cmd)
GWEN_DB_NODEGWEN_XmlCommanderGwenXml_GetTempDbRoot (const GWEN_XMLCOMMANDER *cmd)
void GWEN_XmlCommanderGwenXml_LeaveDocNode (GWEN_XMLCOMMANDER *cmd)
GWEN_XMLCOMMANDERGWEN_XmlCommanderGwenXml_new (GWEN_XMLNODE *documentRoot, GWEN_DB_NODE *dbRoot)
void GWEN_XmlCommanderGwenXml_SetCurrentDbGroup (GWEN_XMLCOMMANDER *cmd, GWEN_DB_NODE *db)
void GWEN_XmlCommanderGwenXml_SetCurrentDocNode (GWEN_XMLCOMMANDER *cmd, GWEN_XMLNODE *n)
void GWEN_XmlCommanderGwenXml_SetCurrentTempDbGroup (GWEN_XMLCOMMANDER *cmd, GWEN_DB_NODE *db)

Function Documentation

◆ _freeData() [1/2]

void GWENHYWFAR_CB _freeData ( GWEN_UNUSED void * bp,
void * p )

Definition at line 75 of file xmlcmd_gxml.c.

References GWEN_DB_Group_free(), GWEN_FREE_OBJECT, GWEN_UNUSED, GWEN_XMLNode_List2_free(), GWENHYWFAR_CB, and NULL.

Here is the call graph for this function:

◆ _freeData() [2/2]

void GWENHYWFAR_CB _freeData ( void * bp,
void * p )
static

References _freeData(), and GWENHYWFAR_CB.

Here is the call graph for this function:

◆ GWEN_XmlCommanderGwenXml_EnterDocNode()

void GWEN_XmlCommanderGwenXml_EnterDocNode ( GWEN_XMLCOMMANDER * cmd,
GWEN_XMLNODE * xmlNode )

Definition at line 207 of file xmlcmd_gxml.c.

References GWEN_INHERIT_GETDATA, and GWEN_XMLNode_List2_PushBack().

Referenced by _handleXmlEnter(), _handleXmlForEvery(), and _xmlCreateAndEnterElement().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GWEN_XmlCommanderGwenXml_GetCurrentDbGroup()

GWEN_DB_NODE * GWEN_XmlCommanderGwenXml_GetCurrentDbGroup ( const GWEN_XMLCOMMANDER * cmd)

◆ GWEN_XmlCommanderGwenXml_GetCurrentDocNode()

◆ GWEN_XmlCommanderGwenXml_GetCurrentTempDbGroup()

GWEN_DB_NODE * GWEN_XmlCommanderGwenXml_GetCurrentTempDbGroup ( const GWEN_XMLCOMMANDER * cmd)

Definition at line 181 of file xmlcmd_gxml.c.

References GWEN_INHERIT_GETDATA.

Referenced by _handleDbCreateAndEnterTempGroup(), _handleDbSetCharValue_internal(), and _handleDbSetTempCharValue().

Here is the caller graph for this function:

◆ GWEN_XmlCommanderGwenXml_GetDbRoot()

GWEN_DB_NODE * GWEN_XmlCommanderGwenXml_GetDbRoot ( const GWEN_XMLCOMMANDER * cmd)

Definition at line 129 of file xmlcmd_gxml.c.

References GWEN_INHERIT_GETDATA.

◆ GWEN_XmlCommanderGwenXml_GetDocRoot()

GWEN_XMLNODE * GWEN_XmlCommanderGwenXml_GetDocRoot ( const GWEN_XMLCOMMANDER * cmd)

Definition at line 90 of file xmlcmd_gxml.c.

References GWEN_INHERIT_GETDATA.

◆ GWEN_XmlCommanderGwenXml_GetTempDbRoot()

GWEN_DB_NODE * GWEN_XmlCommanderGwenXml_GetTempDbRoot ( const GWEN_XMLCOMMANDER * cmd)

Definition at line 168 of file xmlcmd_gxml.c.

References GWEN_INHERIT_GETDATA.

◆ GWEN_XmlCommanderGwenXml_LeaveDocNode()

void GWEN_XmlCommanderGwenXml_LeaveDocNode ( GWEN_XMLCOMMANDER * cmd)

Definition at line 223 of file xmlcmd_gxml.c.

References DBG_ERROR, GWEN_INHERIT_GETDATA, GWEN_LOGDOMAIN, GWEN_XMLNode_List2_GetBack(), GWEN_XMLNode_List2_PopBack(), and NULL.

Referenced by _handleXmlEnter(), _handleXmlForEvery(), and _xmlCreateAndEnterElement().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GWEN_XmlCommanderGwenXml_new()

GWEN_XMLCOMMANDER * GWEN_XmlCommanderGwenXml_new ( GWEN_XMLNODE * documentRoot,
GWEN_DB_NODE * dbRoot )

◆ GWEN_XmlCommanderGwenXml_SetCurrentDbGroup()

void GWEN_XmlCommanderGwenXml_SetCurrentDbGroup ( GWEN_XMLCOMMANDER * cmd,
GWEN_DB_NODE * db )

Definition at line 155 of file xmlcmd_gxml.c.

References GWEN_INHERIT_GETDATA.

Referenced by _dbEnter(), _dbForEvery(), and _handleDbCreateAndEnterGroup().

Here is the caller graph for this function:

◆ GWEN_XmlCommanderGwenXml_SetCurrentDocNode()

void GWEN_XmlCommanderGwenXml_SetCurrentDocNode ( GWEN_XMLCOMMANDER * cmd,
GWEN_XMLNODE * n )

Definition at line 116 of file xmlcmd_gxml.c.

References GWEN_INHERIT_GETDATA.

◆ GWEN_XmlCommanderGwenXml_SetCurrentTempDbGroup()

void GWEN_XmlCommanderGwenXml_SetCurrentTempDbGroup ( GWEN_XMLCOMMANDER * cmd,
GWEN_DB_NODE * db )

Definition at line 194 of file xmlcmd_gxml.c.

References GWEN_INHERIT_GETDATA.

Referenced by _handleDbCreateAndEnterTempGroup().

Here is the caller graph for this function: