Plasma Engine  2.0
Loading...
Searching...
No Matches
plVariantAdapter< T, C, VALUE_TYPE, OUT_PARAM > Struct Template Reference

Used to implicitly retrieve any value from an plVariant to be used as a function argument using the assignment rules outlined in plAbstractFunctionProperty::Execute. More...

#include <VariantAdapter.h>

Public Types

using RealType = typename plTypeTraits<T>::NonConstReferencePointerType
 

Public Member Functions

 plVariantAdapter (plVariant &value)
 
 operator RealType & ()
 
 operator RealType * ()
 

Public Attributes

plVariantm_value
 

Detailed Description

template<class T, class C = typename plCleanType<T>::Type, int VALUE_TYPE = plIsValueType<T>::value, int OUT_PARAM = plIsOutParam<T>::value>
struct plVariantAdapter< T, C, VALUE_TYPE, OUT_PARAM >

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

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


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