Definitions for the interface to Wesnoth Markup Language (WML). More...
#include "config_attribute_value.hpp"
#include "exceptions.hpp"
#include "utils/optional_reference.hpp"
#include <climits>
#include <ctime>
#include <functional>
#include <iosfwd>
#include <iterator>
#include <map>
#include <memory>
#include <string>
#include <string_view>
#include <type_traits>
#include <utility>
#include <vector>
#include <boost/range/iterator_range.hpp>
Go to the source code of this file.
Namespaces | |
detail | |
Typedefs | |
using | config_key_type = std::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 = std::string_view |
Definition at line 50 of file config.hpp.
Definition at line 56 of file config.hpp.
References a, b, operator<<(), and config::operator==.
Referenced by decrement_chunk_usage().
std::ostream& operator<< | ( | std::ostream & | , |
const config & | |||
) |
Definition at line 1356 of file config.cpp.
References config::all_children_range(), config::attribute_range(), config::child(), and i.
Referenced by operator!=().
Definition at line 1475 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(), 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!=(), config::child_pos::operator!=(), help::section::section(), and help::topic::topic().
Implement non-member swap function for std::swap (calls config::swap).
Definition at line 1456 of file config.cpp.
References config::swap().
Referenced by flip_surface(), flop_surface(), addons_client::request_addons_list(), rotate_180_surface(), display::scroll(), 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().