CNssVASDBEvent Class Reference

class CNssVASDBEvent : public CBase
CNssVASDBEvent class encapsulates a VAS DB event. A VAS DB evnt consists of the type of event and the tag object on which the event occured. The enumeration above shows the event types. Symbian DBMS event types do not have tag tag with them (set to NULL). The client is responsible for deleting the event object, otherwise a memory leak would occur. NssVASApi.lib
Since
2.8

Inherits from

Constructor & Destructor Documentation

CNssVASDBEvent()

CNssVASDBEvent ( ) [private]

C++ constructor.

~CNssVASDBEvent()

~CNssVASDBEvent ( )

C++ destructor

Member Functions Documentation

ConstructL(TVASDBEventType &, MNssTag *)

void ConstructL ( TVASDBEventType & aType,
MNssTag * aTag
) [private]

EPOC Constructor

Parameters

TVASDBEventType & aType - event type,
MNssTag * aTag - tag on which the event occured

NewL(TVASDBEventType &, MNssTag *)

CNssVASDBEvent * NewL ( TVASDBEventType & aType,
MNssTag * aTag
) [static]

2Phase Constructor

Parameters

TVASDBEventType & aType - event type,
MNssTag * aTag - tag on which the event occured

NewLC(TVASDBEventType &, MNssTag *)

CNssVASDBEvent * NewLC ( TVASDBEventType & aType,
MNssTag * aTag
) [static]

2Phase Constructor

Parameters

TVASDBEventType & aType - event type,
MNssTag * aTag - tag on which the event occured

Tag()

IMPORT_C MNssTag * Tag ( )
Function to get the tag object on which the event took place. Deleting the event, deletes the tag associated with it.
Since
2.0

Type()

IMPORT_C TVASDBEventType Type ( )
Get function to determine the type of event
Since
2.0

Member Enumerations Documentation

Enum TVASDBEventType

Enumerators

EVASDatabaseEventNull
EVASDatabaseEventDatabaseClose
EVASDatabaseEventDatabaseUnlock
EVASDatabaseEventDatabaseCommit
EVASDatabaseEventDatabaseRollback
EVASDatabaseEventDatabaseRecover
EVASDatabaseEventTagAdded
EVASDatabaseEventTagChanged
EVASDatabaseEventTagDeleted

Member Data Documentation

MNssTag * iTag

MNssTag * iTag [private]

TVASDBEventType iType

TVASDBEventType iType [private]