Routines related to configuration-files / WML. More...
#include "config.hpp"
#include "global.hpp"
#include "log.hpp"
#include "util.hpp"
#include "utils/const_clone.hpp"
#include <cstdlib>
#include <cstring>
#include <deque>
#include <istream>
#include "utils/functional.hpp"
#include <boost/variant/apply_visitor.hpp>
#include <boost/variant/get.hpp>
#include <boost/variant/static_visitor.hpp>
#include <boost/variant/variant.hpp>
Go to the source code of this file.
Classes | |
struct | tconfig_implementation |
class | config::attribute_value::string_visitor |
Visitor for converting a variant to a string. More... | |
class | config::attribute_value::equality_visitor |
Visitor handling equality checks. More... | |
Macros | |
#define | ERR_CF LOG_STREAM(err, log_config) |
#define | DBG_CF LOG_STREAM(debug, log_config) |
Functions | |
std::ostream & | operator<< (std::ostream &os, const config::attribute_value &v) |
std::ostream & | operator<< (std::ostream &outstream, const config &cfg) |
bool | operator== (const config &a, const config &b) |
Variables | |
static lg::log_domain | log_config ("config") |
Routines related to configuration-files / WML.
Definition in file config.cpp.
#define DBG_CF LOG_STREAM(debug, log_config) |
Definition at line 42 of file config.cpp.
Referenced by config::child(), and config::find_child().
#define ERR_CF LOG_STREAM(err, log_config) |
Definition at line 41 of file config.cpp.
Referenced by config::remove_child().
std::ostream& operator<< | ( | std::ostream & | os, |
const config::attribute_value & | v | ||
) |
Definition at line 428 of file config.cpp.
References config::attribute_value::value_.
std::ostream& operator<< | ( | std::ostream & | outstream, |
const config & | cfg | ||
) |
Definition at line 1447 of file config.cpp.
References config::all_children_range(), config::attribute_range(), and config::child().
Definition at line 1527 of file config.cpp.
References config::all_children_range(), config::check_valid(), and config::values.
Referenced by ng::depcheck::MAKE_ENUM(), and operator!=().
|
static |