The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
scoped_recall_unit Class Reference

#include <variable.hpp>

Inheritance diagram for scoped_recall_unit:
Inheritance graph

Public Member Functions

 scoped_recall_unit (const std::string &var_name, const std::string &player, unsigned int recall_index)
 
void activate ()
 
- Public Member Functions inherited from scoped_wml_variable
 scoped_wml_variable (const std::string &var_name)
 
virtual ~scoped_wml_variable ()
 
const std::stringname () const
 
configstore (const config &var_value=config())
 
bool activated () const
 

Private Attributes

const std::string player_
 
unsigned int recall_index_
 

Detailed Description

Definition at line 205 of file variable.hpp.

Constructor & Destructor Documentation

scoped_recall_unit::scoped_recall_unit ( const std::string var_name,
const std::string player,
unsigned int  recall_index 
)
inline

Definition at line 208 of file variable.hpp.

Member Function Documentation

void scoped_recall_unit::activate ( )
virtual

Member Data Documentation

const std::string scoped_recall_unit::player_
private

Definition at line 213 of file variable.hpp.

Referenced by activate().

unsigned int scoped_recall_unit::recall_index_
private

Definition at line 214 of file variable.hpp.

Referenced by activate().


The documentation for this class was generated from the following files: