#pragma once #include #include struct rXmlNode { rXmlNode(); rXmlNode(const pugi::xml_node &); std::shared_ptr GetChildren(); std::shared_ptr GetNext(); std::string GetName(); std::string GetAttribute( const std::string &name); std::string GetNodeContent(); pugi::xml_node handle; }; struct rXmlDocument { rXmlDocument(); rXmlDocument(const rXmlDocument& other) = delete; rXmlDocument &operator=(const rXmlDocument& other) = delete; void Read(const std::string& data); std::shared_ptr GetRoot(); pugi::xml_document handle; };