Weaponry Assembly System
WAS
Loading...
Searching...
No Matches
FPinValue Struct Reference

#include <TypeDefinition.h>

Public Member Functions

 FPinValue ()
 
 FPinValue (const FPinValue &Other)=delete
 
 FPinValue (FPinValue &&Other) noexcept
 
template<typename T >
 FPinValue (T &&Value)
 
 ~FPinValue ()
 
template<typename T >
void Emplace (T &&Value)
 
void EmplaceFromProperty (FProperty *InProperty, const void *InData)
 
template<typename T >
FORCENOINLINE T * Get ()
 
template<typename T >
FORCENOINLINE const T * Get () const
 
template<typename T >
FORCENOINLINE T * GetChecked ()
 
template<typename T >
FORCENOINLINE const T * GetChecked () const
 
template<typename T >
FORCENOINLINE T GetCopy () const
 
void * GetData () const
 
template<typename T >
GetNumeric () const
 
ENumericType GetNumericType () const
 
template<typename T >
FORCENOINLINE T & GetRef ()
 
template<typename T >
FORCENOINLINE const T & GetRef () const
 
template<typename T >
GetTemp ()
 
bool IsArray () const
 
bool IsLambdaDeleted () const
 
bool IsNumeric () const
 
bool IsPropertyDeleted () const
 
bool IsSingleValue () const
 
bool IsSpecialCase () const
 
bool IsValid () const
 
 operator bool () const
 
FPinValueoperator= (const FPinValue &Other)=delete
 

Protected Member Functions

template<typename T >
void Construct (T &&Value)
 
template<typename T >
void Construct_Impl (T &&Value)
 
void ConstructFromProperty (const void *InData)
 
void Destruct ()
 
void RemoveOwnership ()
 

Static Protected Member Functions

template<typename T , typename ThisType , bool NumericTarget = false>
static FORCENOINLINE T * Get_Impl (ThisType &&Self)
 
template<typename T , typename ThisType , bool NumericTarget = false>
static FORCENOINLINE auto GetChecked_Impl (ThisType &&Self) -> decltype(Get_Impl< T, ThisType, NumericTarget >(Forward< ThisType >(Self)))
 
static uint8 GetTypeFromProperty (FProperty *Property)
 

Constructor & Destructor Documentation

◆ FPinValue() [1/4]

template<typename T >
FPinValue::FPinValue ( T && Value)
inline

◆ FPinValue() [2/4]

FPinValue::FPinValue ( )
inline

◆ ~FPinValue()

FPinValue::~FPinValue ( )
inline

◆ FPinValue() [3/4]

FPinValue::FPinValue ( const FPinValue & Other)
delete

◆ FPinValue() [4/4]

FPinValue::FPinValue ( FPinValue && Other)
inlinenoexcept

Member Function Documentation

◆ Construct()

template<typename T >
void FPinValue::Construct ( T && Value)
inlineprotected

◆ Construct_Impl()

template<typename T >
void FPinValue::Construct_Impl ( T && Value)
inlineprotected

◆ ConstructFromProperty()

void FPinValue::ConstructFromProperty ( const void * InData)
inlineprotected

◆ Destruct()

void FPinValue::Destruct ( )
inlineprotected

◆ Emplace()

template<typename T >
void FPinValue::Emplace ( T && Value)
inline

◆ EmplaceFromProperty()

void FPinValue::EmplaceFromProperty ( FProperty * InProperty,
const void * InData )
inline

Copies data as a valid type for the property

Parameters
InPropertyProperty pointer
InDataValue of the data to copy in this struct

◆ Get() [1/2]

template<typename T >
FORCENOINLINE T * FPinValue::Get ( )
inline

◆ Get() [2/2]

template<typename T >
FORCENOINLINE const T * FPinValue::Get ( ) const
inline

◆ Get_Impl()

template<typename T , typename ThisType , bool NumericTarget = false>
static FORCENOINLINE T * FPinValue::Get_Impl ( ThisType && Self)
inlinestaticprotected

◆ GetChecked() [1/2]

template<typename T >
FORCENOINLINE T * FPinValue::GetChecked ( )
inline

◆ GetChecked() [2/2]

template<typename T >
FORCENOINLINE const T * FPinValue::GetChecked ( ) const
inline

◆ GetChecked_Impl()

template<typename T , typename ThisType , bool NumericTarget = false>
static FORCENOINLINE auto FPinValue::GetChecked_Impl ( ThisType && Self) -> decltype(Get_Impl<T, ThisType, NumericTarget>(Forward<ThisType>(Self)))
inlinestaticprotected

◆ GetCopy()

template<typename T >
FORCENOINLINE T FPinValue::GetCopy ( ) const
inline

◆ GetData()

void * FPinValue::GetData ( ) const
inline

◆ GetNumeric()

template<typename T >
T FPinValue::GetNumeric ( ) const
inline

◆ GetNumericType()

ENumericType FPinValue::GetNumericType ( ) const
inline

◆ GetRef() [1/2]

template<typename T >
FORCENOINLINE T & FPinValue::GetRef ( )
inline

◆ GetRef() [2/2]

template<typename T >
FORCENOINLINE const T & FPinValue::GetRef ( ) const
inline

◆ GetTemp()

template<typename T >
T FPinValue::GetTemp ( )
inline

◆ GetTypeFromProperty()

static uint8 FPinValue::GetTypeFromProperty ( FProperty * Property)
inlinestaticprotected

◆ IsArray()

bool FPinValue::IsArray ( ) const
inline

◆ IsLambdaDeleted()

bool FPinValue::IsLambdaDeleted ( ) const
inline

◆ IsNumeric()

bool FPinValue::IsNumeric ( ) const
inline

Check if the stored type is numeric. This includes numeric arrays and numeric property-backed values.

◆ IsPropertyDeleted()

bool FPinValue::IsPropertyDeleted ( ) const
inline

◆ IsSingleValue()

bool FPinValue::IsSingleValue ( ) const
inline

◆ IsSpecialCase()

bool FPinValue::IsSpecialCase ( ) const
inline

◆ IsValid()

bool FPinValue::IsValid ( ) const
inline

◆ operator bool()

FPinValue::operator bool ( ) const
inline

◆ operator=()

FPinValue & FPinValue::operator= ( const FPinValue & Other)
delete

◆ RemoveOwnership()

void FPinValue::RemoveOwnership ( )
inlineprotected

Member Data Documentation

◆ Lambda

void(* FPinValue::Lambda) (void *)

◆ Property

FProperty* FPinValue::Property