|
WSF
|
#include <WsfPProxyStructValue.hpp>


Public Member Functions | |
| WsfPProxyStructValue () | |
| WsfPProxyStructValue (const WsfPProxyValue &aValue) | |
| WsfPProxyStructValue (WsfPProxyStructHeader *aPtr) | |
| size_t | GetMemberIndex (const std::string &aName) const override |
| WsfPProxyType * | GetMemberType (const std::string &aName) const override |
| WsfPProxyType * | GetMemberType (size_t aMemberIndex) const override |
| WsfPProxyStructHeader * | GetHeader () const |
| WsfPProxyPath * | GetBase () const |
| void | SetBase (const WsfPProxyPath &aPath) |
| const WsfPProxyStructType * | GetStruct () 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 | |
| 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 |
| 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().
|
inline |
References WsfProxy::cPOLYMORPHIC, if(), WsfPProxyValue::mTypePtr, and WsfPProxyValue::WsfPProxyValue().
| WsfPProxyStructValue::WsfPProxyStructValue | ( | WsfPProxyStructHeader * | aPtr | ) |
References WsfPProxyValue::WsfPProxyValue().
|
inline |
References WsfPProxyPath::Empty(), WsfPProxyStructHeader::GetBasePath(), and GetHeader().
Referenced by wizard::ParseResultsProxyData::FindDerivedTypes(), wizard::ParseResultsProxyData::FindProxySourcePaths(), WsfPProxySatisfy::LookupTypeLoad(), WsfPProxyRegistry::PrintProxy(), and wizard::EditAssist_Type2::SetTypeData().
|
inline |
References WsfPProxyValue::mDataPtr.
Referenced by WsfPProxyStructType::CopyInstance(), WsfPProxyStructType::DestroyInstance(), GetBase(), GetMemberData(), WsfPProxyStructType::MemoryUsage(), and SetBase().
| void * WsfPProxyStructValue::GetMember | ( | const std::string & | aName | ) |
References GetMember(), GetMemberIndex(), and GetStruct().
| void * WsfPProxyStructValue::GetMember | ( | size_t | aMemberIndex | ) |
References GetMemberData(), GetStruct(), and WsfPProxyStructType::mAttrData.
Referenced by WsfPProxyStructType::CopyInstance(), WsfPProxyRegistry::CreateDefaultStruct(), and GetMember().
| size_t WsfPProxyStructValue::GetMemberCount | ( | ) |
|
inline |
References GetHeader().
Referenced by WsfPProxyStructType::DestroyInstance(), and GetMember().
|
overridevirtual |
Reimplemented from WsfPProxyValue.
References GetMemberIndex(), and WsfPProxyValue::mTypePtr.
Referenced by WsfPProxyRegistry::CreateDefaultStruct(), WsfPProxyPath::FromString(), WsfPProxyPath::FromStringList(), GetMember(), and GetMemberIndex().
| std::string WsfPProxyStructValue::GetMemberName | ( | size_t | aMemberIndex | ) | const |
References GetStruct(), and WsfPProxyStructType::mAllNames.
Referenced by WsfPProxyRegistry::PrintProxy(), WsfPProxyPath::ToString(), WsfPProxyPath::ToString(), and WsfPProxyPath::ToStringList().
|
overridevirtual |
Reimplemented from WsfPProxyValue.
References WsfPProxyStructType::GetMemberIndex(), and WsfPProxyValue::mTypePtr.
Referenced by WsfPProxyStructType::CopyInstance(), and WsfPProxyRegistry::CreateDefaultStruct().
|
overridevirtual |
Reimplemented from WsfPProxyValue.
References WsfPProxyValue::mTypePtr.
|
inline |
References WsfPProxyValue::mTypePtr.
Referenced by WsfPProxyStructType::Copy(), WsfPProxyStructType::DestroyInstance(), GetMember(), GetMember(), GetMemberCount(), and GetMemberName().
|
inline |
References GetHeader(), and WsfPProxyStructHeader::mBasePath.
Referenced by WsfPM_Platform::AddPart(), and WsfPProxyNode::SetBasePath().