WSF
ProxyTypeAdapterBaseT< VALUE_TYPE > Class Template Reference

#include <WsfPProxyBasicTypes.hpp>

Inheritance diagram for ProxyTypeAdapterBaseT< VALUE_TYPE >:
Collaboration diagram for ProxyTypeAdapterBaseT< VALUE_TYPE >:

Public Types

using DataType = VALUE_TYPE

Public Member Functions

 ProxyTypeAdapterBaseT (unsigned int aTypeFlags=WsfProxy::cPOD)
void Construct (void *p) const override
void Destroy (void *p) const override
void SetValue (void *p, const std::string &aText) const override
std::string ToString (void *p) const override
void Copy (void *dest, void *src, int flags) const override
bool Equal (void *lhs, void *rhs) const override
bool Less (void *lhs, void *rhs) const override
Public Member Functions inherited from WsfPProxyBasicType
 WsfPProxyBasicType (WsfProxy::ValueKind aKind)
virtual void Read (void *aValuePtr, WsfParseNode *aNodePtr) const =0
virtual std::string Write (void *aValuePtr, WsfParseRule *aRulePtr) const =0
virtual bool Negate (void *p) const
WsfPProxyValue GetAttr (void *, const std::string &) const override
bool IsUnset (void *aValuePtr) const override
void SetUnset (void *aValuePtr) const override
void ClearUnset (void *aValuePtr) const override
bool IsInherited (void *aValuePtr) const override
void SetInherited (void *aValuePtr, bool aIsInherited) const override
virtual int GetUnitTypeId () const
size_t MemoryUsage (void *aDataPtr) const override
Public Member Functions inherited from WsfPProxyType
 WsfPProxyType (WsfProxy::ValueKind aKind)
virtual ~WsfPProxyType ()
const std::string & GetTypeName () const
size_t GetDataSize () const
virtual bool SwapAttr (void *aPtr, const WsfPProxyKey &aKey, WsfPProxyValue &aValue) const
virtual WsfPProxyValue GetAtIndex (void *aPtr, size_t aIndex) const
virtual std::string GetNameAtIndex (size_t aIndex) const
virtual size_t GetAttrCount (void *aPtr) const
virtual size_t GetMemberIndex (const std::string &aAttrName) const
virtual bool IsOfBasicType (const std::string &aTypeName) const
virtual WsfPProxyTypeGetContainedType (size_t aIndex) const
bool IsBasicType () const
bool IsStruct () const
bool IsList () const
bool IsObjectMap () const
virtual bool IsTypeOf (const WsfPProxyType *aOtherType) const
virtual WsfPProxyHash Hash (void *aDataPtr) const

Static Protected Member Functions

static VALUE_TYPE & Get (void *p)
Static Protected Member Functions inherited from WsfPProxyBasicType
static unsigned char & BasicValueFlags (void *aValuePtr)

Additional Inherited Members

Public Attributes inherited from WsfPProxyType
int mTypeFlags
int mTypeKind
int mTypeStoredKind
size_t mDataSize
std::string mTypeName
Static Public Attributes inherited from WsfPProxyBasicType
static const int cBASIC_TYPE_HEADER_SIZE = 1

Member Typedef Documentation

◆ DataType

template<typename VALUE_TYPE>
using ProxyTypeAdapterBaseT< VALUE_TYPE >::DataType = VALUE_TYPE

Constructor & Destructor Documentation

◆ ProxyTypeAdapterBaseT()

template<typename VALUE_TYPE>
ProxyTypeAdapterBaseT< VALUE_TYPE >::ProxyTypeAdapterBaseT ( unsigned int aTypeFlags = WsfProxy::cPOD)
inline

Member Function Documentation

◆ Construct()

template<typename VALUE_TYPE>
void ProxyTypeAdapterBaseT< VALUE_TYPE >::Construct ( void * p) const
inlineoverridevirtual

◆ Copy()

template<typename VALUE_TYPE>
void ProxyTypeAdapterBaseT< VALUE_TYPE >::Copy ( void * dest,
void * src,
int flags ) const
inlineoverridevirtual

Implements WsfPProxyType.

References Get().

◆ Destroy()

template<typename VALUE_TYPE>
void ProxyTypeAdapterBaseT< VALUE_TYPE >::Destroy ( void * p) const
inlineoverridevirtual

Implements WsfPProxyType.

References Get().

◆ Equal()

template<typename VALUE_TYPE>
bool ProxyTypeAdapterBaseT< VALUE_TYPE >::Equal ( void * lhs,
void * rhs ) const
inlineoverridevirtual

Implements WsfPProxyBasicType.

References Get().

◆ Get()

template<typename VALUE_TYPE>
VALUE_TYPE & ProxyTypeAdapterBaseT< VALUE_TYPE >::Get ( void * p)
inlinestaticprotected

◆ Less()

template<typename VALUE_TYPE>
bool ProxyTypeAdapterBaseT< VALUE_TYPE >::Less ( void * lhs,
void * rhs ) const
inlineoverridevirtual

Implements WsfPProxyBasicType.

References Get().

◆ SetValue()

template<typename VALUE_TYPE>
void ProxyTypeAdapterBaseT< VALUE_TYPE >::SetValue ( void * p,
const std::string & aText ) const
inlineoverridevirtual

Implements WsfPProxyBasicType.

Reimplemented in WsfPProxyEnumType.

References Get().

◆ ToString()

template<typename VALUE_TYPE>
std::string ProxyTypeAdapterBaseT< VALUE_TYPE >::ToString ( void * p) const
inlineoverridevirtual

Reimplemented from WsfPProxyBasicType.

Reimplemented in WsfPProxyEnumType.

References Get().


The documentation for this class was generated from the following file:
Copyrights Multiple, All Rights Reserved