MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / pugiNodePath

Function pugiNodePath

modules/dasPUGIXML/src/dasPUGIXML.cpp:298–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296}
297
298char * pugiNodePath ( const pugi::xml_node & node, char * delimiter, Context * context, LineInfoArg * at ) {
299 auto path = node.path(delimiter && delimiter[0] ? delimiter[0] : '/');
300 return context->allocateString(path.c_str(), uint32_t(path.length()), at);
301}
302
303char * pugiNodePrint ( const pugi::xml_node & node, char * indent, uint32_t flags, pugi::xml_encoding encoding, Context * context, LineInfoArg * at ) {
304 std::ostringstream oss;

Callers

nothing calls this directly

Calls 4

pathMethod · 0.80
allocateStringMethod · 0.80
c_strMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected