The Battle for Wesnoth  1.15.1+dev
Classes | Macros | Functions | Variables
persist_context.hpp File Reference
#include "config.hpp"
#include "log.hpp"
Include dependency graph for persist_context.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  persist_context
 
struct  persist_context::name_space
 
class  persist_file_context
 

Macros

#define LOG_PERSIST   LOG_STREAM(info, log_persist)
 
#define ERR_PERSist   LOG_STREAM(err, log_persist)
 

Functions

config pack_scalar (const std::string &, const t_string &)
 

Variables

static lg::log_domain log_persist ("engine/persistence")
 

Macro Definition Documentation

◆ ERR_PERSist

#define ERR_PERSist   LOG_STREAM(err, log_persist)

Definition at line 22 of file persist_context.hpp.

◆ LOG_PERSIST

#define LOG_PERSIST   LOG_STREAM(info, log_persist)

Function Documentation

◆ pack_scalar()

config pack_scalar ( const std::string &  ,
const t_string  
)

Definition at line 23 of file persist_context.cpp.

References name().

Referenced by persist_file_context::get_var(), and set_global_variable().

Variable Documentation

◆ log_persist

lg::log_domain log_persist("engine/persistence")
static