ResultOffsetHelper Struct Reference

#include <vm.h>

Inheritance diagram for ResultOffsetHelper:

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_void< Generic * >::value, 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_void< Generic * >::value, ResultOk< Generic * >, DummyParamType && >::type value)
 
MAXON_IMPLICIT Result (const ResultMemT< T2 > &value, typename std::enable_if< std::is_void< typename SFINAEHelper< Generic *, T2 >::type >::value, 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_void< typename SFINAEHelper< Generic *, T2 >::type >::value, DummyParamType * >::type=(DummyParamType *) nullptr)
 
MAXON_IMPLICIT Result (const ResultRef< T2 > &value)
 
MAXON_IMPLICIT Result (typename std::conditional< std::is_void< Generic * >::value, 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_void< typename SFINAEHelper< Generic *, T2 >::type >::value, 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::HasBase::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::HasBase::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::HasBase::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::HasBase::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_same< typename std::decay< Generic * >::type, Bool >::value, volatile DummyParamType &&, Bool >::type)=delete
 
const Error & GetError () const
 
std::enable_if< std::remove_reference< E >::type::DirectlyReferencedType::HasBase::template Check< ErrorInterface >::value &&MAXON_IS_COW_KIND(std::remove_reference< E >::type::Handler::KIND), const E & >::type GetError () const
 
Bool operator== (ERROR_OK ok) const
 
Bool operator== (ERROR_FAILED failed) const
 
void operator= (typename std::conditional< std::is_reference< Generic * >::value, Generic *, const DummyParamType & >::type)=delete
 
- Public Member Functions inherited from ResultBase< T >
 ResultBase ()
 
 ResultBase (CopyType value)
 
 ResultBase (MoveType value)
 
const MAXON_ATTRIBUTE_FORCE_INLINE T & GetValue () const &
 
const MAXON_ATTRIBUTE_FORCE_INLINE T & UncheckedGetValue () const &
 
 MAXON_MEMBER_ACCESSORS (T, GetValue)
 
 MAXON_MEMBER_ACCESSORS (T, UncheckedGetValue)
 
const MAXON_ATTRIBUTE_FORCE_INLINE T & GetValueAndError (ThreadReferencedError &error) const &
 
MAXON_ATTRIBUTE_FORCE_INLINEGetValueAndError (ThreadReferencedError &error) &&
 
const MAXON_ATTRIBUTE_FORCE_INLINE T & GetValueAndError (Error &error) const &
 
MAXON_ATTRIBUTE_FORCE_INLINEGetValueAndError (Error &error) &&
 
const MAXON_ATTRIBUTE_FORCE_INLINE ThreadReferencedErrorGetErrorStorage () const
 
MAXON_ATTRIBUTE_FORCE_INLINE ThreadReferencedErrorGetErrorStorage ()
 
- Static Public Attributes inherited from Result< Generic * >
static const Bool T_IS_ERROR
 
- Static Public Attributes inherited from ResultBase< T >
static const Bool HAS_ERROR
 
- Protected Types inherited from ResultBase< T >
using CopyType = typename ByValueParam< T >::type
 
using MoveType = typename std::conditional< std::is_reference< CopyType >::value, T &&, DummyParamType & >::type
 
using DeleteType = const DummyParamType &&
 
template<typename T2 >
using ConstructibleFrom = std::enable_if< std::is_constructible< T, T2 >::value >
 
- Protected Attributes inherited from ResultBase< T >
ThreadReferencedError _error
 
_value