Public Member Functions | Private Member Functions | Private Attributes

game_logic::set_var_callable Class Reference

#include <callable_objects.hpp>

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

List of all members.

Public Member Functions

 set_var_callable (const std::string &key, const variant &value)
const std::string & key () const
variant value () 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_

Detailed Description

Definition at line 165 of file callable_objects.hpp.


Constructor & Destructor Documentation

game_logic::set_var_callable::set_var_callable ( const std::string &  key,
const variant value 
) [inline]

Definition at line 172 of file callable_objects.hpp.


Member Function Documentation

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

Reimplemented from game_logic::formula_callable.

Definition at line 260 of file callable_objects.cpp.

References game_logic::FORMULA_READ_ONLY.

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

Implements game_logic::formula_callable.

Definition at line 250 of file callable_objects.cpp.

References key_, and value_.

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

Definition at line 176 of file callable_objects.hpp.

References key_.

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

Definition at line 177 of file callable_objects.hpp.

References value_.


Member Data Documentation

std::string game_logic::set_var_callable::key_ [private]

Definition at line 166 of file callable_objects.hpp.

Referenced by get_value(), and key().

Definition at line 167 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