Used as a return.
More...
#include <util.hpp>
◆ FunctionCallResult() [1/3]
| hebi::FunctionCallResult::FunctionCallResult |
( |
bool |
success | ) |
|
|
inlineexplicit |
◆ FunctionCallResult() [2/3]
| hebi::FunctionCallResult::FunctionCallResult |
( |
bool |
success, |
|
|
const std::string & |
failure |
|
) |
| |
|
inline |
◆ FunctionCallResult() [3/3]
◆ operator=()
◆ operator bool()
| hebi::FunctionCallResult::operator bool |
( |
| ) |
const |
|
inline |
◆ success()
| bool hebi::FunctionCallResult::success |
( |
| ) |
const |
|
inline |
◆ failureMessage()
| const std::string& hebi::FunctionCallResult::failureMessage |
( |
| ) |
const |
|
inline |
The failure message, if the call this represents failed.
On success, this will always be a valid empty string (i.e., result.failureMessage().empty() is always true).
The documentation for this class was generated from the following file: