#include <WsfPProxy.hpp>
|
| enum | ProxyModifiedReason { cPM_CHILD_ADDED
, cPM_CHILD_REMOVED
, cPM_CHILD_MOVED
, cPM_VALUE_CHANGED
} |
| using | ProxyModifiedFn = std::function<void(WsfPProxy*, ProxyModifiedReason, const WsfPProxyPath&, const std::string*)> |
| using | BeforeModifyFn = std::function<void(WsfPProxy*, ProxyModifiedReason, const WsfPProxyPath&, const std::string*)> |
| using | RenameMap = std::map<WsfPProxyPath, WsfPProxyPath> |
|
| | WsfPProxy () |
| | WsfPProxy (const WsfPProxy &)=delete |
| WsfPProxy & | operator= (const WsfPProxy &)=delete |
| | ~WsfPProxy () |
| void | SetProxyModifiedCallback (ProxyModifiedFn aFunctionPtr) |
| void | SetBeforeProxyModifiedCallback (BeforeModifyFn aFunctionPtr) |
| void | BuildPathMap () |
| bool | GetChildrenPaths (const WsfPProxyPath &nodePath, WsfPProxyPathSet &childrenPaths, WsfPProxyPath &suffixPath) const |
| const WsfPProxyPathSet * | GetInheritedValuePaths (const WsfPProxyPath &nodePath) const |
| void | RecordObjectRename (const WsfPProxyPath &aOldPath, const WsfPProxyPath &aNewPath) |
| void | NotifyProxyModified (ProxyModifiedReason aProxyModifiedReason, const WsfPProxyPath &aPath, const std::string *aRenameName) |
| void | NotifyBeforeProxyModified (ProxyModifiedReason aProxyModifiedReason, const WsfPProxyPath &aPath, const std::string *aRenameName) |
| void | UndoPlatformRenames () |
| short | SequenceNumber () const |
| void | IncrementSequenceNumber () |
| void | SetSaveFile (const WsfPProxyPath &aPath, const std::string &aFilePath) |
| const std::map< WsfPProxyPath, std::string > & | SaveFiles () const |
| std::map< WsfPProxyPath, std::string > | RenameMappingOldToNew () |
| size_t | FindAttributeIndex (const std::string &aStructName, const std::string &aAttributeName) |
| WsfPProxyValue | NewValue (const std::string &aTypeName) |
| void | PropagateNodeChange (const WsfPProxyNode &aModifiedNode) |
| void | PropagateNodeAddition (const WsfPProxyNode &aAddedNode) |
| void | PropagateNodeDeletion (const WsfPProxyNode &aRemovedNode) |
| void | Swap (WsfPProxy &aProxy) |
| const std::shared_ptr< WsfPProxyRegistry > & | GetRegistry () const |
| void | Registry (const std::shared_ptr< WsfPProxyRegistry > &aRegistry) |
◆ BeforeModifyFn
◆ ProxyModifiedFn
◆ RenameMap
◆ ProxyModifiedReason
| Enumerator |
|---|
| cPM_CHILD_ADDED | |
| cPM_CHILD_REMOVED | |
| cPM_CHILD_MOVED | |
| cPM_VALUE_CHANGED | |
◆ WsfPProxy() [1/2]
◆ WsfPProxy() [2/2]
◆ ~WsfPProxy()
| WsfPProxy::~WsfPProxy |
( |
| ) |
|
◆ BuildPathMap()
| void WsfPProxy::BuildPathMap |
( |
| ) |
|
◆ FindAttributeIndex()
| size_t WsfPProxy::FindAttributeIndex |
( |
const std::string & | aStructName, |
|
|
const std::string & | aAttributeName ) |
◆ GetChildrenPaths()
◆ GetInheritedValuePaths()
◆ GetRegistry()
◆ IncrementSequenceNumber()
| void WsfPProxy::IncrementSequenceNumber |
( |
| ) |
|
|
inline |
◆ NewValue()
◆ NotifyBeforeProxyModified()
◆ NotifyProxyModified()
◆ operator=()
◆ PropagateNodeAddition()
| void WsfPProxy::PropagateNodeAddition |
( |
const WsfPProxyNode & | aAddedNode | ) |
|
References WsfPM_ObjectMap::Add(), WsfPProxyPath::Back(), WsfProxy::cCOPY_INHERITED, WsfPProxyValue::Copy(), GetChildrenPaths(), WsfPM_ObjectMap::GetObjectMap(), WsfPProxyNode::GetParent(), WsfPProxyNode::GetPath(), WsfPProxyValue::GetType(), WsfPProxyNode::GetValue(), WsfPProxyObjectMap::HasUserDeleted(), WsfPProxyType::IsObjectMap(), WsfPProxyNode::IsValid(), WsfPProxyValue::SetInherited(), and WsfPProxyKey::ToString().
◆ PropagateNodeChange()
| void WsfPProxy::PropagateNodeChange |
( |
const WsfPProxyNode & | aModifiedNode | ) |
|
◆ PropagateNodeDeletion()
| void WsfPProxy::PropagateNodeDeletion |
( |
const WsfPProxyNode & | aRemovedNode | ) |
|
◆ RecordObjectRename()
◆ Registry()
◆ RenameMappingOldToNew()
| std::map< WsfPProxyPath, std::string > WsfPProxy::RenameMappingOldToNew |
( |
| ) |
|
◆ SaveFiles()
| const std::map< WsfPProxyPath, std::string > & WsfPProxy::SaveFiles |
( |
| ) |
const |
|
inline |
◆ SequenceNumber()
| short WsfPProxy::SequenceNumber |
( |
| ) |
const |
|
inline |
◆ SetBeforeProxyModifiedCallback()
| void WsfPProxy::SetBeforeProxyModifiedCallback |
( |
BeforeModifyFn | aFunctionPtr | ) |
|
|
inline |
◆ SetProxyModifiedCallback()
◆ SetSaveFile()
| void WsfPProxy::SetSaveFile |
( |
const WsfPProxyPath & | aPath, |
|
|
const std::string & | aFilePath ) |
◆ Swap()
◆ UndoPlatformRenames()
| void WsfPProxy::UndoPlatformRenames |
( |
| ) |
|
◆ mBasicRoot
◆ mBeforeModifiedCallback
◆ mHasModifications
| bool WsfPProxy::mHasModifications |
◆ mIndex
◆ mModifiedCallback
◆ mPathMap
◆ mRenamedObjects
◆ mRoot
The documentation for this class was generated from the following files: