Functions

persist_context.cpp File Reference

#include "global.hpp"
#include "filesystem.hpp"
#include "log.hpp"
#include "persist_context.hpp"
#include "persist_manager.hpp"
#include "serialization/binary_or_text.hpp"
#include "serialization/parser.hpp"
#include "util.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

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

Definition at line 33 of file persist_context.cpp.

References get_dir(), and get_user_data_dir().

Referenced by persist_file_context::load(), and persist_file_context::save_context().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 26 of file persist_context.cpp.

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

Here is the caller graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:08:39 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs