WSF
WsfPProxyStructValue Class Reference

#include <WsfPProxyStructValue.hpp>

Inheritance diagram for WsfPProxyStructValue:
Collaboration diagram for WsfPProxyStructValue:

Public Member Functions

 WsfPProxyStructValue ()
 WsfPProxyStructValue (const WsfPProxyValue &aValue)
 WsfPProxyStructValue (WsfPProxyStructHeader *aPtr)
size_t GetMemberIndex (const std::string &aName) const override
WsfPProxyTypeGetMemberType (const std::string &aName) const override
WsfPProxyTypeGetMemberType (size_t aMemberIndex) const override
WsfPProxyStructHeaderGetHeader () const
WsfPProxyPathGetBase () const
void SetBase (const WsfPProxyPath &aPath)
const WsfPProxyStructTypeGetStruct () const
void * GetMemberData () const
size_t GetMemberCount ()
void * GetMember (size_t aMemberIndex)
void * GetMember (const std::string &aName)
std::string GetMemberName (size_t aMemberIndex) const
Public Member Functions inherited from WsfPProxyValue
 WsfPProxyValue ()
 WsfPProxyValue (void *aDataPtr, WsfPProxyType const *aTypePtr)
 WsfPProxyValue (const WsfPProxyValue &)=default
 WsfPProxyValue (WsfPProxyValue &&)=default
WsfPProxyValueoperator= (const WsfPProxyValue &)=default
WsfPProxyValueoperator= (WsfPProxyValue &&)=default
virtual ~WsfPProxyValue ()=default
bool IsBasicType () const
bool IsStruct () const
bool IsValid () const
void * GetDataPtr () const
const WsfPProxyTypeGetType () const
WsfPProxyValue GetAttr (const WsfPProxyKey &aEntry) const
WsfPProxyValue GetAttr (const std::string &aName) const
WsfPProxyValue GetAttr (size_t aIndex) const
bool SwapAttr (const WsfPProxyKey &aEntry, WsfPProxyValue &aValue) const
 Set attr, except the old value is saved.
WsfPProxyValue GetAtIndex (size_t aIndex) const
size_t GetAttrCount () const
std::string NameAtIndex (size_t aIndex) const
WsfPProxyListGetList () const
WsfPProxyObjectMapGetObjectMap () const
bool Copy (WsfPProxyValue aSrc, int flags=WsfProxy::cCOPY_ALL) const
void SetValue (const std::string &aText)
void SetBoolValue (bool value)
std::string ValueToString () const
WsfPProxyValue Copy (int flags=WsfProxy::cCOPY_ALL) const
void SetUnset ()
void ClearUnset ()
bool IsUnset () const
bool IsInherited () const
void SetInherited (bool aIsInherited)
WsfPProxyPathGetBasePath () const
 operator bool () const
 operator bool ()
bool operator== (const WsfPProxyValue &aRhs) const
bool operator< (const WsfPProxyValue &aRhs) const
void Delete ()
void Swap (WsfPProxyValue &aRhs) noexcept
WsfPProxyValue operator[] (const char *aAttrName)
WsfPProxyValue operator[] (const std::string &aAttrName)
WsfPProxyValue operator[] (size_t aIndex)
WsfPProxyHash Hash ()
WsfPProxyValue Lookup (const WsfPProxyPath &aPath, size_t aElements=0x7fffffff) const
WsfPProxyValue Lookup (const WsfParseTypePath &aPath) const
WsfPProxyValueoperator= (const std::string &aStringValue)
WsfPProxyValueoperator= (const char *aStringPtr)
WsfPProxyValueoperator= (bool aBoolValue)
bool GetIntegerValue (int &aValue)
void SetIntegerValue (int aValue)
bool IsBoolValue ()
bool GetBoolValue ()
void DebugOut (std::ostream &aStream, unsigned int aDepth=0) const
bool IsAttributeUsable (const std::string &aAttribute) const noexcept

Additional Inherited Members

Static Public Member Functions inherited from WsfPProxyValue
static WsfPProxyValue ConstructNew (const WsfPProxyType *aType)
Protected Member Functions inherited from WsfPProxyValue
template<typename T>
T * CastToValue () const
Protected Attributes inherited from WsfPProxyValue
const WsfPProxyTypemTypePtr
void * mDataPtr

Constructor & Destructor Documentation

◆ WsfPProxyStructValue() [1/3]

WsfPProxyStructValue::WsfPProxyStructValue ( )
inline

◆ WsfPProxyStructValue() [2/3]

WsfPProxyStructValue::WsfPProxyStructValue ( const WsfPProxyValue & aValue)
inline

◆ WsfPProxyStructValue() [3/3]

WsfPProxyStructValue::WsfPProxyStructValue ( WsfPProxyStructHeader * aPtr)

Member Function Documentation

◆ GetBase()

◆ GetHeader()

◆ GetMember() [1/2]

void * WsfPProxyStructValue::GetMember ( const std::string & aName)

◆ GetMember() [2/2]

void * WsfPProxyStructValue::GetMember ( size_t aMemberIndex)

◆ GetMemberCount()

◆ GetMemberData()

void * WsfPProxyStructValue::GetMemberData ( ) const
inline

◆ GetMemberIndex()

size_t WsfPProxyStructValue::GetMemberIndex ( const std::string & aName) const
overridevirtual

◆ GetMemberName()

std::string WsfPProxyStructValue::GetMemberName ( size_t aMemberIndex) const

◆ GetMemberType() [1/2]

WsfPProxyType * WsfPProxyStructValue::GetMemberType ( const std::string & aName) const
overridevirtual

◆ GetMemberType() [2/2]

WsfPProxyType * WsfPProxyStructValue::GetMemberType ( size_t aMemberIndex) const
overridevirtual

Reimplemented from WsfPProxyValue.

References WsfPProxyValue::mTypePtr.

◆ GetStruct()

◆ SetBase()

void WsfPProxyStructValue::SetBase ( const WsfPProxyPath & aPath)
inline

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