Used as a return.
More...
#include <util.hpp>
Used as a return.
Definition at line 28 of file 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]
◆ 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).
Definition at line 43 of file util.hpp.
◆ operator bool()
hebi::FunctionCallResult::operator bool |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ success()
bool hebi::FunctionCallResult::success |
( |
| ) |
const |
|
inline |
◆ failure_message_
std::string hebi::FunctionCallResult::failure_message_ |
|
private |
◆ ok_
bool hebi::FunctionCallResult::ok_ |
|
private |
The documentation for this class was generated from the following file: