Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
UE::Core::Private::TVariantStorage< Ts > Struct Template Reference

#include <TVariantMeta.h>

+ Inheritance diagram for UE::Core::Private::TVariantStorage< Ts >:
+ Collaboration diagram for UE::Core::Private::TVariantStorage< Ts >:

Public Member Functions

template<SIZE_T N>
autoGetValueAsIndexedType () &
 
template<SIZE_T N>
auto && GetValueAsIndexedType () &&
 
template<SIZE_T N>
const autoGetValueAsIndexedType () const &
 

Static Public Member Functions

static constexpr SIZE_T MaxOf (const SIZE_T Sizes[])
 
static constexpr SIZE_T MaxSizeof ()
 
static constexpr SIZE_T MaxAlignof ()
 

Public Attributes

TAlignedBytes< SizeofValue, AlignofValueStorage
 

Static Public Attributes

static constexpr SIZE_T SizeofValue = MaxSizeof()
 
static constexpr SIZE_T AlignofValue = MaxAlignof()
 

Detailed Description

template<typename... Ts>
struct UE::Core::Private::TVariantStorage< Ts >

Determine the max alignof and sizeof of all types in a template parameter pack and provide a type that is compatible with those sizes

Definition at line 74 of file TVariantMeta.h.

Member Function Documentation

◆ GetValueAsIndexedType() [1/3]

template<typename... Ts>
template<SIZE_T N>
auto & UE::Core::Private::TVariantStorage< Ts >::GetValueAsIndexedType ( ) &
inline

Interpret the underlying data as the type in the variant parameter pack at the compile-time index. This function is used to implement Visit and should not be used directly

Definition at line 106 of file TVariantMeta.h.

◆ GetValueAsIndexedType() [2/3]

template<typename... Ts>
template<SIZE_T N>
auto && UE::Core::Private::TVariantStorage< Ts >::GetValueAsIndexedType ( ) &&
inline

Interpret the underlying data as the type in the variant parameter pack at the compile-time index. This function is used to implement Visit and should not be used directly

Definition at line 114 of file TVariantMeta.h.

◆ GetValueAsIndexedType() [3/3]

template<typename... Ts>
template<SIZE_T N>
const auto & UE::Core::Private::TVariantStorage< Ts >::GetValueAsIndexedType ( ) const &
inline

Interpret the underlying data as the type in the variant parameter pack at the compile-time index. This function is used to implement Visit and should not be used directly

Definition at line 122 of file TVariantMeta.h.

◆ MaxAlignof()

template<typename... Ts>
static constexpr SIZE_T UE::Core::Private::TVariantStorage< Ts >::MaxAlignof ( )
inlinestaticconstexpr

Definition at line 93 of file TVariantMeta.h.

+ Here is the call graph for this function:

◆ MaxOf()

template<typename... Ts>
static constexpr SIZE_T UE::Core::Private::TVariantStorage< Ts >::MaxOf ( const SIZE_T Sizes[])
inlinestaticconstexpr

Definition at line 76 of file TVariantMeta.h.

+ Here is the caller graph for this function:

◆ MaxSizeof()

template<typename... Ts>
static constexpr SIZE_T UE::Core::Private::TVariantStorage< Ts >::MaxSizeof ( )
inlinestaticconstexpr

Definition at line 88 of file TVariantMeta.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ AlignofValue

template<typename... Ts>
constexpr SIZE_T UE::Core::Private::TVariantStorage< Ts >::AlignofValue = MaxAlignof()
staticconstexpr

Definition at line 100 of file TVariantMeta.h.

◆ SizeofValue

template<typename... Ts>
constexpr SIZE_T UE::Core::Private::TVariantStorage< Ts >::SizeofValue = MaxSizeof()
staticconstexpr

Definition at line 99 of file TVariantMeta.h.

◆ Storage

Definition at line 128 of file TVariantMeta.h.


The documentation for this struct was generated from the following file: