18 #ifndef SERIALIZATION_PARSER_HPP_INCLUDED
19 #define SERIALIZATION_PARSER_HPP_INCLUDED
void read(config &cfg, std::istream &in, abstract_validator *validator=nullptr)
void write_key_val(std::ostream &out, const std::string &key, const config::attribute_value &value, unsigned level, std::string &textdomain)
void write_gz(std::ostream &out, configr_of const &cfg)
void write_open_child(std::ostream &out, const std::string &child, unsigned int level)
Definitions for the interface to Wesnoth Markup Language (WML).
Variant for storing WML attributes.
Used in parsing config file.
GLsizei const GLfloat * value
void write_bz2(std::ostream &out, configr_of const &cfg)
void write(std::ostream &out, configr_of const &cfg, unsigned int level=0)
void read_bz2(config &cfg, std::istream &in, abstract_validator *validator=nullptr)
might throw a std::ios_base::failure especially bzip2_error
A config object defines a single node in a WML file, with access to child nodes.
GLsizei const GLcharARB ** string
void write_close_child(std::ostream &out, const std::string &child, unsigned int level)
void read_gz(config &cfg, std::istream &in, abstract_validator *validator=nullptr)
might throw a std::ios_base::failure especially a gzip_error