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

< Is 1 if T a non-const reference or pointer. More...

#include <VariantAdapter.h>

Public Types

using RealType = typename xiiTypeTraits<T>::NonConstReferencePointerType

Public Member Functions

 xiiVariantAdapter (xiiVariant &value)
 operator RealType & ()
 operator RealType * ()

Public Attributes

xiiVariant & m_Value

Detailed Description

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

< Is 1 if T a non-const reference or pointer.

Used to implicitly retrieve any value from a xiiVariant to be used as a function argument using the assignment rules outlined in xiiAbstractFunctionProperty::Execute.

Template Parameters
TOnly this parameter needs to be provided, the actual type of the argument. Rest is used to force specializations.
CSame as T but without the const&* fluff.
VALUE_TYPEIs 1 if T is a xiiTypeFlags::StandardType or a custom type

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