Definitions for the interface to Wesnoth Markup Language (WML). More...
#include "config_attribute_value.hpp"
#include "exceptions.hpp"
#include "global.hpp"
#include <climits>
#include <ctime>
#include <functional>
#include <iosfwd>
#include <iterator>
#include <map>
#include <memory>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>
#include <boost/exception/exception.hpp>
#include <boost/range/iterator_range.hpp>
#include <boost/utility/string_view.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::child_iterator |
struct | config::const_child_iterator |
struct | config::attribute_iterator |
struct | config::const_attribute_iterator |
struct | config::error |
struct | config::child_pos |
struct | config::any_child |
struct | config::all_children_iterator |
struct | config::all_children_iterator::arrow_helper |
struct | config::const_all_children_iterator |
struct | config::const_all_children_iterator::arrow_helper |
struct | detail::config_construct_unpacker< T > |
struct | detail::config_construct_unpacker<> |
struct | detail::config_construct_unpacker< K, V, Rest... > |
struct | detail::config_construct_unpacker< T, config, Rest... > |
struct | detail::config_construct_unpacker< T, config &, Rest... > |
Namespaces | |
detail | |
Typedefs | |
using | config_key_type = boost::string_view |
Functions | |
bool | operator== (const config &, const config &) |
bool | operator!= (const config &a, const config &b) |
std::ostream & | operator<< (std::ostream &, const config &) |
void | swap (config &lhs, config &rhs) |
Implement non-member swap function for std::swap (calls config::swap). More... | |
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.hpp.
using config_key_type = boost::string_view |
Definition at line 50 of file config.hpp.
Definition at line 56 of file config.hpp.
References operator<<(), and operator==().
Referenced by decrement_chunk_usage().
std::ostream& operator<< | ( | std::ostream & | , |
const config & | |||
) |
Definition at line 1294 of file config.cpp.
References config::all_children_range(), config::attribute_range(), config::child(), and i.
Referenced by operator!=().
Definition at line 1413 of file config.cpp.
References config::all_children_range(), config::check_valid(), and config::values_.
Referenced by decrement_chunk_usage(), vconfig::all_children_iterator::disable_insertion(), operator!=(), simple_wml::string_span::operator!=(), map_location::operator!=(), help::topic::operator!=(), vconfig::all_children_iterator::operator!=(), filesystem::file_tree_checksum::operator!=(), unit_map::iterator_base< iter_types >::operator!=(), help::section::section(), and help::topic::topic().
Implement non-member swap function for std::swap (calls config::swap).
Definition at line 1394 of file config.cpp.
References config::swap().
Referenced by flip_surface(), flop_surface(), addons_client::request_addons_list(), rotate_180_surface(), font::sdl_ttf::set_font_list(), terrain_builder::set_terrain_rules_cfg(), ng::connect_engine::start_game(), editor::common_palette::supports_swap(), fake_unit_ptr::swap(), editor::editor_palette< overlay >::swap(), gui2::dialogs::editor_resize_map::update_expand_direction(), and movetype::terrain_defense::write().