Routines related to configuration-files / WML. More...
#include "config.hpp"#include "formatter.hpp"#include "log.hpp"#include "deprecation.hpp"#include "game_version.hpp"#include "serialization/string_utils.hpp"#include "utils/general.hpp"#include <algorithm>#include <cstring>#include <iterator>Go to the source code of this file.
Macros | |
| #define | ERR_CF LOG_STREAM(err, log_config) |
| #define | DBG_CF LOG_STREAM(debug, log_config) |
| #define | ERR_WML LOG_STREAM(err, log_wml) |
Functions | |
| std::ostream & | operator<< (std::ostream &outstream, const config &cfg) |
| void | swap (config &lhs, config &rhs) noexcept |
| Implement non-member swap function for std::swap (calls config::swap). More... | |
| bool | operator== (const config &a, const config &b) |
Variables | |
| static lg::log_domain | log_config ("config") |
| static lg::log_domain | log_wml ("wml") |
Routines related to configuration-files / WML.
Definition in file config.cpp.
| #define DBG_CF LOG_STREAM(debug, log_config) |
Definition at line 37 of file config.cpp.
| #define ERR_CF LOG_STREAM(err, log_config) |
Definition at line 36 of file config.cpp.
| #define ERR_WML LOG_STREAM(err, log_wml) |
Definition at line 40 of file config.cpp.
| std::ostream& operator<< | ( | std::ostream & | outstream, |
| const config & | cfg | ||
| ) |
Definition at line 1220 of file config.cpp.
References config::all_children_view(), config::attribute_range(), cfg, and i.
Definition at line 1335 of file config.cpp.
Referenced by operator!=().
Implement non-member swap function for std::swap (calls config::swap).
Definition at line 1316 of file config.cpp.
Referenced by game_config::config_cache_transaction::add_defines_map_diff(), edit_distance_approx(), flip_surface(), flop_surface(), team::get_village(), variable_info_implementation::replace_range_h::operator()(), config::operator=(), attack_type::recursion_guard::operator=(), unit::recursion_guard::operator=(), attack_type::recursion_guard::recursion_guard(), unit::recursion_guard::recursion_guard(), addons_client::request_addons_list(), rotate_180_surface(), editor::context_manager::save_contexts(), display::scroll(), terrain_builder::set_terrain_rules_cfg(), ng::connect_engine::start_game(), editor::editor_palette< Item >::swap(), fake_unit_ptr::swap(), actions::undo_event::undo(), and gui2::dialogs::editor_resize_map::update_expand_direction().
|
static |
|
static |