#include <hermes_status.h>
Represents the return status of Hermes class methods and function calls.
◆ Status()
api::Status::Status |
( |
StatusCode |
ret_code = HERMES_SUCCESS | ) |
|
|
inlineexplicit |
Create an object representing success status.
◆ Succeeded()
bool api::Status::Succeeded |
( |
| ) |
const |
|
inline |
Returns true if the call did exactly what the user expected
◆ Acceptable()
bool api::Status::Acceptable |
( |
| ) |
const |
|
inline |
Returns true if the call was success with caveat.
◆ Failed()
bool api::Status::Failed |
( |
| ) |
const |
|
inline |
Returns true if the call failed with error.
◆ operator==()
bool api::Status::operator== |
( |
StatusCode |
code | ) |
|
|
inline |
Custom equality check against a StatusCode
◆ operator=()
void api::Status::operator= |
( |
StatusCode |
code | ) |
|
|
inline |
Custom assignment operator from StatusCode
◆ GetStatus()
StatusCode api::Status::GetStatus |
( |
| ) |
const |
|
inline |
◆ Msg()
std::string api::Status::Msg |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: