|
gwenhywfar 5.10.1
|
#include "xmlcmd_gxml_todb.h"#include "xmlcmd_gxml.h"#include <gwenhywfar/debug.h>#include <gwenhywfar/text.h>#include <gwenhywfar/gwendate.h>#include <ctype.h>
Go to the source code of this file.
| int _convertAndSetCharValue | ( | GWEN_UNUSED GWEN_XMLCOMMANDER * | cmd, |
| GWEN_XMLNODE * | xmlNode, | ||
| GWEN_DB_NODE * | dbCurrent, | ||
| const char * | value | ||
| ) |
Definition at line 193 of file xmlcmd_gxml_todb.c.
References DBG_ERROR, DBG_INFO, GWEN_Buffer_AppendByte(), GWEN_Buffer_AppendString(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_new(), GWEN_Date_free(), GWEN_Date_fromStringWithTemplate(), GWEN_Date_GetString(), GWEN_DB_DeleteVar(), GWEN_DB_FLAGS_DEFAULT, GWEN_DB_GetCharValue(), GWEN_DB_SetCharValue(), GWEN_ERROR_INVALID, GWEN_LOGDOMAIN, GWEN_Text_CondenseBuffer(), GWEN_Time_free(), GWEN_Time_fromString(), GWEN_Time_toString(), GWEN_XMLNode_GetIntProperty(), GWEN_XMLNode_GetProperty(), and NULL.

|
static |
|
static |
Definition at line 152 of file xmlcmd_gxml_todb.c.
References DBG_INFO, GWEN_LOGDOMAIN, GWEN_PATH_FLAGS_PATHMUSTEXIST, GWEN_XMLNode_GetCharValueByPath(), GWEN_XMLNode_GetNodeByXPath(), and GWEN_XMLNode_GetProperty().
Referenced by _handleDbSetCharValue_internal(), _handleXmlIfCharDataMatches(), _handleXmlIfHasCharData(), _handleXmlIfNotCharDataMatches(), and _handleXmlIfNotHasCharData().


|
static |
Definition at line 96 of file xmlcmd_gxml_todb.c.
References _handleDbCreateAndEnterGroup(), _handleDbCreateAndEnterTempGroup(), _handleDbSetCharValue(), _handleDbSetTempCharValue(), _handleXmlEnter(), _handleXmlForEvery(), _handleXmlIfCharDataMatches(), _handleXmlIfHasCharData(), _handleXmlIfNotCharDataMatches(), _handleXmlIfNotHasCharData(), _handleXmlIfNotPathExists(), _handleXmlIfPathExists(), DBG_ERROR, DBG_INFO, GWEN_ERROR_INVALID, GWEN_LOGDOMAIN, GWEN_XMLNode_GetData(), GWEN_XMLNode_GetFirstTag(), and GWEN_XMLNode_GetNextTag().
Referenced by GWEN_XmlCommanderGwenXml_toDb_new().


|
static |
Definition at line 405 of file xmlcmd_gxml_todb.c.
References DBG_ERROR, DBG_INFO, GWEN_DB_GetGroup(), GWEN_ERROR_INVALID, GWEN_LOGDOMAIN, GWEN_PATH_FLAGS_CREATE_GROUP, GWEN_XmlCommander_HandleChildren(), GWEN_XmlCommanderGwenXml_GetCurrentDbGroup(), GWEN_XmlCommanderGwenXml_SetCurrentDbGroup(), GWEN_XMLNode_GetProperty(), and NULL.
Referenced by _handleChildren_toDb().


|
static |
Definition at line 439 of file xmlcmd_gxml_todb.c.
References DBG_ERROR, DBG_INFO, GWEN_DB_GetGroup(), GWEN_DB_Group_free(), GWEN_DB_UnlinkGroup(), GWEN_ERROR_INVALID, GWEN_LOGDOMAIN, GWEN_PATH_FLAGS_CREATE_GROUP, GWEN_XmlCommander_HandleChildren(), GWEN_XmlCommanderGwenXml_GetCurrentTempDbGroup(), GWEN_XmlCommanderGwenXml_SetCurrentTempDbGroup(), GWEN_XMLNode_GetProperty(), and NULL.
Referenced by _handleChildren_toDb().


|
static |
Definition at line 540 of file xmlcmd_gxml_todb.c.
References _handleDbSetCharValue_internal(), and GWEN_XmlCommanderGwenXml_GetCurrentDbGroup().
Referenced by _handleChildren_toDb().


|
static |
Definition at line 479 of file xmlcmd_gxml_todb.c.
References _convertAndSetCharValue(), _getCharValueByPath(), DBG_ERROR, DBG_INFO, GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_new(), GWEN_DB_ReplaceVars(), GWEN_ERROR_INVALID, GWEN_LOGDOMAIN, GWEN_XmlCommanderGwenXml_GetCurrentDocNode(), GWEN_XmlCommanderGwenXml_GetCurrentTempDbGroup(), GWEN_XMLNode_GetProperty(), GWEN_XMLNode_GetXPath(), and NULL.
Referenced by _handleDbSetCharValue(), and _handleDbSetTempCharValue().


|
static |
Definition at line 547 of file xmlcmd_gxml_todb.c.
References _handleDbSetCharValue_internal(), and GWEN_XmlCommanderGwenXml_GetCurrentTempDbGroup().
Referenced by _handleChildren_toDb().


|
static |
Definition at line 329 of file xmlcmd_gxml_todb.c.
References DBG_ERROR, DBG_INFO, GWEN_ERROR_INVALID, GWEN_LOGDOMAIN, GWEN_PATH_FLAGS_PATHMUSTEXIST, GWEN_XmlCommander_HandleChildren(), GWEN_XmlCommanderGwenXml_EnterDocNode(), GWEN_XmlCommanderGwenXml_GetCurrentDocNode(), GWEN_XmlCommanderGwenXml_LeaveDocNode(), GWEN_XMLNode_GetNodeByXPath(), GWEN_XMLNode_GetProperty(), and NULL.
Referenced by _handleChildren_toDb().


|
static |
Definition at line 363 of file xmlcmd_gxml_todb.c.
References DBG_ERROR, DBG_INFO, GWEN_ERROR_INVALID, GWEN_LOGDOMAIN, GWEN_XmlCommander_HandleChildren(), GWEN_XmlCommanderGwenXml_EnterDocNode(), GWEN_XmlCommanderGwenXml_GetCurrentDocNode(), GWEN_XmlCommanderGwenXml_LeaveDocNode(), GWEN_XMLNode_FindFirstTag(), GWEN_XMLNode_FindNextTag(), GWEN_XMLNode_GetProperty(), and NULL.
Referenced by _handleChildren_toDb().


|
static |
Definition at line 554 of file xmlcmd_gxml_todb.c.
References _getCharValueByPath(), DBG_ERROR, DBG_INFO, GWEN_ERROR_INVALID, GWEN_LOGDOMAIN, GWEN_Text_ComparePattern(), GWEN_XmlCommander_HandleChildren(), GWEN_XmlCommanderGwenXml_GetCurrentDocNode(), GWEN_XMLNode_GetProperty(), and NULL.
Referenced by _handleChildren_toDb().


|
static |
Definition at line 628 of file xmlcmd_gxml_todb.c.
References _getCharValueByPath(), DBG_ERROR, DBG_INFO, GWEN_ERROR_INVALID, GWEN_LOGDOMAIN, GWEN_XmlCommander_HandleChildren(), GWEN_XmlCommanderGwenXml_GetCurrentDocNode(), GWEN_XMLNode_GetProperty(), and NULL.
Referenced by _handleChildren_toDb().


|
static |
Definition at line 591 of file xmlcmd_gxml_todb.c.
References _getCharValueByPath(), DBG_ERROR, DBG_INFO, GWEN_ERROR_INVALID, GWEN_LOGDOMAIN, GWEN_Text_ComparePattern(), GWEN_XmlCommander_HandleChildren(), GWEN_XmlCommanderGwenXml_GetCurrentDocNode(), GWEN_XMLNode_GetProperty(), and NULL.
Referenced by _handleChildren_toDb().


|
static |
Definition at line 659 of file xmlcmd_gxml_todb.c.
References _getCharValueByPath(), DBG_ERROR, DBG_INFO, GWEN_ERROR_INVALID, GWEN_LOGDOMAIN, GWEN_XmlCommander_HandleChildren(), GWEN_XmlCommanderGwenXml_GetCurrentDocNode(), GWEN_XMLNode_GetProperty(), and NULL.
Referenced by _handleChildren_toDb().


|
static |
Definition at line 716 of file xmlcmd_gxml_todb.c.
References DBG_ERROR, DBG_INFO, GWEN_ERROR_INVALID, GWEN_LOGDOMAIN, GWEN_PATH_FLAGS_PATHMUSTEXIST, GWEN_XmlCommander_HandleChildren(), GWEN_XmlCommanderGwenXml_GetCurrentDocNode(), GWEN_XMLNode_GetNodeByXPath(), GWEN_XMLNode_GetProperty(), and NULL.
Referenced by _handleChildren_toDb().


|
static |
Definition at line 687 of file xmlcmd_gxml_todb.c.
References DBG_ERROR, DBG_INFO, GWEN_ERROR_INVALID, GWEN_LOGDOMAIN, GWEN_PATH_FLAGS_PATHMUSTEXIST, GWEN_XmlCommander_HandleChildren(), GWEN_XmlCommanderGwenXml_GetCurrentDocNode(), GWEN_XMLNode_GetNodeByXPath(), GWEN_XMLNode_GetProperty(), and NULL.
Referenced by _handleChildren_toDb().


| GWEN_XMLCOMMANDER * GWEN_XmlCommanderGwenXml_toDb_new | ( | GWEN_XMLNODE * | xmlNodeDocument, |
| GWEN_DB_NODE * | dbDestination | ||
| ) |
Definition at line 83 of file xmlcmd_gxml_todb.c.
References _handleChildren_toDb(), GWEN_XmlCommander_SetHandleChildrenFn(), and GWEN_XmlCommanderGwenXml_new().
Referenced by GWEN_Xml2Db().

