graphicdrawerarray.cpp File Reference

NONSHARABLE_STRUCT(CWsGraphicDrawerArray::XRollBackBase)

NONSHARABLE_STRUCT(CWsGraphicDrawerArray::XRollBackBase)

Base class for cleanup operations - used as a handle for the CommitP() method This cleanup object is created on the heap with new(ELeave). It must be immediately pushed onto the cleanup stack, BEFORE the operation it protects, and must be written so that it does nothing until "activated" by the operation completing successfully. iArray==NULL indicates this state. This is because the client does not know whether the new(ELeave), the PushL, or the operational meat generated the exception, and therefore the operation must be the last exception thrown in the method.

Parameters

CWsGraphicDrawerArray::XRollBackBase

NONSHARABLE_STRUCT(CWsGraphicDrawerArray::XAddRollBack)

NONSHARABLE_STRUCT(CWsGraphicDrawerArray::XAddRollBack)

Cleanup record for Add operation. Removes the array entry at the recorded array index.

Parameters

CWsGraphicDrawerArray::XAddRollBack

NONSHARABLE_STRUCT(CWsGraphicDrawerArray::XSwapRollBack)

NONSHARABLE_STRUCT(CWsGraphicDrawerArray::XSwapRollBack)

Cleanup record for Swap operation. Re-inserts the recorded drawer by finding its index.

Parameters

CWsGraphicDrawerArray::XSwapRollBack

NONSHARABLE_STRUCT(CWsGraphicDrawerArray::XRemoveRollBack)

NONSHARABLE_STRUCT(CWsGraphicDrawerArray::XRemoveRollBack)

Cleanup record for Remove operation. Re-inserts the recorded drawer by finding its index.

Parameters

CWsGraphicDrawerArray::XRemoveRollBack