Swi::CObservationHeader Class Reference

class Swi::CObservationHeader : public CBase

Class that contains all observation records related with a specific package. In an observation log file, each header info corresponds to a specific package.

Inherits from

  • Swi::CObservationHeader

Constructor & Destructor Documentation

CObservationHeader()

CObservationHeader()[private]

Constructs an empty observation header object.

CObservationHeader(const TUid &, const TPackageType, const TOperationType)

CObservationHeader(const TUid &aPckgUid,
const TPackageTypeaPckgType,
const TOperationTypeaOpType
)[private]

Constructor.

Parameters

const TUid & aPckgUid
const TPackageType aPckgType
const TOperationType aOpType

~CObservationHeader()

~CObservationHeader()

Destructor.

Member Functions Documentation

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Externalises the observation header object.

Parameters

RWriteStream & aStreamStream to write to

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Internalises the observation header object.

Parameters

RReadStream & aStreamStream to read from

NewL(const TUid &, const TPackageType, const TOperationType)

IMPORT_C CObservationHeader *NewL(const TUid &aPckgUid,
const TPackageTypeaPckgType,
const TOperationTypeaOpType
)[static]

Factory function allocates a new, initialized CObservationHeader object.

Parameters

const TUid & aPckgUidThe UID of the package.
const TPackageType aPckgTypeThe type of the package.
const TOperationType aOpTypeThe type of the SWI operation.

NewLC()

IMPORT_C CObservationHeader *NewLC()[static]

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

CObservationHeader::NewL

NewLC(const TUid &, const TPackageType, const TOperationType)

IMPORT_C CObservationHeader *NewLC(const TUid &aPckgUid,
const TPackageTypeaPckgType,
const TOperationTypeaOpType
)[static]

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

CObservationHeader::NewL

Parameters

const TUid & aPckgUid
const TPackageType aPckgType
const TOperationType aOpType

Member Data Documentation

TOperationType iOpType

TOperationType iOpType

TPackageType iPckgType

TPackageType iPckgType

TUid iPckgUid

TUid iPckgUid