MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / node_output_start

Function node_output_start

Source/ThirdParty/pugixml/pugixml.cpp:3503–3526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3501 }
3502
3503 PUGI__FN bool node_output_start(xml_buffered_writer& writer, xml_node_struct* node, unsigned int flags)
3504 {
3505 const char_t* default_name = PUGIXML_TEXT(":anonymous");
3506 const char_t* name = node->name ? node->name : default_name;
3507
3508 writer.write('<');
3509 writer.write_string(name);
3510
3511 if (node->first_attribute)
3512 node_output_attributes(writer, node, flags);
3513
3514 if (!node->first_child)
3515 {
3516 writer.write(' ', '/', '>');
3517
3518 return false;
3519 }
3520 else
3521 {
3522 writer.write('>');
3523
3524 return true;
3525 }
3526 }
3527
3528 PUGI__FN void node_output_end(xml_buffered_writer& writer, xml_node_struct* node)
3529 {

Callers 1

node_outputFunction · 0.85

Calls 3

node_output_attributesFunction · 0.85
write_stringMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected