The Battle for Wesnoth  1.19.0-dev
Namespaces | Macros | Functions | Variables
simple_wml.cpp File Reference
#include <sstream>
#include <boost/iostreams/copy.hpp>
#include <boost/iostreams/filtering_stream.hpp>
#include <boost/iostreams/filter/bzip2.hpp>
#include <boost/iostreams/filter/counter.hpp>
#include <boost/iostreams/filter/gzip.hpp>
#include "server/common/simple_wml.hpp"
#include "log.hpp"
#include "utils/general.hpp"
Include dependency graph for simple_wml.cpp:

Go to the source code of this file.

Namespaces

 simple_wml
 

Macros

#define ERR_SWML   LOG_STREAM(err, log_config)
 
#define LOG_SWML   LOG_STREAM(info, log_config)
 

Functions

std::ostream & simple_wml::operator<< (std::ostream &o, const string_span &s)
 
std::string simple_wml::node_to_string (const node &n)
 
void simple_wml::swap (document &lhs, document &rhs)
 Implement non-member swap function for std::swap (calls document::swap). More...
 

Variables

static lg::log_domain log_config ("config")
 

Macro Definition Documentation

◆ ERR_SWML

#define ERR_SWML   LOG_STREAM(err, log_config)

Definition at line 30 of file simple_wml.cpp.

◆ LOG_SWML

#define LOG_SWML   LOG_STREAM(info, log_config)

Definition at line 31 of file simple_wml.cpp.

Variable Documentation

◆ log_config

lg::log_domain log_config("config") ( "config"  )
static