Swi::CSisRegistryFileDescription Class Reference

class Swi::CSisRegistryFileDescription : public CBase

Inherits from

  • Swi::CSisRegistryFileDescription
Public Member Functions
~CSisRegistryFileDescription ()
const HBufC8 * CapabilitiesData ()
IMPORT_C void ExternalizeL ( RWriteStream &)
const CHashContainer & Hash ()
TUint32 Index ()
IMPORT_C void InternalizeL ( 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 TUint32 SerializedSize ()
void SetSid ( TUid )
TUid Sid ()
const TDesC & Target ()
TInt64 UncompressedLength ()
Private Member Functions
CSisRegistryFileDescription ()
void ConstructL (const Sis::CFileDescription &, TChar , TBool )
void ConstructL (const CSisRegistryFileDescription &)
void ConstructL ( RReadStream &)
void ConstructL ( 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)

void ConstructL ( const Sis::CFileDescription & aFileDescription,
TChar aDrive,
TBool aIsStub
) [private]

The second-phase constructor.

Parameters

const Sis::CFileDescription & aFileDescription the file description.
TChar aDrive the user selected drive for this installation
TBool aIsStub

ConstructL(const CSisRegistryFileDescription &)

void ConstructL ( const CSisRegistryFileDescription & aFileDescription ) [private]

The second-phase constructor.

Parameters

const CSisRegistryFileDescription & aFileDescription the file description.

ConstructL(RReadStream &)

void ConstructL ( RReadStream & aStream ) [private]

The second-phase constructor.

Parameters

RReadStream & aStream the 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)

void ConstructL ( 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
) [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 void ExternalizeL ( RWriteStream & aStream ) const

Write the object to a stream

Parameters

RWriteStream & aStream The stream to write to

Hash()

const CHashContainer & Hash ( ) const [inline]

Index()

TUint32 Index ( ) const [inline]

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( RReadStream & aStream )

Read the object from a stream

Parameters

RReadStream & aStream the stream to read from

MimeType()

const TDesC & MimeType ( ) const [inline]

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

IMPORT_C CSisRegistryFileDescription * NewL ( const Sis::CFileDescription & aFileDescription,
TChar aDrive,
TBool aIsStub = EFalse
) [static]

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

Parameters

const Sis::CFileDescription & aFileDescription the file description object used to initialise the new object
TChar aDrive the 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 & aFileDescription the 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 & aStream the 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::TSISFileOperation aOperation,
const Sis::TSISFileOperationOptions aOperationOptions,
const TInt64 aUncompressedLength,
const TUint32 aIndex,
const TUid aSid
) [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 & aHash The hash of the file
const TDesC & aTarget The location of hte file
const TDesC & aMimeType The mime type of the file
const Sis::TSISFileOperation aOperation The operation performed on this file during installation
const Sis::TSISFileOperationOptions aOperationOptions The 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,
TChar aDrive,
TBool aIsStub = EFalse
) [static]

Parameters

const Sis::CFileDescription & aFileDescription the file description object used to initialise the new object
TChar aDrive the 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 & aFileDescription the 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 & aStream the stream to read from

Operation()

Sis::TSISFileOperation Operation ( ) const [inline]

OperationOptions()

Sis::TSISFileOperationOptions OperationOptions ( ) const [inline]

SerializedSize()

IMPORT_C TUint32 SerializedSize ( ) const

SetSid(TUid)

void SetSid ( TUid aUid ) [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]