The Battle for Wesnoth  1.19.5+dev
Functions
persist_context.cpp File Reference
#include "filesystem.hpp"
#include "lexical_cast.hpp"
#include "log.hpp"
#include "persist_context.hpp"
#include "serialization/binary_or_text.hpp"
#include "serialization/parser.hpp"
Include dependency graph for persist_context.cpp:

Go to the source code of this file.

Functions

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

Function Documentation

◆ get_persist_cfg_name()

static std::string get_persist_cfg_name ( const std::string &  name_space)
static

◆ 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().