WSF
WsfPProxyType Class Referenceabstract

#include <WsfPProxyType.hpp>

Inheritance diagram for WsfPProxyType:

Public Member Functions

 WsfPProxyType (WsfProxy::ValueKind aKind)
virtual ~WsfPProxyType ()
const std::string & GetTypeName () const
size_t GetDataSize () const
virtual void Construct (void *aValuePtr) const =0
virtual void Destroy (void *aValuePtr) const =0
virtual void Copy (void *aDest, void *aSrc, int copyFlags) const =0
virtual WsfPProxyValue GetAttr (void *aPtr, const std::string &aName) const =0
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 IsUnset (void *aValuePtr) const =0
virtual void SetUnset (void *aValuePtr) const =0
virtual void ClearUnset (void *aValuePtr) const
virtual bool IsInherited (void *aValuePtr) const =0
virtual void SetInherited (void *aValuePtr, bool aIsInherited) const =0
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
virtual size_t MemoryUsage (void *aDataPtr) const =0

Public Attributes

int mTypeFlags
int mTypeKind
int mTypeStoredKind
size_t mDataSize
std::string mTypeName

Constructor & Destructor Documentation

◆ WsfPProxyType()

◆ ~WsfPProxyType()

virtual WsfPProxyType::~WsfPProxyType ( )
inlinevirtual

Member Function Documentation

◆ ClearUnset()

virtual void WsfPProxyType::ClearUnset ( void * aValuePtr) const
inlinevirtual

Reimplemented in WsfPProxyBasicType, and WsfPProxyStructType.

◆ Construct()

◆ Copy()

◆ Destroy()

◆ GetAtIndex()

virtual WsfPProxyValue WsfPProxyType::GetAtIndex ( void * aPtr,
size_t aIndex ) const
inlinevirtual

Reimplemented in WsfPProxyListType, and WsfPProxyStructType.

◆ GetAttr()

virtual WsfPProxyValue WsfPProxyType::GetAttr ( void * aPtr,
const std::string & aName ) const
pure virtual

◆ GetAttrCount()

virtual size_t WsfPProxyType::GetAttrCount ( void * aPtr) const
inlinevirtual

Reimplemented in WsfPProxyListType, and WsfPProxyStructType.

◆ GetContainedType()

virtual WsfPProxyType * WsfPProxyType::GetContainedType ( size_t aIndex) const
inlinevirtual

◆ GetDataSize()

size_t WsfPProxyType::GetDataSize ( ) const
inline

References mDataSize.

Referenced by WsfPProxyValue::ConstructNew().

◆ GetMemberIndex()

virtual size_t WsfPProxyType::GetMemberIndex ( const std::string & aAttrName) const
inlinevirtual

Reimplemented in WsfPProxyStructType.

Referenced by WsfPProxyPath::Push().

◆ GetNameAtIndex()

virtual std::string WsfPProxyType::GetNameAtIndex ( size_t aIndex) const
inlinevirtual

◆ GetTypeName()

const std::string & WsfPProxyType::GetTypeName ( ) const
inline

◆ Hash()

virtual WsfPProxyHash WsfPProxyType::Hash ( void * aDataPtr) const
inlinevirtual

Reimplemented in WsfPProxyQuotableStringType, and WsfPProxyStringType.

References mDataSize.

◆ IsBasicType()

◆ IsInherited()

virtual bool WsfPProxyType::IsInherited ( void * aValuePtr) const
pure virtual

◆ IsList()

◆ IsObjectMap()

◆ IsOfBasicType()

virtual bool WsfPProxyType::IsOfBasicType ( const std::string & aTypeName) const
inlinevirtual

◆ IsStruct()

◆ IsTypeOf()

virtual bool WsfPProxyType::IsTypeOf ( const WsfPProxyType * aOtherType) const
inlinevirtual

◆ IsUnset()

virtual bool WsfPProxyType::IsUnset ( void * aValuePtr) const
pure virtual

◆ MemoryUsage()

virtual size_t WsfPProxyType::MemoryUsage ( void * aDataPtr) const
pure virtual

◆ SetInherited()

virtual void WsfPProxyType::SetInherited ( void * aValuePtr,
bool aIsInherited ) const
pure virtual

◆ SetUnset()

virtual void WsfPProxyType::SetUnset ( void * aValuePtr) const
pure virtual

◆ SwapAttr()

virtual bool WsfPProxyType::SwapAttr ( void * aPtr,
const WsfPProxyKey & aKey,
WsfPProxyValue & aValue ) const
inlinevirtual

Member Data Documentation

◆ mDataSize

◆ mTypeFlags

◆ mTypeKind

◆ mTypeName

◆ mTypeStoredKind


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