#include <Errors.h>
|
| | Errors () |
| | Errors (const std::string &message_, const char *sourceFile="unknown", int lineNumber_=-1) |
| virtual | ~Errors () |
| void | setError (const std::string &message_, const char *sourceFile="", int lineNumber_=-1) |
| void | setError (const std::string &message_, const double value) |
| std::string | errorToString (const int &num, const int &ErrorType, const int iteration=-1) const |
| void | displayError (const int &num) const |
| int | getState () |
|
| static void | errorMessage (const std::string &message_) |
| static void | errorMessage (const std::string &message_, double value) |
| static void | errorMessage (const std::string &message_, const char *sourceFile, int lineNumber_) |
◆ Errors() [1/2]
◆ Errors() [2/2]
| Errors::Errors |
( |
const std::string & | message_, |
|
|
const char * | sourceFile = "unknown", |
|
|
int | lineNumber_ = -1 ) |
◆ ~Errors()
◆ displayError()
| void Errors::displayError |
( |
const int & | num | ) |
const |
◆ errorMessage() [1/3]
| void Errors::errorMessage |
( |
const std::string & | message_ | ) |
|
|
static |
◆ errorMessage() [2/3]
| void Errors::errorMessage |
( |
const std::string & | message_, |
|
|
const char * | sourceFile, |
|
|
int | lineNumber_ ) |
|
static |
◆ errorMessage() [3/3]
| void Errors::errorMessage |
( |
const std::string & | message_, |
|
|
double | value ) |
|
static |
◆ errorToString()
| std::string Errors::errorToString |
( |
const int & | num, |
|
|
const int & | ErrorType, |
|
|
const int | iteration = -1 ) const |
◆ getState()
◆ setError() [1/2]
| void Errors::setError |
( |
const std::string & | message_, |
|
|
const char * | sourceFile = "", |
|
|
int | lineNumber_ = -1 ) |
◆ setError() [2/2]
| void Errors::setError |
( |
const std::string & | message_, |
|
|
const double | value ) |
◆ defaultDouble
| double Errors::defaultDouble = 0. |
|
staticconstexpr |
◆ defaultInt
| int Errors::defaultInt = 0 |
|
staticconstexpr |
◆ defaultIntNeg
| int Errors::defaultIntNeg = -1 |
|
staticconstexpr |
◆ defaultString
| const std::string Errors::defaultString = "NA" |
|
static |
◆ m_file
| std::string Errors::m_file |
|
private |
◆ m_line
◆ m_message
| std::string Errors::m_message |
|
private |
◆ m_state
◆ m_value
Allows you to send an additionnal piece of information.
The documentation for this class was generated from the following files:
- /home/runner/work/ECOGEN/ECOGEN/doc_sources/src/Errors.h
- /home/runner/work/ECOGEN/ECOGEN/doc_sources/src/Errors.cpp