CMTPTypeList Class Reference

class CMTPTypeList : public CMTPTypeCompoundBase

Inherits from

Public Member Functions
~CMTPTypeList()
IMPORT_C voidAppendL(const MMTPType *)
IMPORT_C MMTPType *CommitChunkL(TPtr8 &)
IMPORT_C TBoolCommitRequired()
IMPORT_C MMTPType &ElementL(const TInt)
IMPORT_C TIntElementType()
IMPORT_C TIntFirstWriteChunk(TPtr8 &)
IMPORT_C CMTPTypeList *NewL(TMTPTypeIds, TMTPTypeIds)
IMPORT_C CMTPTypeList *NewLC(TMTPTypeIds, TMTPTypeIds)
IMPORT_C TIntNextWriteChunk(TPtr8 &)
IMPORT_C TIntNextWriteChunk(TPtr8 &, TUint)
IMPORT_C TUint32NumberOfElements()
IMPORT_C voidRemove(const TInt)
IMPORT_C voidResetAndDestroy()
IMPORT_C TUintType()
Protected Member Functions
CMTPTypeList(TInt, TInt)
voidInitListL()
Private Member Functions
voidAppendElementChunkL(const MMTPType *)
voidConstructL()
const TElementInfo &ElementInfo(TInt)
TInt UpdateWriteSequenceErr(TInt)
TInt ValidateChunkCount()
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::FirstReadChunk(TPtrC8 &)const
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::ReadableElementL(TInt)const
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::WriteableElementL(TInt)const
CMTPTypeCompoundBase::~CMTPTypeCompoundBase()
Private Member Enumerations
enumTReadWriteSequenceState { EIdle, EElementChunks }
Private Attributes
const TUintKChunckNumberOfHeader
const TUintKChunkNumberofElements
TMTPTypeUint32 iChunkNumberOfElements
RPointerArray< MMTPType >iChunksElement
TInt iElementType
CMTPTypeCompoundBase::TElementInfo iInfoElement
CMTPTypeCompoundBase::TElementInfo iInfoNumberOfElements
TInt iListType
TUint iWriteSequenceErr
TUint iWriteSequenceState
Inherited Attributes
CMTPTypeCompoundBase::KJustInTimeConstruction
CMTPTypeCompoundBase::KMTPNotApplicable
CMTPTypeCompoundBase::KVariableChunkCount
CMTPTypeCompoundBase::iChunks
CMTPTypeCompoundBase::iWriteChunk

Constructor & Destructor Documentation

CMTPTypeList(TInt, TInt)

CMTPTypeList(TIntaArrayType,
TIntaElementType
)[protected]

Parameters

TInt aArrayType
TInt aElementType

~CMTPTypeList()

IMPORT_C~CMTPTypeList()[virtual]

Member Functions Documentation

AppendElementChunkL(const MMTPType *)

voidAppendElementChunkL(const MMTPType *aElement)[private]

Parameters

const MMTPType * aElement

AppendL(const MMTPType *)

IMPORT_C voidAppendL(const MMTPType *aElement)[virtual]

Parameters

const MMTPType * aElement

CommitChunkL(TPtr8 &)

IMPORT_C MMTPType *CommitChunkL(TPtr8 &aChunk)[virtual]

Parameters

TPtr8 & aChunk

CommitRequired()

IMPORT_C TBoolCommitRequired()const [virtual]

ConstructL()

voidConstructL()[private]

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.

ElementL(const TInt)

IMPORT_C MMTPType &ElementL(const TIntaIndex)const

Parameters

const TInt aIndex

ElementType()

IMPORT_C TIntElementType()const [virtual]

FirstWriteChunk(TPtr8 &)

IMPORT_C TIntFirstWriteChunk(TPtr8 &aChunk)[virtual]

Parameters

TPtr8 & aChunk

InitListL()

voidInitListL()[protected]

NewL(TMTPTypeIds, TMTPTypeIds)

IMPORT_C CMTPTypeList *NewL(TMTPTypeIdsaListType,
TMTPTypeIdsaElementType
)[static]

Parameters

TMTPTypeIds aListType
TMTPTypeIds aElementType

NewLC(TMTPTypeIds, TMTPTypeIds)

IMPORT_C CMTPTypeList *NewLC(TMTPTypeIdsaListType,
TMTPTypeIdsaElementType
)[static]

Parameters

TMTPTypeIds aListType
TMTPTypeIds aElementType

NextWriteChunk(TPtr8 &)

IMPORT_C TIntNextWriteChunk(TPtr8 &aChunk)[virtual]

Parameters

TPtr8 & aChunk

NextWriteChunk(TPtr8 &, TUint)

IMPORT_C TIntNextWriteChunk(TPtr8 &aChunk,
TUintaDataLength
)[virtual]

Parameters

TPtr8 & aChunk
TUint aDataLength

NumberOfElements()

IMPORT_C TUint32NumberOfElements()const [virtual]

Remove(const TInt)

IMPORT_C voidRemove(const TIntaIndex)[virtual]

Parameters

const TInt aIndex

ResetAndDestroy()

IMPORT_C voidResetAndDestroy()

Type()

IMPORT_C TUintType()const [virtual]

UpdateWriteSequenceErr(TInt)

TInt UpdateWriteSequenceErr(TIntaErr)[private]

Parameters

TInt aErr

ValidateChunkCount()

TInt ValidateChunkCount()const [private, virtual]

Validates that the number of chunks making up the compound type is valid. This method is invoked on variable length compound types by the default Valid implementation. Valid KVariableChunkCount

Member Enumerations Documentation

Enum TReadWriteSequenceState

The write data stream states.

Enumerators

EIdle

Data stream is inactive.

EElementChunks

Elements data stream is in progress.

Member Data Documentation

const TUint KChunckNumberOfHeader

const TUintKChunckNumberOfHeader[private, static]

const TUint KChunkNumberofElements

const TUintKChunkNumberofElements[private, static]

TMTPTypeUint32 iChunkNumberOfElements

TMTPTypeUint32 iChunkNumberOfElements[private]

RPointerArray< MMTPType > iChunksElement

RPointerArray< MMTPType >iChunksElement[private]

TInt iElementType

TInt iElementType[private]

CMTPTypeCompoundBase::TElementInfo iInfoElement

CMTPTypeCompoundBase::TElementInfo iInfoElement[private]

The Element array metadata content. Note that this is declared mutable to allow state updates while processing a read data stream.

CMTPTypeCompoundBase::TElementInfo iInfoNumberOfElements

CMTPTypeCompoundBase::TElementInfo iInfoNumberOfElements[private]

The NumberOfElements element metadata content.

TInt iListType

TInt iListType[private]

TUint iWriteSequenceErr

TUint iWriteSequenceErr[private]

The write data stream error state.

TUint iWriteSequenceState

TUint iWriteSequenceState[private]

The write data stream state variable.