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

Constructor & Destructor Documentation

CObservationHeader()

CObservationHeader ( ) [private]

Constructs an empty observation header object.

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

CObservationHeader ( const TUid & aPckgUid,
const TPackageType aPckgType,
const TOperationType aOpType
) [private]

Constructor.

Parameters

const TUid & aPckgUid
const TPackageType aPckgType
const TOperationType aOpType

~CObservationHeader()

~CObservationHeader ( )

Destructor.

Member Functions Documentation

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream ) const

Externalises the observation header object.

Parameters

RWriteStream & aStream Stream to write to

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( RReadStream & aStream )

Internalises the observation header object.

Parameters

RReadStream & aStream Stream to read from

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

IMPORT_C CObservationHeader * NewL ( const TUid & aPckgUid,
const TPackageType aPckgType,
const TOperationType aOpType
) [static]

Factory function allocates a new, initialized CObservationHeader object.

Parameters

const TUid & aPckgUid The UID of the package.
const TPackageType aPckgType The type of the package.
const TOperationType aOpType The 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 TPackageType aPckgType,
const TOperationType aOpType
) [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