The Battle for Wesnoth  1.19.10+dev
Namespaces | Functions
parser.hpp File Reference
#include "config.hpp"
#include "configr_assign.hpp"
#include "serialization/tokenizer.hpp"
Include dependency graph for parser.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 io
 

Functions

config io::read (std::istream &in, abstract_validator *validator)
 
config io::read (const std::string &in, abstract_validator *validator)
 
config io::read_gz (std::istream &file, abstract_validator *validator)
 Might throw a std::ios_base::failure especially a gzip_error. More...
 
config io::read_bz2 (std::istream &file, abstract_validator *validator)
 Might throw a std::ios_base::failure especially bzip2_error. More...
 
void io::write (std::ostream &out, const configr_of &cfg, unsigned int level)
 
void io::write_gz (std::ostream &out, const configr_of &cfg)
 
void io::write_bz2 (std::ostream &out, const configr_of &cfg)
 
void io::write_key_val (std::ostream &out, const std::string &key, const config::attribute_value &value, unsigned level, std::string &textdomain)
 
void io::write_open_child (std::ostream &out, const std::string &child, unsigned int level)
 
void io::write_close_child (std::ostream &out, const std::string &child, unsigned int level)