CMTPTypeFormatCapability Class Reference

class CMTPTypeFormatCapability : public CMTPTypeCompoundBase

Inherits from

Public Member Functions
~CMTPTypeFormatCapability()
IMPORT_C voidAppendL(CMTPTypeObjectPropDesc *)
IMPORT_C CMTPTypeInterdependentPropDesc &InterdependentPropDesc()
IMPORT_C CMTPTypeFormatCapability *NewL()
IMPORT_C CMTPTypeFormatCapability *NewL(const TUint16, CMTPTypeInterdependentPropDesc *)
IMPORT_C CMTPTypeFormatCapability *NewLC()
IMPORT_C CMTPTypeFormatCapability *NewLC(const TUint16, CMTPTypeInterdependentPropDesc *)
IMPORT_C TUint32NumberOfPropDescs()
IMPORT_C CMTPTypeObjectPropDesc &ObjectPropDescL(TUint)
IMPORT_C TUintType()
Protected Member Functions
TBool ReadableElementL(TInt)
TBool WriteableElementL(TInt)
Private Member Functions
CMTPTypeFormatCapability(CMTPTypeInterdependentPropDesc *)
voidConstructL()
voidConstructL(const TUint16)
const TElementInfo &ElementInfo(TInt)
MMTPType *NewFlatChunkL()
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()
CMTPTypeCompoundBase::CMTPTypeCompoundBase(TBool,TUint)
CMTPTypeCompoundBase::ChunkAppendL(const MMTPType &)
CMTPTypeCompoundBase::ChunkCount()const
CMTPTypeCompoundBase::ChunkRemove(TUint)
CMTPTypeCompoundBase::CommitChunkL(TPtr8 &)
CMTPTypeCompoundBase::CommitRequired()const
CMTPTypeCompoundBase::FirstReadChunk(TPtrC8 &)const
CMTPTypeCompoundBase::FirstWriteChunk(TPtr8 &)
CMTPTypeCompoundBase::GetL(TInt,MMTPType &)const
CMTPTypeCompoundBase::Int16L(TInt)const
CMTPTypeCompoundBase::Int32L(TInt)const
CMTPTypeCompoundBase::Int64L(TInt)const
CMTPTypeCompoundBase::Int8L(TInt)const
CMTPTypeCompoundBase::NextReadChunk(TPtrC8 &)const
CMTPTypeCompoundBase::NextWriteChunk(TPtr8 &)
CMTPTypeCompoundBase::NextWriteChunk(TPtr8 &,TUint)
CMTPTypeCompoundBase::Reset()
CMTPTypeCompoundBase::SetExpectedChunkCount(TUint)
CMTPTypeCompoundBase::SetInt16L(TInt,TInt16)
CMTPTypeCompoundBase::SetInt32L(TInt,TInt32)
CMTPTypeCompoundBase::SetInt64L(TInt,TInt64)
CMTPTypeCompoundBase::SetInt8L(TInt,TInt8)
CMTPTypeCompoundBase::SetL(TInt,const MMTPType &)
CMTPTypeCompoundBase::SetStringL(TInt,const TDesC &)
CMTPTypeCompoundBase::SetUint16L(TInt,TUint16)
CMTPTypeCompoundBase::SetUint32L(TInt,TUint32)
CMTPTypeCompoundBase::SetUint64L(TInt,TUint64)
CMTPTypeCompoundBase::SetUint8L(TInt,TUint8)
CMTPTypeCompoundBase::Size()const
CMTPTypeCompoundBase::StringCharsL(TInt)const
CMTPTypeCompoundBase::StringNumCharsL(TInt)const
CMTPTypeCompoundBase::Uint16L(TInt)const
CMTPTypeCompoundBase::Uint32L(TInt)const
CMTPTypeCompoundBase::Uint64L(TInt)const
CMTPTypeCompoundBase::Uint8L(TInt)const
CMTPTypeCompoundBase::Validate()const
CMTPTypeCompoundBase::ValidateChunkCount()const
CMTPTypeCompoundBase::~CMTPTypeCompoundBase()
Public Member Enumerations
enumTMTPFormatCapabilityElement { EFormatCode, ENumElements }
Private Member Enumerations
enumTChunkIds { EIdFlatChunk, EIdObjPropDescListChunk, EIdInterDependentPropDescChunk, EIdNumChunks }
Inherited Enumerations
CMTPTypeCompoundBase:TReadWriteSequenceState
Private Attributes
RMTPTypeCompoundFlatChunk iChunkFlat
const TFixedArray< TElementInfo, ENumElements >iElementInfo
const CMTPTypeCompoundBase::TElementInfoiElementMetaData
CMTPTypeInterdependentPropDesc *iInterdependentPropDesc
CMTPTypeList *iObjectPropDescList
Inherited Attributes
CMTPTypeCompoundBase::KJustInTimeConstruction
CMTPTypeCompoundBase::KMTPNotApplicable
CMTPTypeCompoundBase::KVariableChunkCount
CMTPTypeCompoundBase::iChunks
CMTPTypeCompoundBase::iWriteChunk
CMTPTypeCompoundBase::iWriteSequenceState

