DirectInstance< REFERENCED, ERASED > Class Template Reference

#include <interfacebase.h>

Inheritance diagram for DirectInstance< REFERENCED, ERASED >:

Public Types

using PrivateReferencedType = REFERENCED
 
using PrivateErasedReferencedType = ERASED
 
using Handler = DirectInstanceHandler
 
using type = DirectInstance
 
using ReferenceClass = void
 

Public Member Functions

MAXON_ATTRIBUTE_FORCE_INLINE REFERENCED * GetPointer ()
 
MAXON_ATTRIBUTE_FORCE_INLINE const REFERENCED * GetPointer () const
 
MAXON_ATTRIBUTE_FORCE_INLINE const ThreadReferencedErrorGetErrorStorage () const
 
MAXON_ATTRIBUTE_FORCE_INLINE ResultRef< REFERENCED > MakeWritable (Bool resetOnError=true)
 

Static Public Member Functions

static void PrivateLookupFn ()
 
static std::false_type GenericVarianceCheck (const void *)
 

Static Public Attributes

static constexpr Bool DIRECT_REF
 
static constexpr Bool HAS_ERROR
 

Member Typedef Documentation

◆ PrivateReferencedType

using PrivateReferencedType = REFERENCED

◆ PrivateErasedReferencedType

◆ Handler

◆ type

◆ ReferenceClass

using ReferenceClass = void

Member Function Documentation

◆ PrivateLookupFn()

static void PrivateLookupFn ( )
static

◆ GenericVarianceCheck()

static std::false_type GenericVarianceCheck ( const void *  )
static

◆ GetPointer() [1/2]

MAXON_ATTRIBUTE_FORCE_INLINE REFERENCED* GetPointer ( void  )

◆ GetPointer() [2/2]

MAXON_ATTRIBUTE_FORCE_INLINE const REFERENCED* GetPointer ( void  ) const

◆ GetErrorStorage()

MAXON_ATTRIBUTE_FORCE_INLINE const ThreadReferencedError& GetErrorStorage ( ) const

◆ MakeWritable()

MAXON_ATTRIBUTE_FORCE_INLINE ResultRef<REFERENCED> MakeWritable ( Bool  resetOnError = true)

Member Data Documentation

◆ DIRECT_REF

constexpr Bool DIRECT_REF
staticconstexpr

◆ HAS_ERROR

constexpr Bool HAS_ERROR
staticconstexpr