static game_config_view wrap(const config &cfg)
config_array_view child_range(config_key_type key) const
Definitions for the interface to Wesnoth Markup Language (WML).
std::string_view config_key_type
game_config_view(const config &cfg)
game_config_view merged_children_view(config_key_type key) const
const config & child_or_empty(config_key_type key) const
const config & find_child(config_key_type key, const std::string &name, const std::string &value) const
std::vector< std::reference_wrapper< const config > > config_array_view
A config object defines a single node in a WML file, with access to child nodes.
config_array_view & data()
const config & child(config_key_type key) const