XML Node Path
[XML Tree]

Collaboration diagram for XML Node Path:

Typedefs

typedef struct GWEN_XMLNODE_PATH GWEN_XMLNODE_PATH

Functions

GWENHYWFAR_API int GWEN_XMLNode_Path_Dive (GWEN_XMLNODE_PATH *np, GWEN_XMLNODE *n)
GWENHYWFAR_API void GWEN_XMLNode_Path_Dump (GWEN_XMLNODE_PATH *np)
GWENHYWFAR_API GWEN_XMLNODE_PATHGWEN_XMLNode_Path_dup (const GWEN_XMLNODE_PATH *np)
GWENHYWFAR_API void GWEN_XMLNode_Path_free (GWEN_XMLNODE_PATH *np)
GWENHYWFAR_API GWEN_XMLNODE_PATHGWEN_XMLNode_Path_new ()
GWENHYWFAR_API GWEN_XMLNODEGWEN_XMLNode_Path_Surface (GWEN_XMLNODE_PATH *np)

Detailed Description

This is used by the message engine module (Message Engine). A path consists of a list of nodes which are used while decoding/encoding a message. A GWEN_XMLNODE_PATH serves as a LIFO stack (last-in-first-out).


Typedef Documentation

Definition at line 748 of file xml.h.


Function Documentation

GWENHYWFAR_API int GWEN_XMLNode_Path_Dive ( GWEN_XMLNODE_PATH np,
GWEN_XMLNODE n 
)

Adds a node to the path.

Definition at line 1643 of file xml.c.

References DBG_DEBUG, DBG_ERROR, and GWEN_LOGDOMAIN.

Referenced by GWEN_MsgEngine__WriteGroup(), and GWEN_MsgEngine_CreateMessageFromNode().

Here is the caller graph for this function:

GWENHYWFAR_API void GWEN_XMLNode_Path_Dump ( GWEN_XMLNODE_PATH np  ) 

Dumps the contents of all XML nodes in the path.

Definition at line 1674 of file xml.c.

References DBG_NOTICE, GWEN_LOGDOMAIN, and GWEN_XMLNode_Dump().

Here is the call graph for this function:

GWENHYWFAR_API GWEN_XMLNODE_PATH* GWEN_XMLNode_Path_dup ( const GWEN_XMLNODE_PATH np  ) 

Definition at line 1623 of file xml.c.

References GWEN_NEW_OBJECT.

Referenced by GWEN_MsgEngine__WriteElement(), and GWEN_MsgEngine_GetGroup().

Here is the caller graph for this function:

GWENHYWFAR_API void GWEN_XMLNode_Path_free ( GWEN_XMLNODE_PATH np  ) 

Definition at line 1637 of file xml.c.

References GWEN_FREE_OBJECT.

Referenced by GWEN_MsgEngine__WriteElement(), GWEN_MsgEngine_CreateMessageFromNode(), and GWEN_MsgEngine_GetGroup().

Here is the caller graph for this function:

GWENHYWFAR_API GWEN_XMLNODE_PATH* GWEN_XMLNode_Path_new (  ) 

Definition at line 1614 of file xml.c.

References GWEN_NEW_OBJECT.

Referenced by GWEN_MsgEngine_CreateMessageFromNode().

Here is the caller graph for this function:

GWENHYWFAR_API GWEN_XMLNODE* GWEN_XMLNode_Path_Surface ( GWEN_XMLNODE_PATH np  ) 

Removes and returns the last added node (or 0 if that would bring us beyond the root).

Definition at line 1663 of file xml.c.

References DBG_DEBUG, and GWEN_LOGDOMAIN.

Referenced by GWEN_MsgEngine__SearchForValue(), GWEN_MsgEngine__WriteGroup(), and GWEN_MsgEngine_GetGroup().

Here is the caller graph for this function:

Generated on Mon Jul 5 23:00:03 2010 for gwenhywfar by  doxygen 1.6.3