#include <variable.hpp>
Public Member Functions | |
scoped_weapon_info (const std::string &var_name, optional_const_config data) | |
void | activate () |
Public Member Functions inherited from scoped_wml_variable | |
scoped_wml_variable (const std::string &var_name) | |
virtual | ~scoped_wml_variable () |
const std::string & | name () const |
config & | store (const config &var_value=config()) |
bool | activated () const |
Private Attributes | |
optional_const_config | data_ |
Definition at line 239 of file variable.hpp.
|
inline |
Definition at line 242 of file variable.hpp.
|
virtual |
Implements scoped_wml_variable.
Definition at line 559 of file variable.cpp.
References data_, and scoped_wml_variable::store().
|
private |
Definition at line 246 of file variable.hpp.
Referenced by activate().