Struct ov::util::pugixml::ParseResult#

struct ParseResult#

A XML parse result structure with an error message and the pugi::xml_document document.

Public Functions

inline ParseResult(std::unique_ptr<pugi::xml_document> &&xml, std::string error_msg)#

Constructs ParseResult with pugi::xml_document and an error message.

Parameters:
  • xml – The pugi::xml_document

  • error_msg[in] The error message

Public Members

std::unique_ptr<pugi::xml_document> xml#

A XML document.

std::string error_msg = {}#

An error message.