The Battle for Wesnoth  1.15.5+dev
Classes | Namespaces | Functions
config_attribute_value.hpp File Reference

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

#include "global.hpp"
#include <climits>
#include <ctime>
#include <iosfwd>
#include <iterator>
#include <map>
#include <string>
#include <utility>
#include <vector>
#include <type_traits>
#include <memory>
#include <boost/exception/exception.hpp>
#include <boost/variant/apply_visitor.hpp>
#include <boost/variant/variant.hpp>
#include <boost/range/iterator_range.hpp>
#include "tstring.hpp"
Include dependency graph for config_attribute_value.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  config_attribute_value
 Variant for storing WML attributes. More...
 
class  config_attribute_value::true_false
 A wrapper for bool to get the correct streaming ("true"/"false"). More...
 
class  config_attribute_value::yes_no
 A wrapper for bool to get the correct streaming ("yes"/"no"). More...
 

Namespaces

 utils
 

Functions

std::vector< std::string > utils::split (const config_attribute_value &val)
 

Detailed Description

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

This module defines the interface to Wesnoth Markup Language (WML). WML is a simple hierarchical text-based file format. The format is defined in Wiki, under BuildingScenariosWML

All configuration files are stored in this format, and data is sent across the network in this format. It is thus used extensively throughout the game.

Definition in file config_attribute_value.hpp.