Swi::Sis::CFileDescription Class Reference

class Swi::Sis::CFileDescription : public Swi::Sis::CField

This class represents a SisFileDescription. SisFileDescription is a basic structure found in files. For a full description see SGL.GT0188.251.

Inherits from

Public Member Functions
~CFileDescription()
const CCapabilities *Capabilities()
TFieldLength DataLength()
const CHash &Hash()
TUint32 Index()
const CString &MimeType()
IMPORT_C CFileDescription *NewL(MSisDataProvider &, TInt64 &, TReadTypeBehaviour)
IMPORT_C CFileDescription *NewL(TPtrProvider &, TInt64 &, TReadTypeBehaviour)
IMPORT_C CFileDescription *NewLC(MSisDataProvider &, TInt64 &, TReadTypeBehaviour)
IMPORT_C CFileDescription *NewLC(TPtrProvider &, TInt64 &, TReadTypeBehaviour)
TSISFileOperation Operation()
TSISFileOperationOptions OperationOptions()
const CString &Target()
TFieldLength UncompressedLength()
Private Member Functions
CFileDescription()
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
CCapabilities *iCapabilities
TFieldLength iDataLength
CHash *iHash
TUint32 iIndex
CString *iMimeType
TSISFileOperation iOperation
TSISFileOperationOptions iOperationOptions
CString *iTarget
TFieldLength iUncompressedLength

Constructor & Destructor Documentation

CFileDescription()

CFileDescription()[private]

~CFileDescription()

IMPORT_C~CFileDescription()[virtual]

Member Functions Documentation

Capabilities()

const CCapabilities *Capabilities()const [inline]

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.

DataLength()

TFieldLength DataLength()const [inline]

Hash()

const CHash &Hash()const [inline]

Index()

TUint32 Index()const [inline]

MimeType()

const CString &MimeType()const [inline]

NewL(MSisDataProvider &, TInt64 &, TReadTypeBehaviour)

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

This creates a new CFileDescription 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 CFileDescription *NewL(TPtrProvider &aDataProvider,
TInt64 &aBytesRead,
TReadTypeBehaviouraTypeReadBehaviour = EReadType
)[static]

This creates a new CFileDescription 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 CFileDescription *NewLC(MSisDataProvider &aDataProvider,
TInt64 &aBytesRead,
TReadTypeBehaviouraTypeReadBehaviour = EReadType
)[static]

This creates a new CFileDescription object and places it on the cleanup stack.

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 CFileDescription *NewLC(TPtrProvider &aDataProvider,
TInt64 &aBytesRead,
TReadTypeBehaviouraTypeReadBehaviour = EReadType
)[static]

This creates a new CFileDescription 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.

Operation()

TSISFileOperation Operation()const [inline]

OperationOptions()

TSISFileOperationOptions OperationOptions()const [inline]

Target()

const CString &Target()const [inline]

UncompressedLength()

TFieldLength UncompressedLength()const [inline]

Member Data Documentation

CCapabilities * iCapabilities

CCapabilities *iCapabilities[private]

TFieldLength iDataLength

TFieldLength iDataLength[private]

CHash * iHash

CHash *iHash[private]

TUint32 iIndex

TUint32 iIndex[private]

CString * iMimeType

CString *iMimeType[private]

TSISFileOperation iOperation

TSISFileOperation iOperation[private]

TSISFileOperationOptions iOperationOptions

TSISFileOperationOptions iOperationOptions[private]

CString * iTarget

CString *iTarget[private]

TFieldLength iUncompressedLength

TFieldLength iUncompressedLength[private]