MCPcopy Create free account
hub / github.com/davisking/dlib / parse_xml

Function parse_xml

dlib/xml_parser/xml_parser_kernel_1.h:1418–1430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1416 }
1417
1418 inline void parse_xml (
1419 std::istream& in,
1420 document_handler& dh,
1421 error_handler& eh
1422 )
1423 {
1424 if (!in)
1425 throw xml_parse_error("Unexpected end of file during xml parsing.");
1426 xml_parser parser;
1427 parser.add_document_handler(dh);
1428 parser.add_error_handler(eh);
1429 parser.parse(in);
1430 }
1431
1432 inline void parse_xml (
1433 std::istream& in,

Callers 2

parse_dlib_xmlFunction · 0.85
mainFunction · 0.85

Calls 2

parseMethod · 0.80
xml_parse_errorClass · 0.70

Tested by

no test coverage detected