Swi::Sis::CInfo Class Reference

class Swi::Sis::CInfo : public Swi::Sis::CField

This class represents a SISInfo. SISInfo is a basic structure found in SIS files. It is described in SGL.GT0188.251.

Inherits from

Public Member Functions
~CInfo()
TInstallFlags InstallFlags()
TInstallType InstallType()
const RPointerArray< CString > &Names()
IMPORT_C CInfo *NewL(MSisDataProvider &, TInt64 &, TReadTypeBehaviour)
IMPORT_C CInfo *NewL(TPtrProvider &, TInt64 &, TReadTypeBehaviour)
IMPORT_C CInfo *NewLC(MSisDataProvider &, TInt64 &, TReadTypeBehaviour)
IMPORT_C CInfo *NewLC(TPtrProvider &, TInt64 &, TReadTypeBehaviour)
const CUid &Uid()
const CString &UniqueVendorName()
const RPointerArray< CString > &VendorNames()
const CVersion &Version()
Private Member Functions
CInfo()
voidConstructL(MSisDataProvider &, TInt64 &, TReadTypeBehaviour)
voidConstructL(TPtrProvider &, TInt64 &, TReadTypeBehaviour)
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()
Swi::Sis::CField::CField()
Swi::Sis::CField::CalculateCrcL(MSisDataProvider &,const TInt64,TUint16 &)
Swi::Sis::CField::CheckedReadL(MSisDataProvider &,TDes8 &,TInt,TInt64 &)
Swi::Sis::CField::CheckedReadL(MSisDataProvider &,TDes8 &,TInt64 &)
Swi::Sis::CField::ConstructL(MSisDataProvider &,TFieldType,TInt64 &,TReadTypeBehaviour)
Swi::Sis::CField::ConstructL(TPtrProvider &,TFieldType,TInt64 &,TReadTypeBehaviour)
Swi::Sis::CField::CreateHeader(TFieldType,TFieldLength,TDes8 &)
Swi::Sis::CField::EnsureAlignedL(MSisDataProvider &,TInt64,TInt64 &,TReadTypeBehaviour)
Swi::Sis::CField::EnsureAlignedL(TPtrProvider &,TInt64,TInt64 &,TReadTypeBehaviour)
Swi::Sis::CField::FieldType()const
Swi::Sis::CField::HeaderSize(TArrayStatus)const
Swi::Sis::CField::Length()const
Swi::Sis::CField::PaddingSize()const
Swi::Sis::CField::ReadEnumL(MSisDataProvider &,EnumType &,TInt64 &)
Swi::Sis::CField::ReadEnumL(TPtrProvider &,EnumType &,TInt64 &)
Swi::Sis::CField::ReadMemberArrayL(MSisDataProvider &,RPointerArray< T > &,TFieldType,TInt64 &,TReadTypeBehaviour)
Swi::Sis::CField::ReadMemberArrayL(TPtrProvider &,RPointerArray< T > &,TFieldType,TInt64 &,TReadTypeBehaviour)
Swi::Sis::CField::ReadMemberCollectionL(MSisDataProvider &,RPointerArray< T > &,TFieldType,TFieldType,TInt64 &,TReadTypeBehaviour)
Swi::Sis::CField::ReadMemberCollectionL(TPtrProvider &,RPointerArray< T > &,TFieldType,TFieldType,TInt64 &,TReadTypeBehaviour)
Swi::Sis::CField::ReadTTypeL(MSisDataProvider &,T &,TInt64 &)
Swi::Sis::CField::ReadTTypeL(TPtrProvider &,T &,TInt64 &)
Swi::Sis::CField::SkipUnknownFieldsL(MSisDataProvider &,TInt64,TInt64 &,TReadTypeBehaviour)
Swi::Sis::CField::SkipUnknownFieldsL(TPtrProvider &,TInt64,TInt64 &,TReadTypeBehaviour)
Swi::Sis::CField::~CField()
Inherited Enumerations
Swi::Sis::CField:TArrayStatus
Private Attributes
CDateTime *iDateTime
TInstallFlags iInstallFlags
TInstallType iInstallType
RPointerArray< CString >iNames
CUid *iUid
CString *iUniqueVendorName
RPointerArray< CString >iVendorNames
CVersion *iVersion

Constructor & Destructor Documentation

CInfo()

CInfo()[private]

~CInfo()

IMPORT_C~CInfo()[virtual]

Member Functions Documentation

ConstructL(MSisDataProvider &, TInt64 &, TReadTypeBehaviour)

voidConstructL(MSisDataProvider &aDataProvider,
TInt64 &aBytesRead,
TReadTypeBehaviouraTypeReadBehaviour
)[private]

The second-phase constructor.

Parameters

MSisDataProvider & aDataProviderAn instance of a MSisDataProvider to read the entity from.
TInt64 & aBytesRead
TReadTypeBehaviour aTypeReadBehaviourWhether we need to check the sis type or not.

ConstructL(TPtrProvider &, TInt64 &, TReadTypeBehaviour)

voidConstructL(TPtrProvider &aDataProvider,
TInt64 &aBytesRead,
TReadTypeBehaviouraTypeReadBehaviour
)[private]

The second-phase in-place constructor.

Parameters

TPtrProvider & aDataProviderAn instance of a TPtrProvider to read the entity from.
TInt64 & aBytesRead
TReadTypeBehaviour aTypeReadBehaviourWhether we need to check the sis type or not.

InstallFlags()

TInstallFlags InstallFlags()const [inline]

This function returns the install flags of the file.

InstallType()

TInstallType InstallType()const [inline]

This function returns the install type of the file.

Names()

const RPointerArray< CString > &Names()const [inline]

This function returns the Names structure of the file. This structure contains a name for each of the languages the file supports.

NewL(MSisDataProvider &, TInt64 &, TReadTypeBehaviour)

IMPORT_C CInfo *NewL(MSisDataProvider &aDataProvider,
TInt64 &aBytesRead,
TReadTypeBehaviouraTypeReadBehaviour = EReadType
)[static]

This creates a new CInfo object.

Parameters

MSisDataProvider & aDataProviderAn instance of a MSisDataProvider to read the entity from.
TInt64 & aBytesRead
TReadTypeBehaviour aTypeReadBehaviour = EReadTypeWhether we need to check the sis type or not.

NewL(TPtrProvider &, TInt64 &, TReadTypeBehaviour)

IMPORT_C CInfo *NewL(TPtrProvider &aDataProvider,
TInt64 &aBytesRead,
TReadTypeBehaviouraTypeReadBehaviour = EReadType
)[static]

This creates a new CInfo object in place.

Parameters

TPtrProvider & aDataProviderAn instance of a TPtrProvider to read the entity from.
TInt64 & aBytesRead
TReadTypeBehaviour aTypeReadBehaviour = EReadTypeWhether we need to check the sis type or not.

NewLC(MSisDataProvider &, TInt64 &, TReadTypeBehaviour)

IMPORT_C CInfo *NewLC(MSisDataProvider &aDataProvider,
TInt64 &aBytesRead,
TReadTypeBehaviouraTypeReadBehaviour = EReadType
)[static]

This creates a new CInfo object.

Parameters

MSisDataProvider & aDataProviderAn instance of a MSisDataProvider to read the entity from.
TInt64 & aBytesRead
TReadTypeBehaviour aTypeReadBehaviour = EReadTypeWhether we need to check the sis type or not.

NewLC(TPtrProvider &, TInt64 &, TReadTypeBehaviour)

IMPORT_C CInfo *NewLC(TPtrProvider &aDataProvider,
TInt64 &aBytesRead,
TReadTypeBehaviouraTypeReadBehaviour = EReadType
)[static]

This creates a new CInfo object in place and places it on the cleanup stack.

Parameters

TPtrProvider & aDataProviderAn instance of a TPtrProvider to read the entity from.
TInt64 & aBytesRead
TReadTypeBehaviour aTypeReadBehaviour = EReadTypeWhether we need to check the sis type or not.

Uid()

const CUid &Uid()const [inline]

Accessor for the uid field.

UniqueVendorName()

const CString &UniqueVendorName()const [inline]

This function returns the UniqueVendorName string of the file. This structure contains a single name.

VendorNames()

const RPointerArray< CString > &VendorNames()const [inline]

This function returns the VendorNames structure of the file. This structure contains a name for each of the languages the file supports.

Version()

const CVersion &Version()const [inline]

This function returns the version of the file.

Member Data Documentation

CDateTime * iDateTime

CDateTime *iDateTime[private]

TInstallFlags iInstallFlags

TInstallFlags iInstallFlags[private]

Installation flags i.e. Shutdown all applications etc

TInstallType iInstallType

TInstallType iInstallType[private]

Installation type i.e. New, partial upgrade etc

RPointerArray< CString > iNames

RPointerArray< CString >iNames[private]

The Names structure of the file. This structure contains a name for each of the languages the file supports.

CUid * iUid

CUid *iUid[private]

The uid of the file.

CString * iUniqueVendorName

CString *iUniqueVendorName[private]

RPointerArray< CString > iVendorNames

RPointerArray< CString >iVendorNames[private]

The names of the provider of file.

CVersion * iVersion

CVersion *iVersion[private]

The version of the file.