#include "global.hpp"
#include <iostream>
#include <iosfwd>
#include <vector>
Go to the source code of this file.
Functions | |
void | read (config &cfg, std::istream &in, std::string *error_log=NULL) |
void | read (config &cfg, std::string &in, std::string *error_log=NULL) |
void | read_gz (config &cfg, std::istream &in, std::string *error_log=NULL) |
void | write (std::ostream &out, config const &cfg, unsigned int level=0) |
void | write_key_val (std::ostream &out, const std::string &key, const t_string &value, unsigned int level, std::string &textdomain) |
void | write_open_child (std::ostream &out, const std::string &child, unsigned int level) |
void | write_close_child (std::ostream &out, const std::string &child, unsigned int level) |
Definition in file parser.hpp.
void read | ( | config & | cfg, | |
std::string & | in, | |||
std::string * | error_log = NULL | |||
) |
Definition at line 350 of file parser.cpp.
void read | ( | config & | cfg, | |
std::istream & | in, | |||
std::string * | error_log = NULL | |||
) |
Definition at line 345 of file parser.cpp.
Referenced by preferences::base_manager::base_manager(), detect_format_and_read(), get_campaign_info(), cutter::load_config(), font::load_font_config(), load_language_list(), gui2::load_settings(), main(), map_editor::map_editor(), server::read_config(), input_stream::read_line(), read_tips_of_day(), help::help_text_area::set_items(), and set_language().
void read_gz | ( | config & | cfg, | |
std::istream & | in, | |||
std::string * | error_log = NULL | |||
) |
void write | ( | std::ostream & | out, | |
config const & | cfg, | |||
unsigned int | level = 0 | |||
) |
Definition at line 475 of file parser.cpp.
References PACKAGE, and write_internal().
Referenced by help::help_text_area::handle_ref_cfg(), set_campaign_info(), write_possibly_compressed(), preferences::write_preferences(), map_editor::~map_editor(), and upload_log::~upload_log().
void write_close_child | ( | std::ostream & | out, | |
const std::string & | child, | |||
unsigned int | level | |||
) |
Definition at line 449 of file parser.cpp.
Referenced by config_writer::close_child(), and write_internal().
void write_key_val | ( | std::ostream & | out, | |
const std::string & | key, | |||
const t_string & | value, | |||
unsigned int | level, | |||
std::string & | textdomain | |||
) |
Definition at line 392 of file parser.cpp.
References t_string::empty(), and escaped_string().
Referenced by write_internal().
void write_open_child | ( | std::ostream & | out, | |
const std::string & | child, | |||
unsigned int | level | |||
) |
Definition at line 443 of file parser.cpp.
Referenced by config_writer::open_child(), and write_internal().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |