CMTPTypeServiceMethodElement Class Reference

class CMTPTypeServiceMethodElement : public CMTPTypeCompoundBase

Inherits from

Public Member Functions
~CMTPTypeServiceMethodElement()
IMPORT_C CMTPTypeServiceMethodElement *NewL()
IMPORT_C CMTPTypeServiceMethodElement *NewL(const TUint16, const TMTPTypeGuid &, const TDesC &, const TUint16)
IMPORT_C CMTPTypeServiceMethodElement *NewLC()
IMPORT_C CMTPTypeServiceMethodElement *NewLC(const TUint16, const TMTPTypeGuid &, const TDesC &, const TUint16)
IMPORT_C TUintType()
Private Member Functions
CMTPTypeServiceMethodElement()
voidConstructL()
voidConstructL(const TUint16, const TMTPTypeGuid &, const TDesC &, const TUint16)
const TElementInfo &ElementInfo(TInt)
MMTPType *NewFlatChunkL(const TElementInfo &)
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::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::ValidateChunkCount()const
CMTPTypeCompoundBase::WriteableElementL(TInt)const
CMTPTypeCompoundBase::~CMTPTypeCompoundBase()
Public Member Enumerations
enumTMTPServiceMethodElement { EMethodCode, EMethodGUID, EMethodName, EMethodAssociateFormate, ENumElements }
Private Member Enumerations
enumTChunkIds { EIdFlat1Chunk, EIdServiceMethodNameChunk, EIdFlat2Chunk, EIdNumChunks }
Inherited Enumerations
CMTPTypeCompoundBase:TReadWriteSequenceState
Private Attributes
const TUintKFlat1ChunkSize
const TUintKFlat2ChunkSize
RMTPTypeCompoundFlatChunk iChunkFlat1
RMTPTypeCompoundFlatChunk iChunkFlat2
CMTPTypeString *iChunkString
const TFixedArray< TElementInfo, ENumElements >iElementInfo
const CMTPTypeCompoundBase::TElementInfoiElementMetaData
Inherited Attributes
CMTPTypeCompoundBase::KJustInTimeConstruction
CMTPTypeCompoundBase::KMTPNotApplicable
CMTPTypeCompoundBase::KVariableChunkCount
CMTPTypeCompoundBase::iChunks
CMTPTypeCompoundBase::iWriteChunk
CMTPTypeCompoundBase::iWriteSequenceState

Constructor & Destructor Documentation

CMTPTypeServiceMethodElement()

CMTPTypeServiceMethodElement()[private]

~CMTPTypeServiceMethodElement()

IMPORT_C~CMTPTypeServiceMethodElement()[virtual]

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

ConstructL(const TUint16, const TMTPTypeGuid &, const TDesC &, const TUint16)

voidConstructL(const TUint16aMethodCode,
const TMTPTypeGuid &aMethodGUID,
const TDesC &aMethodName,
const TUint16aMethodAssociateFormate
)[private]

Parameters

const TUint16 aMethodCode
const TMTPTypeGuid & aMethodGUID
const TDesC & aMethodName
const TUint16 aMethodAssociateFormate

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.

NewFlatChunkL(const TElementInfo &)

MMTPType *NewFlatChunkL(const TElementInfo &aElementInfo)[private]

Parameters

const TElementInfo & aElementInfo

NewL()

IMPORT_C CMTPTypeServiceMethodElement *NewL()[static]

NewL(const TUint16, const TMTPTypeGuid &, const TDesC &, const TUint16)

IMPORT_C CMTPTypeServiceMethodElement *NewL(const TUint16aMethodCode,
const TMTPTypeGuid &aMethodGUID,
const TDesC &aMethodName,
const TUint16aMethodAssociateFormate
)[static]

Parameters

const TUint16 aMethodCode
const TMTPTypeGuid & aMethodGUID
const TDesC & aMethodName
const TUint16 aMethodAssociateFormate

NewLC()

IMPORT_C CMTPTypeServiceMethodElement *NewLC()[static]

NewLC(const TUint16, const TMTPTypeGuid &, const TDesC &, const TUint16)

IMPORT_C CMTPTypeServiceMethodElement *NewLC(const TUint16aMethodCode,
const TMTPTypeGuid &aMethodGUID,
const TDesC &aMethodName,
const TUint16aMethodAssociateFormate
)[static]

Parameters

const TUint16 aMethodCode
const TMTPTypeGuid & aMethodGUID
const TDesC & aMethodName
const TUint16 aMethodAssociateFormate

Type()

IMPORT_C TUintType()const [virtual]

Member Enumerations Documentation

Enum TChunkIds

Data chunk identifiers.

Enumerators

EIdFlat1Chunk

The flat data chunk ID.

EIdServiceMethodNameChunk
EIdFlat2Chunk
EIdNumChunks

The number of data chunks.

Enum TMTPServiceMethodElement

Enumerators

EMethodCode
EMethodGUID
EMethodName
EMethodAssociateFormate
ENumElements

Member Data Documentation

const TUint KFlat1ChunkSize

const TUintKFlat1ChunkSize[private, static]

The size in bytes of the first flat data chunk.

const TUint KFlat2ChunkSize

const TUintKFlat2ChunkSize[private, static]

The size in bytes of the second flat data chunk.

RMTPTypeCompoundFlatChunk iChunkFlat1

RMTPTypeCompoundFlatChunk iChunkFlat1[private]

The flat data chunk comprising elements .

RMTPTypeCompoundFlatChunk iChunkFlat2

RMTPTypeCompoundFlatChunk iChunkFlat2[private]

CMTPTypeString * iChunkString

CMTPTypeString *iChunkString[private]

The MTP string type data chunks (EStorageDescription, and EVolumeIdentifier).

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.