Wire Sysio Wire Sysion 1.0.0
|
#include <clara.hpp>
Public Member Functions | |
template<typename U > | |
BasicResult (BasicResult< U > const &other) | |
operator bool () const | |
auto | type () const -> ResultBase::Type |
auto | errorMessage () const -> std::string |
Static Public Member Functions | |
template<typename U > | |
static auto | ok (U const &value) -> BasicResult |
static auto | ok () -> BasicResult |
static auto | logicError (std::string const &message) -> BasicResult |
static auto | runtimeError (std::string const &message) -> BasicResult |
Protected Member Functions | |
void | enforceOk () const override |
BasicResult (ResultBase::Type type, std::string const &message) | |
Protected Member Functions inherited from Catch::clara::detail::ResultValueBase< void > | |
ResultBase (Type type) | |
Protected Member Functions inherited from Catch::clara::detail::ResultBase | |
ResultBase (Type type) | |
virtual | ~ResultBase ()=default |
Protected Attributes | |
std::string | m_errorMessage |
Type | m_type |
Protected Attributes inherited from Catch::clara::detail::ResultBase | |
Type | m_type |
Additional Inherited Members | |
Public Types inherited from Catch::clara::detail::ResultBase | |
enum | Type { Ok , LogicError , RuntimeError } |
|
inlineexplicit |
Definition at line 584 of file clara.hpp.
|
inlineprotected |
|
inlineoverrideprotectedvirtual |
Implements Catch::clara::detail::ResultBase.
Definition at line 602 of file clara.hpp.
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlineexplicit |
|
inlinestatic |
|
inline |
|
protected |