#include <vm.h>
Additional Inherited Members | |
Public Types inherited from Result< Generic * > | |
using | Super = typename ResultSuper< Generic *, void >::type |
Public Types inherited from ResultBase< T > | |
using | ValueType = T |
Public Member Functions inherited from Result< Generic * > | |
Result () | |
MAXON_IMPLICIT | Result (ErrorPtr &error) |
MAXON_IMPLICIT | Result (ErrorPtr &&error) |
MAXON_IMPLICIT | Result (const ErrorPtr &error) |
MAXON_IMPLICIT | Result (const ThreadReferencedError &error) |
MAXON_IMPLICIT | Result (typename std::conditional< STD_IS_REPLACEMENT(void, Generic *), ResultMem, const volatile DummyParamType & >::type value) |
MAXON_IMPLICIT | Result (const ResultOk< T2 > &value) |
MAXON_IMPLICIT | Result (ResultOk< T2 > &&value) |
MAXON_IMPLICIT | Result (typename std::conditional< STD_IS_REPLACEMENT(void, Generic *), ResultOk< Generic * >, DummyParamType && >::type value) |
MAXON_IMPLICIT | Result (const ResultMemT< T2 > &value, typename std::enable_if< STD_IS_REPLACEMENT(void, typename SFINAEHelper< Generic *, T2 >::type), DummyParamType * >::type=(DummyParamType *) nullptr) |
MAXON_IMPLICIT | Result (const ResultMemT< T2 > &value) |
MAXON_IMPLICIT | Result (ResultMemT< T2 > &&value) |
MAXON_IMPLICIT | Result (const ResultRef< T2 > &value, typename std::enable_if< STD_IS_REPLACEMENT(void, typename SFINAEHelper< Generic *, T2 >::type), DummyParamType * >::type=(DummyParamType *) nullptr) |
MAXON_IMPLICIT | Result (const ResultRef< T2 > &value) |
MAXON_IMPLICIT | Result (typename std::conditional< STD_IS_REPLACEMENT(void, Generic *), ERROR_OK, volatile DummyParamType & >::type) |
MAXON_IMPLICIT | Result (typename std::conditional< T_IS_ERROR, const DummyParamType &, CopyType >::type value) |
MAXON_IMPLICIT | Result (typename std::conditional< T_IS_ERROR, DummyParamType &, MoveType >::type value) |
MAXON_IMPLICIT | Result (typename std::conditional< T_IS_ERROR, const DummyParamType &&, DeleteType >::type value)=delete |
MAXON_IMPLICIT | Result (T2 &&value) |
Result (const Result< T2 > &src, typename std::enable_if< STD_IS_REPLACEMENT(void, typename SFINAEHelper< Generic *, T2 >::type), DummyParamType * >::type=(DummyParamType *) nullptr) | |
MAXON_IMPLICIT | Result (const Result< T2 > &src) |
MAXON_IMPLICIT | Result (Result< T2 > &&src) |
MAXON_IMPLICIT | Result (E &&error, typename std::enable_if<!T_IS_ERROR, typename std::enable_if< std::remove_reference< E >::type::DirectlyReferencedType::HasBaseDetector::template Check< ErrorInterface >::value &&MAXON_IS_COW_KIND(std::remove_reference< E >::type::Handler::KIND), DummyParamType * >::type >::type=(DummyParamType *) nullptr) |
Result (CopyType value, const Result< T2 > &result) | |
Result (MoveType value, const Result< T2 > &result) | |
Result (DeleteType value, const Result< T2 > &result)=delete | |
Result (CopyType value, E &&error, typename std::enable_if< std::remove_reference< E >::type::DirectlyReferencedType::HasBaseDetector::template Check< ErrorInterface >::value &&MAXON_IS_COW_KIND(std::remove_reference< E >::type::Handler::KIND), DummyParamType * >::type=(DummyParamType *) nullptr) | |
Result (MoveType value, E &&error, typename std::enable_if< std::remove_reference< E >::type::DirectlyReferencedType::HasBaseDetector::template Check< ErrorInterface >::value &&MAXON_IS_COW_KIND(std::remove_reference< E >::type::Handler::KIND), DummyParamType * >::type=(DummyParamType *) nullptr) | |
Result (DeleteType value, E &&error, typename std::enable_if< std::remove_reference< E >::type::DirectlyReferencedType::HasBaseDetector::template Check< ErrorInterface >::value &&MAXON_IS_COW_KIND(std::remove_reference< E >::type::Handler::KIND), DummyParamType * >::type=(DummyParamType *) nullptr)=delete | |
Result (typename std::conditional< STD_IS_REPLACEMENT(same, typename std::decay< Generic * >::type, Bool), volatile DummyParamType &&, Bool >::type)=delete | |
SFINAEHelper< Error, Generic * >::type | GetError () const |
std::enable_if< std::remove_reference< E >::type::DirectlyReferencedType::HasBaseDetector::template Check< ErrorInterface >::value &&MAXON_IS_COW_KIND(std::remove_reference< E >::type::Handler::KIND), E >::type | GetError () const |
MAXON_ATTRIBUTE_FORCE_INLINE const ErrorInterface * | GetErrorPointer () const |
std::enable_if< std::remove_reference< E >::type::DirectlyReferencedType::HasBaseDetector::template Check< ErrorInterface >::value &&MAXON_IS_COW_KIND(std::remove_reference< E >::type::Handler::KIND), Bool >::type | HasError () const |
Bool | operator== (ERROR_OK ok) const |
Bool | operator== (ERROR_FAILED failed) const |
void | operator= (typename std::conditional< STD_IS_REPLACEMENT(reference, Generic *), Generic *, const DummyParamType & >::type)=delete |
Public Member Functions inherited from ResultBase< T > | |
ResultBase () | |
ResultBase (CopyType value) | |
ResultBase (MoveType value) | |
MAXON_ATTRIBUTE_FORCE_INLINE const T & | GetValue () const & |
MAXON_ATTRIBUTE_FORCE_INLINE const T & | UncheckedGetValue () const & |
MAXON_MEMBER_ACCESSORS (T, GetValue) | |
MAXON_MEMBER_ACCESSORS (T, UncheckedGetValue) | |
MAXON_ATTRIBUTE_FORCE_INLINE const T & | GetValueAndError (ThreadReferencedError &error) const & |
MAXON_ATTRIBUTE_FORCE_INLINE T | GetValueAndError (ThreadReferencedError &error) && |
MAXON_ATTRIBUTE_FORCE_INLINE const T & | GetValueAndError (Error &error) const & |
MAXON_ATTRIBUTE_FORCE_INLINE T | GetValueAndError (Error &error) && |
MAXON_ATTRIBUTE_FORCE_INLINE const ThreadReferencedError & | GetErrorStorage () const |
MAXON_ATTRIBUTE_FORCE_INLINE ThreadReferencedError & | GetErrorStorage () |
Static Public Attributes inherited from Result< Generic * > | |
static const Bool | T_IS_ERROR |
Static Public Attributes inherited from ResultBase< T > | |
static constexpr Bool | HAS_ERROR |
Protected Types inherited from ResultBase< T > | |
using | CopyType = typename ByValueParam< T >::type |
using | MoveType = typename std::conditional< STD_IS_REPLACEMENT(reference, CopyType), T &&, DummyParamType & >::type |
using | DeleteType = const DummyParamType && |
template<typename T2 > | |
using | ConstructibleFrom = std::enable_if< STD_IS_REPLACEMENT(constructible, T, T2)> |
Protected Attributes inherited from ResultBase< T > | |
ThreadReferencedError | _error |
T | _value |