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

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 902 of file formula.cpp.

Constructor & Destructor Documentation

◆ integer_expression()

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

Definition at line 905 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 915 of file formula.cpp.

References i_.

◆ str()

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

Implements wfl::formula_expression.

Definition at line 907 of file formula.cpp.

References i_, and s.

Member Data Documentation

◆ i_

int wfl::integer_expression::i_
private

Definition at line 920 of file formula.cpp.

Referenced by execute(), and str().


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