36 const std::string& key,
39 std::string& textdomain);
Used in parsing config file.
Variant for storing WML attributes.
A config object defines a single node in a WML file, with access to child nodes.
Definitions for the interface to Wesnoth Markup Language (WML).
unsigned in
If equal to search_counter, the node is off the list.
void write_gz(std::ostream &out, const configr_of &cfg)
void read(config &cfg, std::istream &in, abstract_validator *validator=nullptr)
void read_bz2(config &cfg, std::istream &in, abstract_validator *validator=nullptr)
Might throw a std::ios_base::failure especially bzip2_error.
void write_close_child(std::ostream &out, const std::string &child, unsigned int level)
void write(std::ostream &out, const configr_of &cfg, unsigned int level=0)
void read_gz(config &cfg, std::istream &in, abstract_validator *validator=nullptr)
Might throw a std::ios_base::failure especially a gzip_error.
void write_key_val(std::ostream &out, const std::string &key, const config::attribute_value &value, unsigned level, std::string &textdomain)
void write_bz2(std::ostream &out, const configr_of &cfg)
void write_open_child(std::ostream &out, const std::string &child, unsigned int level)