Public Member Functions | Private Member Functions | Private Attributes

game_logic::key_value_pair Class Reference

#include <formula_function.hpp>

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

List of all members.

Public Member Functions

 key_value_pair (const variant &key, const variant &value)

Private Member Functions

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

Private Attributes

variant key_
variant value_

Detailed Description

Definition at line 75 of file formula_function.hpp.


Constructor & Destructor Documentation

game_logic::key_value_pair::key_value_pair ( const variant key,
const variant value 
) [inline, explicit]

Definition at line 83 of file formula_function.hpp.


Member Function Documentation

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

Reimplemented from game_logic::formula_callable.

Definition at line 1035 of file formula_function.cpp.

References game_logic::FORMULA_READ_ONLY.

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

Implements game_logic::formula_callable.

Definition at line 1022 of file formula_function.cpp.

References key_, and value_.


Member Data Documentation

Definition at line 76 of file formula_function.hpp.

Referenced by get_value().

Definition at line 77 of file formula_function.hpp.

Referenced by get_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:21:00 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs