Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: DAMDELET.H
Link against: damodl.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class CDaUndoStack

class CDaUndoStack : public CBase;

Description

Allows delete operations on a data application model to be undone.

Derivation

Members

Defined in CDaUndoStack:
Count(), DeleteL(), Reset(), UndoL()

Inherited from CBase:
Delete(), Extension_(), operator new()


Member functions


DeleteL()

IMPORT_C void DeleteL(RDbView &aView, const CDbColSet &aColSet);

Description

Deletes the specified column set from the specified view.

The deleted information is saved so that the delete operation can be undone later.

Parameters

RDbView &aView

View from which to delete

const CDbColSet &aColSet

Column set to delete


UndoL()

IMPORT_C void UndoL(RDbView &aView, const CDbColSet &aColSet);

Description

Undoes a delete operation.

Parameters

RDbView &aView

View in which to undo.

const CDbColSet &aColSet

The column set affected.


Count()

inline TInt Count() const;

Description

Gets the number of items on the undo stack.

Return value

TInt

Number of items on the undo stack


Reset()

inline void Reset();

Description

Resets the undo stack.