The Battle for Wesnoth  1.19.4+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 23 of file persist_context.hpp.

◆ LOG_PERSIST

#define LOG_PERSIST   LOG_STREAM(info, log_persist)

Definition at line 22 of file persist_context.hpp.

Function Documentation

◆ pack_scalar()

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

Definition at line 23 of file persist_context.cpp.

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

Variable Documentation

◆ log_persist

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