|
WSF
|
#include <WsfPProxyBasicValue.hpp>


Public Member Functions | |
| WsfPProxyBasicValue () | |
| WsfPProxyBasicValue (const WsfPProxyValue &aVal) | |
| WsfPProxyBasicValue (void *aDataPtr, WsfPProxyBasicType *aTypePtr) | |
| WsfPProxyBasicType * | GetType () 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 | |
| WsfPProxyValue & | operator= (const WsfPProxyValue &)=default |
| WsfPProxyValue & | operator= (WsfPProxyValue &&)=default |
| virtual | ~WsfPProxyValue ()=default |
| bool | IsBasicType () const |
| bool | IsStruct () const |
| bool | IsValid () const |
| void * | GetDataPtr () const |
| const WsfPProxyType * | GetType () 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 WsfPProxyType * | GetMemberType (const std::string &aName) const |
| virtual WsfPProxyType * | GetMemberType (size_t aMemberIndex) const |
| WsfPProxyList * | GetList () const |
| WsfPProxyObjectMap * | GetObjectMap () 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) |
| WsfPProxyPath * | GetBasePath () 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 |
| WsfPProxyValue & | operator= (const std::string &aStringValue) |
| WsfPProxyValue & | operator= (const char *aStringPtr) |
| WsfPProxyValue & | operator= (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 WsfPProxyType * | mTypePtr |
| void * | mDataPtr |
|
inline |
References WsfPProxyValue::WsfPProxyValue().
| WsfPProxyBasicValue::WsfPProxyBasicValue | ( | const WsfPProxyValue & | aVal | ) |
References WsfPProxyValue::mTypePtr, ValueChanged(), and WsfPProxyValue::WsfPProxyValue().
| WsfPProxyBasicValue::WsfPProxyBasicValue | ( | void * | aDataPtr, |
| WsfPProxyBasicType * | aTypePtr ) |
References ValueChanged(), and WsfPProxyValue::WsfPProxyValue().
|
inline |
References WsfPProxyValue::mTypePtr.
Referenced by IsEqual(), Negate(), Read(), WsfPProxySatisfy::SatisfyValueRule(), SetUnset(), SetValue(), SetValue(), and ToString().
| bool WsfPProxyBasicValue::IsEqual | ( | const WsfPProxyValue & | aRhs | ) | const |
References WsfPProxyBasicType::Equal(), WsfPProxyValue::GetDataPtr(), GetType(), WsfPProxyValue::GetType(), WsfPProxyValue::mDataPtr, WsfPProxyValue::mTypePtr, WsfPProxyType::mTypeStoredKind, and WsfPProxyValue::WsfPProxyValue().
Referenced by WsfPProxySatisfy::ApplyEquations(), WsfPProxyNode::Assign(), and WsfPProxySatisfy::IsEqual().
| void WsfPProxyBasicValue::Negate | ( | ) |
References GetType(), WsfPProxyValue::mDataPtr, WsfPProxyBasicType::Negate(), and ValueChanged().
| void WsfPProxyBasicValue::Read | ( | WsfParseNode * | aNodePtr | ) |
References GetType(), WsfPProxyValue::mDataPtr, WsfPProxyBasicType::Read(), and ValueChanged().
Referenced by WsfPProxySatisfy::SatisfyValueRule().
| void WsfPProxyBasicValue::SetUnset | ( | ) |
References GetType(), WsfPProxyValue::mDataPtr, WsfPProxyBasicType::SetUnset(), and ValueChanged().
Referenced by WsfPProxySatisfy::EquationExpression().
| void WsfPProxyBasicValue::SetValue | ( | const std::string & | aText | ) |
References GetType(), WsfPProxyValue::mDataPtr, WsfPProxyBasicType::SetValue(), and ValueChanged().
Referenced by WsfPProxySatisfy::BuildSequenceEquations(), and WsfPProxySatisfy::EquationExpression().
| void WsfPProxyBasicValue::SetValue | ( | WsfParseNode * | aNodePtr | ) |
References GetType(), WsfPProxyValue::mDataPtr, WsfPProxyBasicType::Read(), and ValueChanged().
| int WsfPProxyBasicValue::ToInt | ( | ) | const |
| std::string WsfPProxyBasicValue::ToString | ( | ) | const |
References GetType(), WsfPProxyValue::mDataPtr, WsfPProxyValue::mTypePtr, and WsfPProxyBasicType::ToString().
Referenced by WsfPProxySatisfy::FindBindingAddress2(), wizard::ComponentPropertyManager::FindPartIcon(), WsfPProxySatisfy::FollowAction(), WsfPProxyRegistry::PrintProxy(), WsfPProxySatisfy::Satisfy(), and WsfPProxyDeserializeContext::ReturnValue::ToString().
|
inline |
Referenced by Negate(), Read(), SetUnset(), SetValue(), SetValue(), WsfPProxyBasicValue(), and WsfPProxyBasicValue().