#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) |
|
void | displayError (const int &num) |
|
void | writeErrorInFile (const int &num, const std::string &folder, const int &ErrorType) |
|
int | getState () |
|
◆ 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 | ) |
|
◆ errorMessage() [1/2]
void Errors::errorMessage |
( |
const std::string & |
message | ) |
|
|
static |
◆ errorMessage() [2/2]
void Errors::errorMessage |
( |
const std::string & |
message, |
|
|
double |
value |
|
) |
| |
|
static |
◆ getState()
◆ prepareErrorFiles()
void Errors::prepareErrorFiles |
( |
const std::string & |
folder | ) |
|
|
static |
◆ 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 |
|
) |
| |
◆ writeErrorInFile()
void Errors::writeErrorInFile |
( |
const int & |
num, |
|
|
const std::string & |
folder, |
|
|
const int & |
ErrorType |
|
) |
| |
◆ defaultDouble
constexpr double Errors::defaultDouble = 0. |
|
staticconstexpr |
◆ defaultInt
constexpr int Errors::defaultInt = 0 |
|
staticconstexpr |
◆ defaultIntNeg
constexpr 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:
- /Users/fabien/depotsSephiroth/gitLab/ECOGEN/ecogen/src/Errors.h
- /Users/fabien/depotsSephiroth/gitLab/ECOGEN/ecogen/src/Errors.cpp