MCPcopy Create free account
hub / github.com/SoarGroup/Soar / soarxml_GenerateXMLString

Function soarxml_GenerateXMLString

Core/ElementXML/src/ElementXMLInterface.cpp:410–413  ·  view source on GitHub ↗

* @brief Converts the XML object to a string. * * @param includeChildren Includes all children in the XML output. * @param insertNewlines Add newlines to space out the tags to be more human-readable * * @returns The string form of the object. Caller must delete with DeleteString(). *************************************************************/

Source from the content-addressed store, hash-verified

408* @returns The string form of the object. Caller must delete with DeleteString().
409*************************************************************/
410char* soarxml_GenerateXMLString(ElementXML_Handle const hXML, bool includeChildren, bool insertNewLines)
411{
412 return GetElementFromHandle(hXML)->GenerateXMLString(includeChildren, insertNewLines) ;
413}
414
415/*************************************************************
416* @brief Returns the length of string needed to represent this object (does not include the trailing null, so add one for that)

Callers 3

GenerateXMLStringFunction · 0.85
GenerateXMLStringFunction · 0.85
GenerateXMLStringMethod · 0.85

Calls 2

GetElementFromHandleFunction · 0.85
GenerateXMLStringMethod · 0.45

Tested by

no test coverage detected