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

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

#include "tstring.hpp"
#include "utils/variant.hpp"
#include <chrono>
#include <climits>
#include <ctime>
#include <iosfwd>
#include <string>
#include <vector>
#include <type_traits>
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::ostream & operator<< (std::ostream &os, const std::monostate &)
 Specialize operator<< for monostate. More...
 
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.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const std::monostate &   
)
inline

Specialize operator<< for monostate.

Boost already does this, but the STL does not.

Definition at line 237 of file config_attribute_value.hpp.