config.cpp File Reference

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

#include "global.hpp"
#include <algorithm>
#include <sstream>
#include <string.h>
#include <ostream>
#include "config.hpp"
#include "gettext.hpp"
#include "log.hpp"
#include "util.hpp"

Include dependency graph for config.cpp:

Go to the source code of this file.

Defines

#define ERR_CF   LOG_STREAM(err, config)

Functions

std::ostream & operator<< (std::ostream &outstream, const config &cfg)
bool operator== (const config &a, const config &b)
bool operator!= (const config &a, const config &b)


Detailed Description

Routines related to configuration-files / WML.

Definition in file config.cpp.


Define Documentation

#define ERR_CF   LOG_STREAM(err, config)


Function Documentation

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

Definition at line 836 of file config.cpp.

References operator==().

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

Definition at line 729 of file config.cpp.

References config::ordered_begin(), config::ordered_end(), and config::values.

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

Definition at line 815 of file config.cpp.

References config::ordered_begin(), config::ordered_end(), and config::values.

Referenced by help::topic::operator!=(), and operator!=().


Variable Documentation

std::string key_

const std::string name_

Definition at line 311 of file config.cpp.

const std::string value_

Definition at line 311 of file config.cpp.

Referenced by t_string::value().


Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs