#include <ErrorManager.h>
|
|
| ErrorMgr () |
| | Main constructor (with no error).
|
| |
| bool | empty () const |
| | Indicates whether there is no error. More...
|
| |
| bool | exists () const |
| | Indicates whether there is an error message. More...
|
| |
|
void | clear () |
| | Cleans the error message (no error).
|
| |
| void | set (const string &err) |
| | Sets the error message. More...
|
| |
| const string & | get () const |
| | Gets the error message. More...
|
| |
| string & | get () |
| | A reference to be used by other methods to deposit an error. More...
|
| |
- Author
- Jordi Cortadella
- Date
- 05/01/19
◆ empty()
| bool ErrorMgr::empty |
( |
| ) |
const |
|
inline |
Indicates whether there is no error.
- Returns
- True if there is no error, and false otherwise.
◆ exists()
| bool ErrorMgr::exists |
( |
| ) |
const |
|
inline |
Indicates whether there is an error message.
- Returns
- True if there is an error, and false otherwise.
◆ get() [1/2]
| const string& ErrorMgr::get |
( |
| ) |
const |
|
inline |
Gets the error message.
- Returns
- The error message.
◆ get() [2/2]
| string& ErrorMgr::get |
( |
| ) |
|
|
inline |
A reference to be used by other methods to deposit an error.
- Returns
- A reference to the error message.
◆ set()
| void ErrorMgr::set |
( |
const string & |
err | ) |
|
|
inline |
Sets the error message.
- Parameters
-
| err | String that stores the error message. |
The documentation for this class was generated from the following file: