WSF
WsfPProxyUndo Class Reference

#include <WsfPProxyUndo.hpp>

Classes

class  ActionBase

Public Member Functions

 WsfPProxyUndo (WsfPProxyValue aRoot)
 WsfPProxyUndo (const WsfPProxyUndo &)=delete
WsfPProxyUndooperator= (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 WsfPProxyValueRoot () const
bool SetUnset (const WsfPProxyPath &aAttributePath, bool aIsUnset=true)
void DisableUndo ()

Friends

class WsfPProxyUndo_ActionAssign
class WsfPProxyUndo_ActionMapOp
class WsfPProxyUndo_ActionListOp

Constructor & Destructor Documentation

◆ WsfPProxyUndo() [1/2]

WsfPProxyUndo::WsfPProxyUndo ( WsfPProxyValue aRoot)
inline

◆ WsfPProxyUndo() [2/2]

WsfPProxyUndo::WsfPProxyUndo ( const WsfPProxyUndo & )
delete

References WsfPProxyUndo().

◆ ~WsfPProxyUndo()

WsfPProxyUndo::~WsfPProxyUndo ( )
inline

References Commit().

Member Function Documentation

◆ Assign()

◆ Commit()

void WsfPProxyUndo::Commit ( size_t aHistoryIndex = 0)

Referenced by ~WsfPProxyUndo().

◆ DisableUndo()

void WsfPProxyUndo::DisableUndo ( )
inline

◆ GetHistorySize()

size_t WsfPProxyUndo::GetHistorySize ( )
inline

◆ ListPush()

bool WsfPProxyUndo::ListPush ( const WsfPProxyPath & aListPath)

◆ MapDelete()

◆ MapInsert()

◆ operator=()

WsfPProxyUndo & WsfPProxyUndo::operator= ( const WsfPProxyUndo & )
delete

References WsfPProxyUndo().

◆ Rollback()

void WsfPProxyUndo::Rollback ( size_t aHistoryIndex)

◆ Root()

const WsfPProxyValue & WsfPProxyUndo::Root ( ) const
inline

◆ SetUnset()

bool WsfPProxyUndo::SetUnset ( const WsfPProxyPath & aAttributePath,
bool aIsUnset = true )

◆ WsfPProxyUndo_ActionAssign

friend class WsfPProxyUndo_ActionAssign
friend

◆ WsfPProxyUndo_ActionListOp

friend class WsfPProxyUndo_ActionListOp
friend

◆ WsfPProxyUndo_ActionMapOp

friend class WsfPProxyUndo_ActionMapOp
friend

The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved