|
WSF
|
#include <WsfPProxyKey.hpp>
Public Types | |
| enum class | KeyType { cSTRING , cINDEX } |
Public Member Functions | |
| WsfPProxyKey () | |
| WsfPProxyKey (size_t i) | |
| WsfPProxyKey (const std::string &s) | |
| void | SetIndex (size_t aIndex) |
| void | SetMapKey (const std::string &aMapKey) |
| size_t | GetIndex () const |
| const std::string & | GetMapKey () const |
| std::string | ToString () const |
| void | ClearMapKey () |
| bool | IsString () const |
| bool | IsIndex () const |
| bool | operator< (const WsfPProxyKey &aRhs) const |
| bool | operator== (const WsfPProxyKey &aRhs) const |
WsfPProxyPath is composed of a list of entries. Entries are integer indices when possible. For map keys, a string is stored instead.
|
strong |
| WsfPProxyKey::WsfPProxyKey | ( | ) |
Referenced by operator<(), and operator==().
| WsfPProxyKey::WsfPProxyKey | ( | size_t | i | ) |
| WsfPProxyKey::WsfPProxyKey | ( | const std::string & | s | ) |
|
inline |
|
inline |
Referenced by WsfPProxyValue::GetAttr(), WsfPProxyNode::GetStablePath(), WsfPProxyValue::Lookup(), WsfPProxyUndoValue::MoveToAttr(), WsfPProxyPathEntryHash::operator()(), WsfPProxySatisfy::SatisfyAlternate(), WsfPProxyListType::SwapAttr(), WsfPProxyStructType::SwapAttr(), WsfPProxyPath::ToString(), and WsfPProxyPath::ToString().
|
inline |
Referenced by wizard::UndoProxyChange::createUndo(), WsfPProxyValue::GetAttr(), WsfPProxyNode::GetInheritedName(), WsfPProxyNode::GetTypeName(), WsfPProxyNode::IsOfUserType(), WsfPProxyValue::Lookup(), WsfPProxySatisfy::LookupTypeLoad(), WsfPProxyUndoValue::MoveToAttr(), WsfPProxyPathEntryHash::operator()(), wizard::EditAssist_Type2::SetTypeData(), WsfPProxyObjectMapType::SwapAttr(), WsfPProxyPath::ToString(), and WsfPProxyPath::ToString().
| bool WsfPProxyKey::IsIndex | ( | ) | const |
References cINDEX.
Referenced by WsfPProxyPathEntryHash::operator()(), operator<(), WsfPProxyPath::ToString(), and WsfPProxyPath::ToString().
| bool WsfPProxyKey::IsString | ( | ) | const |
References cSTRING.
Referenced by WsfPProxyValue::GetAttr(), WsfPProxyNode::GetInheritedName(), WsfPProxyNode::GetTypeName(), WsfPProxyValue::Lookup(), WsfPProxyUndoValue::MoveToAttr(), operator<(), and ToString().
| bool WsfPProxyKey::operator< | ( | const WsfPProxyKey & | aRhs | ) | const |
References IsIndex(), IsString(), and WsfPProxyKey().
| bool WsfPProxyKey::operator== | ( | const WsfPProxyKey & | aRhs | ) | const |
References cSTRING, and WsfPProxyKey().
|
inline |
References cINDEX.
Referenced by wizard::ProxyHash::RecurseHash().
|
inline |
Referenced by wizard::UndoProxyChange::createUndo().
| std::string WsfPProxyKey::ToString | ( | ) | const |
References IsString().
Referenced by wizard::Project::HandleProxyNodeMoved(), WsfPProxy::PropagateNodeAddition(), and WsfPProxy::PropagateNodeDeletion().