|
WSF
|
Represents a path or unique key to a value in the proxy. More...
#include <WsfPProxyPath.hpp>
Public Member Functions | |
| WsfPProxyPath () | |
| WsfPProxyPath (const WsfPProxyPath &aRhs) | |
| WsfPProxyPath (const WsfPProxyPath &aRhs, size_t aSubPathSize) | |
| WsfPProxyPath (const WsfPProxyKey &aEntry) | |
| WsfPProxyPath & | operator+= (size_t aIndex) |
| WsfPProxyPath & | operator+= (const std::string &aStr) |
| WsfPProxyPath & | operator+= (const WsfPProxyPath &aSuffixPath) |
| WsfPProxyPath & | operator+= (const WsfPProxyKey &aEntry) |
| WsfPProxyPath | operator+ (const WsfPProxyKey &aEntry) const |
| WsfPProxyPath | operator+ (const WsfPProxyPath &aPath) const |
| WsfPProxyPath | operator+ (const std::string &aEntry) const |
| bool | Push (const WsfPProxyValue &aBaseValue, const std::string &aAttrName) |
| bool | operator== (const WsfPProxyPath &aRhs) const |
| bool | operator!= (const WsfPProxyPath &aRhs) const |
| bool | operator< (const WsfPProxyPath &aRhs) const |
| bool | operator>= (const WsfPProxyPath &aRhs) const |
| WsfPProxyValue | Lookup (WsfPProxyValue aRoot) |
| bool | IsPrefixOf (const WsfPProxyPath &aPath) const |
| size_t | size () const |
| const WsfPProxyKey & | operator[] (size_t i) const |
| WsfPProxyKey & | operator[] (size_t i) |
| void | Clear () |
| void | Swap (WsfPProxyPath &aRhs) |
| std::string | ToString (const WsfPProxyValue &aRootProxy) const |
| std::string | ToString (const WsfPProxyValue &aRootProxy, size_t aEntryIndex) const |
| std::vector< std::string > | ToStringList (const WsfPProxyValue &aRootProxy) const |
| void | Pop () |
| bool | Empty () const |
| WsfPProxyKey & | Back () |
| const WsfPProxyKey & | Back () const |
| size_t | MemoryUsage () const |
| void | Trim (size_t aPathLength) |
Static Public Member Functions | |
| static WsfPProxyPath | FromString (WsfPProxyValue aRoot, const std::string &aStr) |
| static WsfPProxyPath | FromStringList (WsfPProxyValue aRoot, const std::vector< std::string > &aStrList) |
| static WsfPProxyPath | FromTypePath (WsfPProxyValue aRoot, const WsfParseTypePath &aStrList) |
Represents a path or unique key to a value in the proxy.
|
inline |
|
inline |
References WsfPProxyPath().
|
inline |
References begin(), and WsfPProxyPath().
|
inline |
|
inline |
Referenced by WsfPProxyUndo::Assign(), wizard::UndoProxyChange::createUndo(), WsfPProxy::GetChildrenPaths(), WsfPProxyNode::GetInherited(), WsfPProxyNode::GetInheritedName(), WsfPProxyNode::GetTypeName(), wizard::Project::HandleProxyNodeMoved(), WsfPProxyNode::IsOfUserType(), WsfPProxySatisfy::LookupTypeLoad(), WsfPProxyNode::NotifyValueMoved(), WsfPProxy::PropagateNodeAddition(), WsfPProxy::PropagateNodeDeletion(), WsfPM_Platform::Rename(), wizard::EditAssist_Type2::SetTypeData(), and WsfPProxyNode::UpdateParentPath().
|
inline |
|
inline |
Referenced by WsfPProxySatisfy::Lookup().
|
inline |
Referenced by WsfPProxyUndo::Assign(), wizard::ParseResultsProxyData::FindDerivedTypes(), wizard::ParseResults::FindProxyReference(), wizard::ParseResultsProxyData::FindProxySourcePaths(), WsfPProxyStructValue::GetBase(), WsfPProxyValue::GetBasePath(), WsfPProxy::GetChildrenPaths(), wizard::ParseResults::GetFileNotifications(), WsfPProxyNode::GetInherited(), WsfPProxyNode::GetInheritedName(), WsfPProxyNode::GetTypeName(), WsfPProxyNode::GetTypePath(), WsfPProxyNode::IsOfUserType(), WsfPProxySatisfy::LookupTypeLoad(), WsfPProxySatisfy::SatisfyAttribute(), WsfPProxyIndex::SetCurrentProxyPath(), and WsfPProxyNode::UpdateParentPath().
|
static |
Convert a string representing a proxy path to an actual proxy path object. The string should be in the form: A.B.C
References WsfPProxyValue::GetAtIndex(), WsfPProxyValue::GetAttr(), WsfPProxyStructValue::GetMemberIndex(), WsfPProxyValue::GetObjectMap(), WsfPProxyValue::IsStruct(), and WsfPProxyPath().
Referenced by wizard::ParseResults::GetBaseTypes().
|
static |
References WsfPProxyValue::GetAtIndex(), WsfPProxyValue::GetAttr(), WsfPProxyStructValue::GetMemberIndex(), WsfPProxyValue::GetObjectMap(), WsfPProxyValue::IsStruct(), and WsfPProxyPath().
Referenced by wizard::ParseResultsProxyData::FindDerivedTypes(), FromTypePath(), wizard::Project::ProxyReady(), and wizard::DragAndDrop::ReadProxyNodeListMime().
|
static |
References FromStringList(), and WsfPProxyPath().
Referenced by wizard::EditAssist::MakeAssistant().
|
inline |
| WsfPProxyValue WsfPProxyPath::Lookup | ( | WsfPProxyValue | aRoot | ) |
References WsfPProxyValue::GetAtIndex(), and WsfPProxyValue::GetAttr().
Referenced by wizard::ParseResultsProxyData::FindProxySourcePaths().
| size_t WsfPProxyPath::MemoryUsage | ( | ) | const |
Referenced by WsfPProxyStructType::MemoryUsage().
|
inline |
References WsfPProxyPath().
|
inline |
References WsfPProxyPath().
|
inline |
References WsfPProxyPath().
|
inline |
References size(), and WsfPProxyPath().
|
inline |
References WsfPProxyPath().
|
inline |
References WsfPProxyPath().
|
inline |
References WsfPProxyPath().
|
inline |
References WsfPProxyPath().
|
inline |
References WsfPProxyPath().
|
inline |
References WsfPProxyPath().
|
inline |
References WsfPProxyPath().
|
inline |
|
inline |
|
inline |
Referenced by WsfPProxyDiff::Diff(), wizard::ParseResultsProxyData::FindDerivedTypes(), wizard::ParseResultsProxyData::FindProxySourcePaths(), WsfPProxy::GetChildrenPaths(), wizard::ParseResults::GetFileNotifications(), WsfPProxyNode::GetInherited(), WsfPProxyNode::GetParent(), WsfPProxySatisfy::SatisfyAttribute(), WsfPProxySatisfy::SatisfyAttributeInContext(), and WsfPProxyNode::UpdateParentPath().
| bool WsfPProxyPath::Push | ( | const WsfPProxyValue & | aBaseValue, |
| const std::string & | aAttrName ) |
References WsfProxy::cLIST, WsfProxy::cOBJECT_MAP, WsfProxy::cSTRUCT, WsfPProxyType::GetMemberIndex(), WsfPProxyValue::GetType(), and WsfPProxyType::mTypeKind.
Referenced by WsfPProxySatisfy::LookupDesired().
|
inline |
Referenced by WsfPProxyUndo::Assign(), WsfPProxySatisfy::BuildSequenceEquations(), wizard::UndoProxyChange::createUndo(), wizard::ProxyHash::Find(), WsfPProxyIndex::Find(), wizard::Project::FindOptions(), wizard::ParseResultsProxyData::FindProxySourcePaths(), WsfPProxySatisfy::FollowAction(), WsfPProxyIndex::Get(), wizard::Project::GetOptions(), WsfPProxyValue::Lookup(), WsfPProxySatisfy::LookupTypeLoad(), WsfPProxyNode::MoveTo(), WsfPProxyUndoValue::MoveToAttr(), operator+(), WsfPProxySatisfy::SatisfyAlternate(), WsfPProxySatisfy::SatisfyAttributeInContext(), and wizard::EditAssist_Type2::SetTypeData().
|
inline |
References std::swap(), and WsfPProxyPath().
Referenced by std::swap().
| std::string WsfPProxyPath::ToString | ( | const WsfPProxyValue & | aRootProxy | ) | const |
References WsfPProxyValue::GetAtIndex(), WsfPProxyValue::GetAttr(), WsfPProxyKey::GetIndex(), WsfPProxyKey::GetMapKey(), WsfPProxyStructValue::GetMemberName(), WsfPProxyKey::IsIndex(), and WsfPProxyValue::IsStruct().
Referenced by WsfPM_Zone::ParentPlatform(), WsfPProxyRegistry::PrintProxy(), WsfPProxySatisfy::SatisfyAttribute(), wizard::EditAssist_Type2::SetTypeData(), and WsfPProxySatisfy::SolveEquations().
| std::string WsfPProxyPath::ToString | ( | const WsfPProxyValue & | aRootProxy, |
| size_t | aEntryIndex ) const |
| std::vector< std::string > WsfPProxyPath::ToStringList | ( | const WsfPProxyValue & | aRootProxy | ) | const |
|
inline |