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

#include <function.hpp>

Inheritance diagram for wfl::user_formula_function:
Inheritance graph

Public Member Functions

 user_formula_function (const std::string &name, const_formula_ptr formula, const_formula_ptr precondition, const std::vector< std::string > &args)
 
function_expression_ptr generate_function_expression (const std::vector< expression_ptr > &args) const
 
- Public Member Functions inherited from wfl::formula_function
 formula_function (const std::string name)
 
virtual ~formula_function ()
 

Private Attributes

const_formula_ptr formula_
 
const_formula_ptr precondition_
 
std::vector< std::string > args_
 

Additional Inherited Members

- Protected Attributes inherited from wfl::formula_function
std::string name_
 

Detailed Description

Definition at line 187 of file function.hpp.

Constructor & Destructor Documentation

◆ user_formula_function()

wfl::user_formula_function::user_formula_function ( const std::string &  name,
const_formula_ptr  formula,
const_formula_ptr  precondition,
const std::vector< std::string > &  args 
)
inline

Definition at line 190 of file function.hpp.

Member Function Documentation

◆ generate_function_expression()

function_expression_ptr wfl::user_formula_function::generate_function_expression ( const std::vector< expression_ptr > &  args) const
virtual

Member Data Documentation

◆ args_

std::vector<std::string> wfl::user_formula_function::args_
private

Definition at line 206 of file function.hpp.

◆ formula_

const_formula_ptr wfl::user_formula_function::formula_
private

Definition at line 204 of file function.hpp.

◆ precondition_

const_formula_ptr wfl::user_formula_function::precondition_
private

Definition at line 205 of file function.hpp.


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