#include <lua_formula_bridge.hpp>
Public Member Functions | |
fwrapper (const std::string &code, game_logic::function_symbol_table *functions=nullptr) | |
std::string | str () const |
variant | evaluate (const game_logic::formula_callable &variables, game_logic::formula_debugger *fdb=nullptr) const |
Private Attributes | |
boost::shared_ptr < game_logic::formula > | formula_ptr |
Definition at line 36 of file lua_formula_bridge.hpp.
lua_formula_bridge::fwrapper::fwrapper | ( | const std::string & | code, |
game_logic::function_symbol_table * | functions = nullptr |
||
) |
Definition at line 245 of file lua_formula_bridge.cpp.
variant lua_formula_bridge::fwrapper::evaluate | ( | const game_logic::formula_callable & | variables, |
game_logic::formula_debugger * | fdb = nullptr |
||
) | const |
Definition at line 258 of file lua_formula_bridge.cpp.
Referenced by lua_formula_bridge::intf_eval_formula().
std::string lua_formula_bridge::fwrapper::str | ( | ) | const |
Definition at line 250 of file lua_formula_bridge.cpp.
Referenced by impl_formula_tostring().
|
private |
Definition at line 37 of file lua_formula_bridge.hpp.