Swi::CSisRegistryFileDescription Class Reference

class Swi::CSisRegistryFileDescription : public CBase

Inherits from

  • Swi::CSisRegistryFileDescription
Public Member Functions
~CSisRegistryFileDescription()
const HBufC8 *CapabilitiesData()
IMPORT_C voidExternalizeL(RWriteStream &)
const CHashContainer &Hash()
TUint32 Index()
IMPORT_C voidInternalizeL(RReadStream &)
const TDesC &MimeType()
IMPORT_C CSisRegistryFileDescription *NewL(const Sis::CFileDescription &, TChar, TBool)
IMPORT_C CSisRegistryFileDescription *NewL(const CSisRegistryFileDescription &)
IMPORT_C CSisRegistryFileDescription *NewL(RReadStream &)
IMPORT_C CSisRegistryFileDescription *NewL(CHashContainer &, const TDesC &, const TDesC &, const Sis::TSISFileOperation, const Sis::TSISFileOperationOptions, const TInt64, const TUint32, const TUid)
IMPORT_C CSisRegistryFileDescription *NewLC(const Sis::CFileDescription &, TChar, TBool)
IMPORT_C CSisRegistryFileDescription *NewLC(const CSisRegistryFileDescription &)
IMPORT_C CSisRegistryFileDescription *NewLC(RReadStream &)
Sis::TSISFileOperation Operation()
Sis::TSISFileOperationOptions OperationOptions()
IMPORT_C TUint32SerializedSize()
voidSetSid(TUid)
TUid Sid()
const TDesC &Target()
TInt64 UncompressedLength()
Private Member Functions
CSisRegistryFileDescription()
voidConstructL(const Sis::CFileDescription &, TChar, TBool)
voidConstructL(const CSisRegistryFileDescription &)
voidConstructL(RReadStream &)
voidConstructL(CHashContainer &, const TDesC &, const TDesC &, const Sis::TSISFileOperation, const Sis::TSISFileOperationOptions, const TInt64, const TUint32, const TUid)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
HBufC8 *iCapabilitiesData
CHashContainer *iHash
TUint32 iIndex
HBufC *iMimeType
Sis::TSISFileOperation iOperation
Sis::TSISFileOperationOptions iOperationOptions
TUid iSid
HBufC *iTarget
TInt64 iUncompressedLength

Constructor & Destructor Documentation

CSisRegistryFileDescription()

CSisRegistryFileDescription()[private]

Constructor

~CSisRegistryFileDescription()

IMPORT_C~CSisRegistryFileDescription()[virtual]

Member Functions Documentation

CapabilitiesData()

const HBufC8 *CapabilitiesData()const [inline]

ConstructL(const Sis::CFileDescription &, TChar, TBool)

voidConstructL(const Sis::CFileDescription &aFileDescription,
TCharaDrive,
TBoolaIsStub
)[private]

The second-phase constructor.

Parameters

const Sis::CFileDescription & aFileDescriptionthe file description.
TChar aDrivethe user selected drive for this installation
TBool aIsStub

ConstructL(const CSisRegistryFileDescription &)

voidConstructL(const CSisRegistryFileDescription &aFileDescription)[private]

The second-phase constructor.

Parameters

const CSisRegistryFileDescription & aFileDescriptionthe file description.

ConstructL(RReadStream &)

voidConstructL(RReadStream &aStream)[private]

The second-phase constructor.

Parameters

RReadStream & aStreamthe stream to read the file description from.

ConstructL(CHashContainer &, const TDesC &, const TDesC &, const Sis::TSISFileOperation, const Sis::TSISFileOperationOptions, const TInt64, const TUint32, const TUid)

voidConstructL(CHashContainer &aHash,
const TDesC &aTarget,
const TDesC &aMimeType,
const Sis::TSISFileOperationaOperation,
const Sis::TSISFileOperationOptionsaOperationOptions,
const TInt64aUncompressedLength,
const TUint32aIndex,
const TUidaSid
)[private]

Parameters

CHashContainer & aHash
const TDesC & aTarget
const TDesC & aMimeType
const Sis::TSISFileOperation aOperation
const Sis::TSISFileOperationOptions aOperationOptions
const TInt64 aUncompressedLength
const TUint32 aIndex
const TUid aSid

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Write the object to a stream

Parameters

RWriteStream & aStreamThe stream to write to

Hash()

const CHashContainer &Hash()const [inline]

Index()

TUint32 Index()const [inline]

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Read the object from a stream

Parameters

RReadStream & aStreamthe stream to read from

