The Battle for Wesnoth  1.15.1+dev
Public Member Functions | Private Member Functions | Private Attributes | List of all members
wfl::wrapper_formula Class Reference

#include <function.hpp>

Inheritance diagram for wfl::wrapper_formula:
Inheritance graph

Public Member Functions

 wrapper_formula ()
 
 wrapper_formula (expression_ptr arg)
 
virtual ~wrapper_formula ()
 
virtual std::string str () const
 
- Public Member Functions inherited from wfl::formula_expression
 formula_expression (const std::string &name="")
 
virtual ~formula_expression ()
 
variant evaluate (const formula_callable &variables, formula_debugger *fdb=nullptr) const
 
std::string get_name () const
 

Private Member Functions

virtual variant execute (const formula_callable &variables, formula_debugger *fdb=nullptr) const
 

Private Attributes

expression_ptr arg_
 

Detailed Description

Definition at line 261 of file function.hpp.

Constructor & Destructor Documentation

◆ wrapper_formula() [1/2]

wfl::wrapper_formula::wrapper_formula ( )
inline

Definition at line 264 of file function.hpp.

◆ wrapper_formula() [2/2]

wfl::wrapper_formula::wrapper_formula ( expression_ptr  arg)
inline

Definition at line 269 of file function.hpp.

◆ ~wrapper_formula()

virtual wfl::wrapper_formula::~wrapper_formula ( )
inlinevirtual

Definition at line 275 of file function.hpp.

Member Function Documentation

◆ execute()

virtual variant wfl::wrapper_formula::execute ( const formula_callable variables,
formula_debugger fdb = nullptr 
) const
inlineprivatevirtual

Implements wfl::formula_expression.

Definition at line 289 of file function.hpp.

◆ str()

virtual std::string wfl::wrapper_formula::str ( ) const
inlinevirtual

Implements wfl::formula_expression.

Definition at line 279 of file function.hpp.

Member Data Documentation

◆ arg_

expression_ptr wfl::wrapper_formula::arg_
private

Definition at line 298 of file function.hpp.


The documentation for this class was generated from the following file: