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

Public Member Functions

 integer_expression (int i)
 
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

variant execute (const formula_callable &, formula_debugger *) const
 

Private Attributes

int i_
 

Detailed Description

Definition at line 904 of file formula.cpp.

Constructor & Destructor Documentation

◆ integer_expression()

wfl::integer_expression::integer_expression ( int  i)
inlineexplicit

Definition at line 907 of file formula.cpp.

Member Function Documentation

◆ execute()

variant wfl::integer_expression::execute ( const formula_callable ,
formula_debugger  
) const
inlineprivatevirtual

Implements wfl::formula_expression.

Definition at line 917 of file formula.cpp.

◆ str()

std::string wfl::integer_expression::str ( ) const
inlinevirtual

Implements wfl::formula_expression.

Definition at line 909 of file formula.cpp.

References s.

Member Data Documentation

◆ i_

int wfl::integer_expression::i_
private

Definition at line 922 of file formula.cpp.


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