MimeType()

const TDesC &MimeType()const [inline]

NewL(const Sis::CFileDescription &, TChar, TBool)

IMPORT_C CSisRegistryFileDescription *NewL(const Sis::CFileDescription &aFileDescription,
TCharaDrive,
TBoolaIsStub = EFalse
)[static]

Creates a new CSisRegistryFileDescription object based on a Sis::CFileDescription object.

Parameters

const Sis::CFileDescription & aFileDescriptionthe file description object used to initialise the new object
TChar aDrivethe user selected drive for this installation
TBool aIsStub = EFalse

NewL(const CSisRegistryFileDescription &)

IMPORT_C CSisRegistryFileDescription *NewL(const CSisRegistryFileDescription &aFileDescription)[static]

Creates a copy of an existing CSisRegistryFileDescription.

Parameters

const CSisRegistryFileDescription & aFileDescriptionthe file description to base this object on

NewL(RReadStream &)

IMPORT_C CSisRegistryFileDescription *NewL(RReadStream &aStream)[static]

This method creates a new CSisRegistryFileDescription from a stream

Parameters

RReadStream & aStreamthe stream to read from

NewL(CHashContainer &, const TDesC &, const TDesC &, const Sis::TSISFileOperation, const Sis::TSISFileOperationOptions, const TInt64, const TUint32, const TUid)

IMPORT_C CSisRegistryFileDescription *NewL(CHashContainer &aHash,
const TDesC &aTarget,
const TDesC &aMimeType,
const Sis::TSISFileOperationaOperation,
const Sis::TSISFileOperationOptionsaOperationOptions,
const TInt64aUncompressedLength,
const TUint32aIndex,
const TUidaSid
)[static]

Create a file description based upon supplied parameters. This is used to create a file description for removable media SIS stub files. So they can be removed if an uninstall occurs

Parameters

CHashContainer & aHashThe hash of the file
const TDesC & aTargetThe location of hte file
const TDesC & aMimeTypeThe mime type of the file
const Sis::TSISFileOperation aOperationThe operation performed on this file during installation
const Sis::TSISFileOperationOptions aOperationOptionsThe options applied to the Operation
const TInt64 aUncompressedLength
const TUint32 aIndex
const TUid aSid

NewLC(const Sis::CFileDescription &, TChar, TBool)

IMPORT_C CSisRegistryFileDescription *NewLC(const Sis::CFileDescription &aFileDescription,
TCharaDrive,
TBoolaIsStub = EFalse
)[static]

Creates a new CSisRegistryFileDescription based on a Sis::CFileDescription object.

Parameters

const Sis::CFileDescription & aFileDescriptionthe file description object used to initialise the new object
TChar aDrivethe user selected drive for this installation
TBool aIsStub = EFalse

NewLC(const CSisRegistryFileDescription &)

IMPORT_C CSisRegistryFileDescription *NewLC(const CSisRegistryFileDescription &aFileDescription)[static]

This method creates a copy of an existing CSisRegistryFileDescription.

Parameters

const CSisRegistryFileDescription & aFileDescriptionthe file description to base this object on

NewLC(RReadStream &)

IMPORT_C CSisRegistryFileDescription *NewLC(RReadStream &aStream)[static]

This creates a new CSisRegistryFileDescription from a stream

Parameters

RReadStream & aStreamthe stream to read from

Operation()

Sis::TSISFileOperation Operation()const [inline]

OperationOptions()

Sis::TSISFileOperationOptions OperationOptions()const [inline]

SerializedSize()

IMPORT_C TUint32SerializedSize()const

SetSid(TUid)

voidSetSid(TUidaUid)[inline]

Parameters

TUid aUid

Sid()

TUid Sid()const [inline]

Target()

const TDesC &Target()const [inline]

UncompressedLength()

TInt64 UncompressedLength()const [inline]

Member Data Documentation

HBufC8 * iCapabilitiesData

HBufC8 *iCapabilitiesData[private]

CHashContainer * iHash

CHashContainer *iHash[private]

TUint32 iIndex

TUint32 iIndex[private]

HBufC * iMimeType

HBufC *iMimeType[private]

Sis::TSISFileOperation iOperation

Sis::TSISFileOperation iOperation[private]

Sis::TSISFileOperationOptions iOperationOptions

Sis::TSISFileOperationOptions iOperationOptions[private]

TUid iSid

TUid iSid[private]

HBufC * iTarget

HBufC *iTarget[private]

TInt64 iUncompressedLength

TInt64 iUncompressedLength[private]