Swi::CObservationData Class Reference

class Swi::CObservationData : public CBase

Class for a single observation record data. Contains the basic information about a changed file by the SWI operation. Each observed SWI event in an observation log corresponds to a single observation data.

Inherits from

Constructor & Destructor Documentation

CObservationData()

CObservationData ( ) [private]

Constructs an empty observation data object.

CObservationData(const TSecureId &, const TUint8)

CObservationData ( const TSecureId & aSid,
const TUint8 aFileFlag
) [private]

Constructor.

Parameters

const TSecureId & aSid
const TUint8 aFileFlag

~CObservationData()

~CObservationData ( )

Destructor.

Member Functions Documentation

ConstructL(const TDesC &)

void ConstructL ( const TDesC & aFileName ) [private]

Second phase constructor.

Parameters

const TDesC & aFileName

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream ) const

Externalises the observation data object.

Parameters

RWriteStream & aStream Stream to write to

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( RReadStream & aStream )

Internalises the observation data object.

Parameters

RReadStream & aStream Stream to read from

NewL(const TDesC &, const TSecureId &, const TUint8)

IMPORT_C CObservationData * NewL ( const TDesC & aFileName,
const TSecureId & aSid,
const TUint8 aFileFlag
) [static]

Factory function allocates a new, initialized CObservationData object.

TFileFlag

Parameters

const TDesC & aFileName The fully qualified file path.
const TSecureId & aSid Secure Id of the application.
const TUint8 aFileFlag Various information about the file.

NewLC()

IMPORT_C CObservationData * NewLC ( ) [static]

Factory function allocates a new, empty CObservationData object which is left on the cleanup stack.

NewLC(const TDesC &, const TSecureId &, const TUint8)

IMPORT_C CObservationData * NewLC ( const TDesC & aFileName,
const TSecureId & aSid,
const TUint8 aFileFlag
) [static]

Factory function allocates a new, initialized CObservationData object which is left on the cleanup stack.

CObservationData::NewL

Parameters

const TDesC & aFileName
const TSecureId & aSid
const TUint8 aFileFlag

Member Data Documentation

TUint8 iFileFlag

TUint8 iFileFlag

Gives information about the file: whether the file has been removed from the system and the type of the file (exe or dll).

HBufC * iFileName

HBufC * iFileName

TSecureId iSid

TSecureId iSid