|
WSF
|
#include <WsfPProxyUndo.hpp>
Classes | |
| class | ActionBase |
Public Member Functions | |
| WsfPProxyUndo (WsfPProxyValue aRoot) | |
| WsfPProxyUndo (const WsfPProxyUndo &)=delete | |
| WsfPProxyUndo & | operator= (const WsfPProxyUndo &)=delete |
| ~WsfPProxyUndo () | |
| size_t | GetHistorySize () |
| void | Rollback (size_t aHistoryIndex) |
| void | Commit (size_t aHistoryIndex=0) |
| bool | Assign (const WsfPProxyPath &aPath, WsfPProxyValue aNewValue) |
| bool | MapInsert (const WsfPProxyPath &aMapPath, const std::string &aMapKey, WsfPProxyValue aValue) |
| bool | MapDelete (const WsfPProxyPath &aMapPath, const std::string &aMapKey) |
| bool | ListPush (const WsfPProxyPath &aListPath) |
| const WsfPProxyValue & | Root () const |
| bool | SetUnset (const WsfPProxyPath &aAttributePath, bool aIsUnset=true) |
| void | DisableUndo () |
Friends | |
| class | WsfPProxyUndo_ActionAssign |
| class | WsfPProxyUndo_ActionMapOp |
| class | WsfPProxyUndo_ActionListOp |
|
inline |
Referenced by operator=(), WsfPProxyUndo::ActionBase::Undo(), and WsfPProxyUndo().
|
delete |
References WsfPProxyUndo().
|
inline |
References Commit().
| bool WsfPProxyUndo::Assign | ( | const WsfPProxyPath & | aPath, |
| WsfPProxyValue | aNewValue ) |
| void WsfPProxyUndo::Commit | ( | size_t | aHistoryIndex = 0 | ) |
Referenced by ~WsfPProxyUndo().
|
inline |
|
inline |
| bool WsfPProxyUndo::ListPush | ( | const WsfPProxyPath & | aListPath | ) |
References WsfPProxyValue::GetList(), WsfPProxyValue::Lookup(), and WsfPProxyList::PushBack().
| bool WsfPProxyUndo::MapDelete | ( | const WsfPProxyPath & | aMapPath, |
| const std::string & | aMapKey ) |
| bool WsfPProxyUndo::MapInsert | ( | const WsfPProxyPath & | aMapPath, |
| const std::string & | aMapKey, | ||
| WsfPProxyValue | aValue ) |
|
delete |
References WsfPProxyUndo().
| void WsfPProxyUndo::Rollback | ( | size_t | aHistoryIndex | ) |
|
inline |
| bool WsfPProxyUndo::SetUnset | ( | const WsfPProxyPath & | aAttributePath, |
| bool | aIsUnset = true ) |
|
friend |
References WsfPProxyUndo_ActionAssign.
Referenced by WsfPProxyUndo_ActionAssign.
|
friend |
References WsfPProxyUndo_ActionListOp.
Referenced by WsfPProxyUndo_ActionListOp.
|
friend |
References WsfPProxyUndo_ActionMapOp.
Referenced by WsfPProxyUndo_ActionMapOp.