Extends variable_info with methods that can only be applied if vit != vit_const. More...
#include <variable_info.hpp>
Additional Inherited Members | |
Public Types inherited from variable_info< vit > | |
typedef variable_info_detail::maybe_const < vit, config >::type | t_config |
Protected Member Functions inherited from variable_info< vit > | |
void | throw_on_invalid () const |
void | calculate_value () |
Protected Attributes inherited from variable_info< vit > | |
std::string | name_ |
variable_info_detail::variable_info_state < vit > | state_ |
bool | valid_ |
Private Types inherited from variable_info_detail::enable_if_non_const< vit > | |
typedef enable_if_non_const< vit > | type |
Extends variable_info with methods that can only be applied if vit != vit_const.
Definition at line 73 of file variable_info.hpp.
|
inline |
Definition at line 76 of file variable_info.hpp.
|
inline |
Definition at line 77 of file variable_info.hpp.
config::child_itors non_const_variable_info< vit >::append_array | ( | std::vector< config > | childs | ) | const |
Definition at line 634 of file variable_info.cpp.
Referenced by game_data::add_variable_cfg(), and game_events::WML_HANDLER_FUNCTION().
void non_const_variable_info< vit >::clear | ( | bool | only_tables = false | ) | const |
clears the vale this object points to if only_tables = true it will not clear attribute values.
might throw invalid_variablename_exception
Definition at line 627 of file variable_info.cpp.
Referenced by game_data::clear_variable(), and game_data::clear_variable_cfg().
config::child_itors non_const_variable_info< vit >::insert_array | ( | std::vector< config > | childs | ) | const |
Definition at line 641 of file variable_info.cpp.
Referenced by game_events::WML_HANDLER_FUNCTION().
void non_const_variable_info< vit >::merge_array | ( | std::vector< config > | childs | ) | const |
merges might throw invalid_variablename_exception
Definition at line 655 of file variable_info.cpp.
Referenced by game_events::WML_HANDLER_FUNCTION().
config::child_itors non_const_variable_info< vit >::replace_array | ( | std::vector< config > | childs | ) | const |
Definition at line 648 of file variable_info.cpp.
Referenced by game_events::WML_HANDLER_FUNCTION().