Manage WML-variables. More...
#include "global.hpp"#include "variable.hpp"#include "foreach.hpp"#include "formula_string_utils.hpp"#include "gamestatus.hpp"#include "log.hpp"#include "resources.hpp"#include "unit.hpp"#include "unit_map.hpp"#include "team.hpp"#include <boost/variant.hpp>
Go to the source code of this file.
Classes | |
| struct | vconfig_expand_visitor |
Namespaces | |
| namespace | variable |
Defines | |
| #define | LOG_NG LOG_STREAM(info, log_engine) |
| #define | WRN_NG LOG_STREAM(warn, log_engine) |
| #define | ERR_NG LOG_STREAM(err, log_engine) |
| #define | repos (resources::state_of_game) |
Functions | |
| static const std::string * | get_hash_of (const config *cp) |
| static void | increment_config_usage (const config *&key) |
| static void | decrement_config_usage (const config *key) |
Variables | |
| static lg::log_domain | log_engine ("engine") |
Manage WML-variables.
Definition in file variable.cpp.
| #define ERR_NG LOG_STREAM(err, log_engine) |
Definition at line 41 of file variable.cpp.
Referenced by scoped_recall_unit::activate(), scoped_xy_unit::activate(), and variable_info::variable_info().
| #define LOG_NG LOG_STREAM(info, log_engine) |
Definition at line 39 of file variable.cpp.
Referenced by scoped_recall_unit::activate(), scoped_xy_unit::activate(), scoped_wml_variable::store(), and scoped_wml_variable::~scoped_wml_variable().
| #define repos (resources::state_of_game) |
Definition at line 49 of file variable.cpp.
Referenced by vconfig::expand(), vconfig_expand_visitor::operator()(), scoped_wml_variable::scoped_wml_variable(), scoped_wml_variable::store(), variable_info::variable_info(), and scoped_wml_variable::~scoped_wml_variable().
| #define WRN_NG LOG_STREAM(warn, log_engine) |
Definition at line 40 of file variable.cpp.
Referenced by vconfig::get_parsed_config(), and variable_info::variable_info().
| static void decrement_config_usage | ( | const config * | key | ) | [static] |
Definition at line 154 of file variable.cpp.
References get_hash_of().
Referenced by vconfig::operator=(), and vconfig::~vconfig().


| static const std::string* get_hash_of | ( | const config * | cp | ) | [static] |
Definition at line 112 of file variable.cpp.
References config::hash().
Referenced by decrement_config_usage(), and increment_config_usage().


| static void increment_config_usage | ( | const config *& | key | ) | [static] |
Definition at line 131 of file variable.cpp.
References get_hash_of().
Referenced by vconfig::operator=(), and vconfig::vconfig().


lg::log_domain log_engine("engine") [static] |
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:11:06 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |