ForwardResultPtr< T > Struct Template Reference

#include <resultbase.h>

Inheritance diagram for ForwardResultPtr< T >:

Public Types

using PTR = T *
 
using Super = ResultMemT< PTR >
 

Public Member Functions

MAXON_IMPLICIT ForwardResultPtr (const PTR &value)
 
MAXON_IMPLICIT ForwardResultPtr (PTR &&value)
 
 ForwardResultPtr (const Super &src)
 
 ForwardResultPtr (Super &&src)
 
- Public Member Functions inherited from ResultMemT< T * >
 ResultMemT ()
 
MAXON_IMPLICIT ResultMemT (ERROR_FAILED)
 
MAXON_IMPLICIT ResultMemT (const T * &value)
 
MAXON_IMPLICIT ResultMemT (T * &&value)
 
MAXON_IMPLICIT ResultMemT (ERROR_OK)
 
MAXON_IMPLICIT ResultMemT (ResultOk< void >)
 
 ResultMemT (const ResultMemT &)=default
 
 ResultMemT (ResultMemT &&)=default
 
MAXON_IMPLICIT ResultMemT (const ResultMemT< T2 * > &result)
 
MAXON_IMPLICIT ResultMemT (ResultMemT< T2 * > &&result)
 
MAXON_IMPLICIT ResultMemT (const ResultMemT< T2 > &result)
 
MAXON_IMPLICIT ResultMemT (ResultMemT< T2 > &&result)
 
MAXON_IMPLICIT ResultMemT (const ResultRef< T2 > &result)
 
ResultMemToperator= (const ResultMemT &)=default
 
ResultMemToperator= (ResultMemT &&)=default
 
Bool operator== (ERROR_OK ok) const
 
Bool operator== (ERROR_FAILED failed) const
 
const T * & GetValue () const &
 
const T * & UncheckedGetValue () const &
 
 MAXON_MEMBER_ACCESSORS (T *, GetValue)
 
 MAXON_MEMBER_ACCESSORS (T *, UncheckedGetValue)
 
T * GetPointer () const
 

Member Typedef Documentation

◆ PTR

using PTR = T*

◆ Super

using Super = ResultMemT<PTR>

Constructor & Destructor Documentation

◆ ForwardResultPtr() [1/4]

MAXON_IMPLICIT ForwardResultPtr ( const PTR value)

◆ ForwardResultPtr() [2/4]

◆ ForwardResultPtr() [3/4]

ForwardResultPtr ( const Super src)
explicit

◆ ForwardResultPtr() [4/4]

ForwardResultPtr ( Super &&  src)
explicit