#include <operationresult.h>
Definition at line 11 of file operationresult.h.
◆ OperationResult() [1/2]
| OperationResult::OperationResult |
( |
bool |
_res, |
|
|
const std::string & |
_error |
|
) |
| |
|
inline |
◆ OperationResult() [2/2]
| OperationResult::OperationResult |
( |
bool |
_res | ) |
|
|
inline |
◆ getError()
| std::string OperationResult::getError |
( |
| ) |
const |
|
inline |
◆ getRes()
| bool OperationResult::getRes |
( |
| ) |
const |
|
inline |
◆ operator bool()
| OperationResult::operator bool |
( |
| ) |
const |
|
inlineexplicit |
◆ m_error
| Optional<std::string> OperationResult::m_error {nullopt} |
|
private |
◆ m_res
| bool OperationResult::m_res {false} |
|
private |
The documentation for this class was generated from the following file: