9 static bool isOk(E)
noexcept {
13 static const char* toString(E)
noexcept {
14 return "NOT AVAILABLE";
62 bool isOk() const noexcept {
63 return Traits::isOk(m_error);
69 operator bool() const noexcept {
80 operator int() const noexcept = delete;
87 const
char*
what() const noexcept {
96 inline Result<E> makeResult(E error)
noexcept {
97 return Result<E>(error);
SDK namespace.
Definition IAGSEstimator.h:8
A structure that encapsulates an action result enumeration.
Definition Result.h:27
Result(E error) noexcept
Initializes result.
Definition Result.h:35
bool isError() const noexcept
Checks for an error.
Definition Result.h:55
E ErrorType
Result value enumeration type.
Definition Result.h:29
E getError() const noexcept
Gets actual result value.
Definition Result.h:48
const char * what() const noexcept
Gets a textual description of the result.
Definition Result.h:87
Result() noexcept
Initializes result by default.
Definition Result.h:41
bool isOk() const noexcept
Checks for a success.
Definition Result.h:62