WSF
WsfPProxyEnumType Class Reference

#include <WsfPProxyBasicTypes.hpp>

Inheritance diagram for WsfPProxyEnumType:
Collaboration diagram for WsfPProxyEnumType:

Public Member Functions

 WsfPProxyEnumType ()
void Construct (void *p) const override
void SetValue (void *p, const std::string &aText) const override
void Read (void *p, WsfParseNode *aNodePtr) const override
std::string Write (void *p, WsfParseRule *aRulePtr) const override
std::string ToString (void *p) const override
bool IsTypeOf (const WsfPProxyType *aOtherType) const override
Public Member Functions inherited from ProxyTypeAdapterT< WsfProxy::Int >
 ProxyTypeAdapterT (unsigned int aTypeFlags=WsfProxy::cPOD)
Public Member Functions inherited from ProxyTypeAdapterBaseT< WsfProxy::Int >
 ProxyTypeAdapterBaseT (unsigned int aTypeFlags=WsfProxy::cPOD)
void Destroy (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 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 WsfPProxyHash Hash (void *aDataPtr) const

Public Attributes

WsfPEnumStrMap mStringToInt
WsfPEnumIntMap mIntToString
Public Attributes inherited from WsfPProxyType
int mTypeFlags
int mTypeKind
int mTypeStoredKind
size_t mDataSize
std::string mTypeName

Additional Inherited Members

Public Types inherited from ProxyTypeAdapterT< WsfProxy::Int >
using DataType
Public Types inherited from ProxyTypeAdapterBaseT< WsfProxy::Int >
using DataType
Static Public Attributes inherited from WsfPProxyBasicType
static const int cBASIC_TYPE_HEADER_SIZE = 1
Static Protected Member Functions inherited from ProxyTypeAdapterT< WsfProxy::Int >
static WsfProxy::IntGet (void *p)
Static Protected Member Functions inherited from ProxyTypeAdapterBaseT< WsfProxy::Int >
static WsfProxy::IntGet (void *p)
Static Protected Member Functions inherited from WsfPProxyBasicType
static unsigned char & BasicValueFlags (void *aValuePtr)

Constructor & Destructor Documentation

◆ WsfPProxyEnumType()

Member Function Documentation

◆ Construct()

void WsfPProxyEnumType::Construct ( void * p) const
overridevirtual

◆ IsTypeOf()

bool WsfPProxyEnumType::IsTypeOf ( const WsfPProxyType * aOtherType) const
overridevirtual

◆ Read()

void WsfPProxyEnumType::Read ( void * p,
WsfParseNode * aNodePtr ) const
overridevirtual

◆ SetValue()

void WsfPProxyEnumType::SetValue ( void * p,
const std::string & aText ) const
overridevirtual

◆ ToString()

std::string WsfPProxyEnumType::ToString ( void * p) const
overridevirtual

◆ Write()

std::string WsfPProxyEnumType::Write ( void * p,
WsfParseRule * aRulePtr ) const
overridevirtual

Reimplemented from ProxyTypeAdapterT< WsfProxy::Int >.

References ToString().

Member Data Documentation

◆ mIntToString

WsfPEnumIntMap WsfPProxyEnumType::mIntToString

◆ mStringToInt

WsfPEnumStrMap WsfPProxyEnumType::mStringToInt

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