The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Protected Attributes | List of all members
game_logic::formula_function Class Referenceabstract

#include <function.hpp>

Inheritance diagram for game_logic::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 100 of file function.hpp.

Constructor & Destructor Documentation

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

Definition at line 104 of file function.hpp.

virtual game_logic::formula_function::~formula_function ( )
inlinevirtual

Definition at line 106 of file function.hpp.

Member Function Documentation

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

Member Data Documentation

std::string game_logic::formula_function::name_
protected

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