The Battle for Wesnoth  1.19.7+dev
Classes | Namespaces | Macros | Functions | Variables
config_attribute_value.cpp File Reference

Routines related to configuration-files / WML. More...

#include "config_attribute_value.hpp"
#include "lexical_cast.hpp"
#include "log.hpp"
#include "serialization/string_utils.hpp"
#include "utils/charconv.hpp"
#include <array>
#include <cstdlib>
Include dependency graph for config_attribute_value.cpp:

Go to the source code of this file.

Classes

class  config_attribute_value::string_visitor
 Visitor for converting a variant to a string. More...
 
class  config_attribute_value::equality_visitor
 Visitor handling equality checks. More...
 

Namespaces

 utils
 

Macros

#define ERR_CF   LOG_STREAM(err, log_config)
 
#define DBG_CF   LOG_STREAM(debug, log_config)
 

Functions

std::ostream & operator<< (std::ostream &os, const config_attribute_value &v)
 
std::vector< std::string > utils::split (const config_attribute_value &val)
 

Variables

static lg::log_domain log_config ("config")
 

Detailed Description

Routines related to configuration-files / WML.

Definition in file config_attribute_value.cpp.

Macro Definition Documentation

◆ DBG_CF

#define DBG_CF   LOG_STREAM(debug, log_config)

Definition at line 34 of file config_attribute_value.cpp.

◆ ERR_CF

#define ERR_CF   LOG_STREAM(err, log_config)

Definition at line 33 of file config_attribute_value.cpp.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const config_attribute_value v 
)

Definition at line 414 of file config_attribute_value.cpp.

Variable Documentation

◆ log_config

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