The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Macros | Functions | Variables
config.cpp File Reference

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>
Include dependency graph for config.cpp:

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")
 

Detailed Description

Routines related to configuration-files / WML.

Definition in file config.cpp.

Macro Definition Documentation

#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().

Function Documentation

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 
)
bool operator== ( const config a,
const config b 
)

Variable Documentation

lg::log_domain log_config("config")
static