Classes | Defines | Functions | Variables

config.cpp File Reference

Routines related to configuration-files / WML. More...

#include "global.hpp"
#include "config.hpp"
#include "foreach.hpp"
#include "log.hpp"
#include "serialization/string_utils.hpp"
#include "util.hpp"
#include "utils/const_clone.tpp"
#include <cstdlib>
#include <cstring>
#include <deque>
#include <boost/variant.hpp>
Include dependency graph for config.cpp:

Go to the source code of this file.

Classes

struct  tconfig_implementation
struct  config_attribute_str_visitor

Defines

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


Define Documentation

#define DBG_CF   LOG_STREAM(debug, log_config)

Definition at line 38 of file config.cpp.

Referenced by config::child(), and config::find_child().

#define ERR_CF   LOG_STREAM(err, log_config)

Definition at line 37 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 136 of file config.cpp.

References config::attribute_value::str().

Here is the call graph for this function:

std::ostream& operator<< ( std::ostream &  outstream,
const config cfg 
)

Definition at line 1145 of file config.cpp.

References config::all_children_range(), config::attribute_range(), config::any_child::cfg, and config::any_child::key.

Here is the call graph for this function:

bool operator== ( const config a,
const config b 
)

Definition at line 1224 of file config.cpp.

References config::all_children_range(), config::check_valid(), and config::values.

Referenced by config::child_pos::operator!=(), and operator!=().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

lg::log_domain log_config("config") [static]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:03:43 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs