#include <formula_function.hpp>
Public Types | |
typedef std::vector < expression_ptr > | args_list |
Public Member Functions | |
function_expression (const std::string &name, const args_list &args, int min_args=-1, int max_args=-1) | |
Protected Member Functions | |
const args_list & | args () const |
Private Attributes | |
std::string | name_ |
args_list | args_ |
Definition at line 43 of file formula_function.hpp.
typedef std::vector<expression_ptr> game_logic::function_expression::args_list |
Definition at line 45 of file formula_function.hpp.
game_logic::function_expression::function_expression | ( | const std::string & | name, | |
const args_list & | args, | |||
int | min_args = -1 , |
|||
int | max_args = -1 | |||
) | [inline, explicit] |
Definition at line 46 of file formula_function.hpp.
References args_, and game_logic::formula_expression::set_name().
const args_list& game_logic::function_expression::args | ( | ) | const [inline, protected] |
Definition at line 65 of file formula_function.hpp.
References args_.
Referenced by game_logic::formula_function_expression::execute().
std::string game_logic::function_expression::name_ [private] |
Reimplemented from game_logic::formula_expression.
Definition at line 67 of file formula_function.hpp.
Definition at line 68 of file formula_function.hpp.
Referenced by args(), and function_expression().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |