config.hpp File Reference

Definitions for the interface to Wesnoth Markup Language (WML). More...

#include "global.hpp"
#include <map>
#include <memory>
#include <ostream>
#include <string>
#include <vector>
#include "tstring.hpp"
#include "serialization/string_utils.hpp"

Include dependency graph for config.hpp:

Go to the source code of this file.

Classes

class  config
 A config object defines a single node in a WML file, with access to child nodes. More...
struct  config::error
struct  config::child_pos
struct  config::all_children_iterator

Typedefs

typedef std::map< std::string,
t_string
string_map

Functions

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


Detailed Description

Definitions for the interface to Wesnoth Markup Language (WML).

Definition in file config.hpp.


Typedef Documentation

typedef std::map<std::string,t_string> string_map

Definition at line 40 of file config.hpp.


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 &  os,
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!=().


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