Public Member Functions | Private Member Functions | Private Attributes

game_logic::set_unit_var_callable Class Reference

#include <callable_objects.hpp>

Inheritance diagram for game_logic::set_unit_var_callable:
Inheritance graph
[legend]
Collaboration diagram for game_logic::set_unit_var_callable:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 set_unit_var_callable (const std::string &key, const variant &value, const map_location &loc)
const std::string & key () const
variant value () const
const map_location loc () const

Private Member Functions

variant get_value (const std::string &key) const
void get_inputs (std::vector< game_logic::formula_input > *inputs) const

Private Attributes

std::string key_
variant value_
map_location loc_

Detailed Description

Definition at line 181 of file callable_objects.hpp.


Constructor & Destructor Documentation

game_logic::set_unit_var_callable::set_unit_var_callable ( const std::string &  key,
const variant value,
const map_location loc 
) [inline]

Definition at line 189 of file callable_objects.hpp.


Member Function Documentation

void game_logic::set_unit_var_callable::get_inputs ( std::vector< game_logic::formula_input > *  inputs  )  const [private, virtual]

Reimplemented from game_logic::formula_callable.

Definition at line 279 of file callable_objects.cpp.

References game_logic::FORMULA_READ_ONLY.

variant game_logic::set_unit_var_callable::get_value ( const std::string &  key  )  const [private, virtual]

Implements game_logic::formula_callable.

Definition at line 266 of file callable_objects.cpp.

References key_, loc_, and value_.

const std::string& game_logic::set_unit_var_callable::key (  )  const [inline]

Definition at line 193 of file callable_objects.hpp.

References key_.

const map_location game_logic::set_unit_var_callable::loc (  )  const [inline]

Definition at line 195 of file callable_objects.hpp.

References loc_.

variant game_logic::set_unit_var_callable::value (  )  const [inline]

Definition at line 194 of file callable_objects.hpp.

References value_.


Member Data Documentation

Definition at line 182 of file callable_objects.hpp.

Referenced by get_value(), and key().

Definition at line 184 of file callable_objects.hpp.

Referenced by get_value(), and loc().

Definition at line 183 of file callable_objects.hpp.

Referenced by get_value(), and value().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:20:48 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs