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

  • Swi::CObservationData

Constructor & Destructor Documentation

CObservationData()

CObservationData()[private]

Constructs an empty observation data object.

CObservationData(const TSecureId &, const TUint8)

CObservationData(const TSecureId &aSid,
const TUint8aFileFlag
)[private]

Constructor.

Parameters

const TSecureId & aSid
const TUint8 aFileFlag

~CObservationData()

~CObservationData()

Destructor.

Member Functions Documentation

ConstructL(const TDesC &)

voidConstructL(const TDesC &aFileName)[private]

Second phase constructor.

Parameters

const TDesC & aFileName

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Externalises the observation data object.

Parameters

RWriteStream & aStreamStream to write to

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Internalises the observation data object.

Parameters

RReadStream & aStreamStream to read from

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

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

Factory function allocates a new, initialized CObservationData object.

TFileFlag

Parameters

const TDesC & aFileNameThe fully qualified file path.
const TSecureId & aSidSecure Id of the application.
const TUint8 aFileFlagVarious 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 TUint8aFileFlag
)[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