The Battle for Wesnoth  1.19.0+dev
Public Member Functions | Protected Attributes | List of all members
wfl::formula_function Class Referenceabstract

#include <function.hpp>

Inheritance diagram for wfl::formula_function:

Public Member Functions

 formula_function (const std::string name)
virtual function_expression_ptr generate_function_expression (const std::vector< expression_ptr > &args) const =0
virtual ~formula_function ()

Protected Attributes

std::string name_

Detailed Description

Definition at line 174 of file function.hpp.

Constructor & Destructor Documentation

◆ formula_function()

wfl::formula_function::formula_function ( const std::string  name)

Definition at line 177 of file function.hpp.

◆ ~formula_function()

virtual wfl::formula_function::~formula_function ( )

Definition at line 184 of file function.hpp.

Member Function Documentation

◆ generate_function_expression()

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

Member Data Documentation

◆ name_

std::string wfl::formula_function::name_

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