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

#include <formula.hpp>

Inheritance diagram for game_logic::formula_error:
Inheritance graph

Public Member Functions

 formula_error ()
 
 formula_error (const std::string &type, const std::string &formula, const std::string &file, int line)
 
 ~formula_error () throw ()
 
- Public Member Functions inherited from game::error
 error ()
 
 error (const std::string &msg)
 
 ~error () throw ()
 
const char * what () const throw ()
 

Public Attributes

std::string type
 
std::string formula
 
std::string filename
 
int line
 
- Public Attributes inherited from game::error
std::string message
 

Detailed Description

Definition at line 78 of file formula.hpp.

Constructor & Destructor Documentation

game_logic::formula_error::formula_error ( )
inline

Definition at line 80 of file formula.hpp.

game_logic::formula_error::formula_error ( const std::string type,
const std::string formula,
const std::string file,
int  line 
)

Definition at line 1385 of file formula.cpp.

References filename, and type.

game_logic::formula_error::~formula_error ( )
throw (
)
inline

Definition at line 91 of file formula.hpp.

Member Data Documentation

std::string game_logic::formula_error::filename
std::string game_logic::formula_error::formula

Definition at line 94 of file formula.hpp.

Referenced by do_interpolation(), and ai::formula_ai::handle_exception().

int game_logic::formula_error::line
std::string game_logic::formula_error::type

The documentation for this struct was generated from the following files: