MCPcopy Create free account
hub / github.com/comaps/comaps / ValueFromXML

Function ValueFromXML

tools/openlr/openlr_model_xml.cpp:78–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76// </node>
77template <typename Value>
78bool ValueFromXML(pugi::xml_node const & node, Value & value)
79{
80 auto const valueNode = node.child("olr:value");
81 return IntegerFromXML(valueNode, value);
82}
83
84template <typename Value>
85bool ParseValueIfExists(pugi::xml_node const & node, Value & value)

Callers 3

ParseValueIfExistsFunction · 0.85
LinePropertiesFromXMLFunction · 0.85
PathPropertiesFromXMLFunction · 0.85

Calls 1

IntegerFromXMLFunction · 0.85

Tested by

no test coverage detected