Patate Lib  0.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Vitelotte::SolverError Class Reference

Detailed Description

A class that encodes the status of a FemSolver object.

Public Types

enum  Status { STATUS_OK, STATUS_WARNING, STATUS_ERROR }
 

Public Member Functions

Status status () const
 
const std::string & message () const
 
void resetStatus ()
 
void set (Status status, const std::string &message)
 
void error (const std::string &message)
 
void warning (const std::string &message)