Export the combined value of this node to the supplied chain. This function is non-recursive allowing it to clear the chain at the outset. Because nodes have child nodes, the process is recursive so this function calls Export_r to effect the export. This will incorporate the node name and attributes, the direct content of the node including subtags. Thsis function was introduced for the purpose of establishing an MD5 value for the node. This is used in large XML config files in which many resources are configured, to determine which resources have changed and so need to be reloaded. Returns: None
| Return Type | Function name | Arguments |
|---|---|---|
| void | hzXmlNode::Export | (hzChain&,) |
Declared in file: hzDocument.h
Defined in file : hzDocXml.cpp
Function Logic:
Function body:
void hzXmlNode::Export (hzChain& Z)
{
// Export the combined value of this node to the supplied chain. This function is non-recursive allowing it to clear the chain at the outset. Because nodes
// have child nodes, the process is recursive so this function calls Export_r to effect the export.
//
// This will incorporate the node name and attributes, the direct content of the node including subtags.
//
// Thsis function was introduced for the purpose of establishing an MD5 value for the node. This is used in large XML config files in which many resources
// are configured, to determine which resources have changed and so need to be reloaded.
//
// Arguments: 1) val The chain populated with this node's combined value
// 2) relLine Relative line number
//
// Returns: None
_hzfunc("hzXmlNode::Export") ;
uint32_t relLine ; // Line management
Z.Clear() ;
relLine = m_nLine ;
Export_r(m_pHostDoc, Z, relLine) ;
}