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

#include <function.hpp>

Inheritance diagram for wfl::formula_function:
Inheritance graph

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 169 of file function.hpp.

Constructor & Destructor Documentation

◆ formula_function()

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

Definition at line 172 of file function.hpp.

◆ ~formula_function()

virtual wfl::formula_function::~formula_function ( )
inlinevirtual

Definition at line 179 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_
protected

Definition at line 184 of file function.hpp.


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