WSF
WsfPProxyBasicValue Class Reference

#include <WsfPProxyBasicValue.hpp>

Inheritance diagram for WsfPProxyBasicValue:
Collaboration diagram for WsfPProxyBasicValue:

Public Member Functions

 WsfPProxyBasicValue ()
 WsfPProxyBasicValue (const WsfPProxyValue &aVal)
 WsfPProxyBasicValue (void *aDataPtr, WsfPProxyBasicType *aTypePtr)
WsfPProxyBasicTypeGetType () const
std::string ToString () const
int ToInt () const
void Read (WsfParseNode *aNodePtr)
void SetValue (const std::string &aText)
void SetValue (WsfParseNode *aNodePtr)
void SetUnset ()
void Negate ()
bool IsEqual (const WsfPProxyValue &aRhs) const
void ValueChanged ()
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
virtual size_t GetMemberIndex (const std::string &aName) const
virtual WsfPProxyTypeGetMemberType (const std::string &aName) const
virtual WsfPProxyTypeGetMemberType (size_t aMemberIndex) 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

◆ WsfPProxyBasicValue() [1/3]

WsfPProxyBasicValue::WsfPProxyBasicValue ( )
inline

◆ WsfPProxyBasicValue() [2/3]

WsfPProxyBasicValue::WsfPProxyBasicValue ( const WsfPProxyValue & aVal)

◆ WsfPProxyBasicValue() [3/3]

WsfPProxyBasicValue::WsfPProxyBasicValue ( void * aDataPtr,
WsfPProxyBasicType * aTypePtr )

Member Function Documentation

◆ GetType()

WsfPProxyBasicType * WsfPProxyBasicValue::GetType ( ) const
inline

◆ IsEqual()

◆ Negate()

void WsfPProxyBasicValue::Negate ( )

◆ Read()

void WsfPProxyBasicValue::Read ( WsfParseNode * aNodePtr)

◆ SetUnset()

void WsfPProxyBasicValue::SetUnset ( )

◆ SetValue() [1/2]

void WsfPProxyBasicValue::SetValue ( const std::string & aText)

◆ SetValue() [2/2]

void WsfPProxyBasicValue::SetValue ( WsfParseNode * aNodePtr)

◆ ToInt()

int WsfPProxyBasicValue::ToInt ( ) const

◆ ToString()

◆ ValueChanged()

void WsfPProxyBasicValue::ValueChanged ( )
inline

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