Constructor & Destructor Documentation

CMTPTypeFormatCapability(CMTPTypeInterdependentPropDesc *)

CMTPTypeFormatCapability(CMTPTypeInterdependentPropDesc *aInterDependentPropDesc)[private]

Parameters

CMTPTypeInterdependentPropDesc * aInterDependentPropDesc

~CMTPTypeFormatCapability()

IMPORT_C~CMTPTypeFormatCapability()[virtual]

Member Functions Documentation

AppendL(CMTPTypeObjectPropDesc *)

IMPORT_C voidAppendL(CMTPTypeObjectPropDesc *aElement)

Parameters

CMTPTypeObjectPropDesc * aElement

ConstructL()

voidConstructL()[private]

ConstructL(const TUint16)

voidConstructL(const TUint16aFormatCode)[private]

Parameters

const TUint16 aFormatCode

ElementInfo(TInt)

const TElementInfo &ElementInfo(TIntaElementId)const [private, virtual]

Provides the TElementInfo data for the specified element.

Parameters

TInt aElementIdThe identifier of the requested element.

InterdependentPropDesc()

IMPORT_C CMTPTypeInterdependentPropDesc &InterdependentPropDesc()const

NewFlatChunkL()

MMTPType *NewFlatChunkL()[private]

NewL()

IMPORT_C CMTPTypeFormatCapability *NewL()[static]

NewL(const TUint16, CMTPTypeInterdependentPropDesc *)

IMPORT_C CMTPTypeFormatCapability *NewL(const TUint16aFormatCode,
CMTPTypeInterdependentPropDesc *aInterDependentPropDesc
)[static]

Parameters

const TUint16 aFormatCode
CMTPTypeInterdependentPropDesc * aInterDependentPropDesc

NewLC()

IMPORT_C CMTPTypeFormatCapability *NewLC()[static]

NewLC(const TUint16, CMTPTypeInterdependentPropDesc *)

IMPORT_C CMTPTypeFormatCapability *NewLC(const TUint16aFormatCode,
CMTPTypeInterdependentPropDesc *aInterDependentPropDesc
)[static]

Parameters

const TUint16 aFormatCode
CMTPTypeInterdependentPropDesc * aInterDependentPropDesc

NumberOfPropDescs()

IMPORT_C TUint32NumberOfPropDescs()const

ObjectPropDescL(TUint)

IMPORT_C CMTPTypeObjectPropDesc &ObjectPropDescL(TUintaIndex)const

Parameters

TUint aIndex

ReadableElementL(TInt)

TBool ReadableElementL(TIntaElementId)const [protected, virtual]

Indicates if the specified element can be read from.

Parameters

TInt aElementIdThe identifier of the requested element.

Type()

IMPORT_C TUintType()const [virtual]

WriteableElementL(TInt)

TBool WriteableElementL(TIntaElementId)const [protected, virtual]

Indicates if the specified element can be written to.

Parameters

TInt aElementIdThe identifier of the requested element.

Member Enumerations Documentation

Enum TChunkIds

Data chunk identifiers.

Enumerators

EIdFlatChunk

The flat data chunk ID.

EIdObjPropDescListChunk
EIdInterDependentPropDescChunk
EIdNumChunks

The number of data chunks.

Enum TMTPFormatCapabilityElement

Enumerators

EFormatCode
ENumElements

Member Data Documentation

RMTPTypeCompoundFlatChunk iChunkFlat

RMTPTypeCompoundFlatChunk iChunkFlat[private]

The flat data chunk comprising elements EStorageType to EFreeSpaceInObjects.

const TFixedArray< TElementInfo, ENumElements > iElementInfo

const TFixedArray< TElementInfo, ENumElements >iElementInfo[private]

The dataset element metadata table.

const CMTPTypeCompoundBase::TElementInfo iElementMetaData

const CMTPTypeCompoundBase::TElementInfoiElementMetaData[private, static]

The dataset element metadata table content.

CMTPTypeInterdependentPropDesc * iInterdependentPropDesc

CMTPTypeInterdependentPropDesc *iInterdependentPropDesc[private]

CMTPTypeList * iObjectPropDescList

CMTPTypeList *iObjectPropDescList[private]