XII Release 0.1.0
Loading...
Searching...
No Matches
xiiVariantAssignmentAdapter< T, C, VALUE_TYPE > Struct Template Reference

< Is 1 if T is a xiiTypeFlags::StandardType or a custom type More...

#include <VariantAdapter.h>

Public Types

using RealType = typename xiiTypeTraits<T>::NonConstReferencePointerType

Public Member Functions

 xiiVariantAssignmentAdapter (xiiVariant &value)
void operator= (RealType *rhs)
void operator= (RealType &&rhs)

Public Attributes

xiiVariant & m_Value

Detailed Description

template<class T, class C = typename xiiCleanType<T>::Type, xiiInt32 VALUE_TYPE = xiiIsValueType<T>::value>
struct xiiVariantAssignmentAdapter< T, C, VALUE_TYPE >

< Is 1 if T is a xiiTypeFlags::StandardType or a custom type

Used to automatically assign any value to a xiiVariant using the assignment rules outlined in xiiAbstractFunctionProperty::Execute.

Template Parameters
TOnly this parameter needs to be provided, the actual type of the value.
CSame as T but without the const&* fluff.

The documentation for this struct was generated from the following file:
  • /home/runner/work/XII/XII/Source/Engine/Foundation/Reflection/Implementation/VariantAdapter.h