Added XML support; #21

This commit is contained in:
Patrick Urbanke
2023-12-20 21:07:36 +01:00
parent 2281849dde
commit c5347eee28
124 changed files with 4652 additions and 1437 deletions
+24
View File
@@ -0,0 +1,24 @@
#ifndef RFL_XML_OUTPUTVAR_HPP_
#define RFL_XML_OUTPUTVAR_HPP_
#include <pugixml.hpp>
#include <string>
namespace rfl {
namespace xml {
class OutputVar {
public:
virtual ~OutputVar() = default;
/// Inserts the value into the _parent.
virtual void insert(const std::string& _key, pugi::xml_node* _parent) = 0;
/// Whether this is null.
virtual bool is_null() const = 0;
};
} // namespace xml
} // namespace rfl
#endif