class CMTPTypeServicePropDesc : public CMTPTypeCompoundBase |
Defines the MTP Service Property Description dataset. The dataset is a component element of the CMTPTypeServicePropDescList. CMTPTypeObjectPropDesc
Public Member Functions | |
---|---|
~CMTPTypeServicePropDesc() | |
IMPORT_C MMTPType * | CommitChunkL(TPtr8 &) |
IMPORT_C TBool | CommitRequired() |
IMPORT_C TInt | FirstWriteChunk(TPtr8 &) |
IMPORT_C CMTPTypeServicePropDesc * | NewL() |
IMPORT_C CMTPTypeServicePropDesc * | NewL(const TUint16, const TUint16, const TUint8, const TUint8, const MMTPType *) |
IMPORT_C CMTPTypeServicePropDesc * | NewLC() |
IMPORT_C CMTPTypeServicePropDesc * | NewLC(const TUint16, const TUint16, const TUint8, const TUint8, const MMTPType *) |
IMPORT_C TInt | NextWriteChunk(TPtr8 &) |
IMPORT_C TUint | Type() |
Private Member Functions | |
---|---|
CMTPTypeServicePropDesc() | |
void | ConstructL(const TUint16, const TUint16, const TUint8, const TUint8, const MMTPType *) |
const TElementInfo & | ElementInfo(TInt) |
TBool | HasFormField(TUint8) |
Public Member Enumerations | |
---|---|
enum | TMTPObjectPropDescElement { EServicePropertyCode, EDataType1, EGetSet1, EFormFlag, EForm, ENumElements } |
enum | TMTPServicePropDescGetSet { EReadOnly = 0x00, EReadWrite = 0x01 } |
Private Member Enumerations | |
---|---|
enum | TChunkIds { EIdFlat1Chunk, EIdFormChunk, EIdNumChunks } |
enum | TReadWriteSequenceState { EIdle, EFormChunk } |
IMPORT_C MMTPType * | CommitChunkL | ( | TPtr8 & | aChunk | ) | [virtual] |
TPtr8 & aChunk |
void | ConstructL | ( | const TUint16 | aServicePropCode, |
const TUint16 | aDataType, | |||
const TUint8 | aGetSet, | |||
const TUint8 | aFormFlag, | |||
const MMTPType * | aForm | |||
) | [private] |
const TElementInfo & | ElementInfo | ( | TInt | aElementId | ) | const [private, virtual] |
Provides the TElementInfo data for the specified element.
TInt aElementId | The identifier of the requested element. |
IMPORT_C TInt | FirstWriteChunk | ( | TPtr8 & | aChunk | ) | [virtual] |
TPtr8 & aChunk |
IMPORT_C CMTPTypeServicePropDesc * | NewL | ( | ) | [static] |
IMPORT_C CMTPTypeServicePropDesc * | NewL | ( | const TUint16 | aServicePropCode, |
const TUint16 | aDataType, | |||
const TUint8 | aGetSet, | |||
const TUint8 | aFormFlag, | |||
const MMTPType * | aForm | |||
) | [static] |
IMPORT_C CMTPTypeServicePropDesc * | NewLC | ( | ) | [static] |
IMPORT_C CMTPTypeServicePropDesc * | NewLC | ( | const TUint16 | aServicePropCode, |
const TUint16 | aDataType, | |||
const TUint8 | aGetSet, | |||
const TUint8 | aFormFlag, | |||
const MMTPType * | aForm | |||
) | [static] |
IMPORT_C TInt | NextWriteChunk | ( | TPtr8 & | aChunk | ) | [virtual] |
TPtr8 & aChunk |
Data chunk identifiers.
EIdFlat1Chunk |
The first flat data chunk ID. |
EIdFormChunk |
The EForm element data chunk ID. |
EIdNumChunks |
The number of data chunks. |
MTP ObjectPropDesc Service Property Description dataset element identifiers.
EServicePropertyCode |
Service Property code. |
EDataType1 |
Data-type code |
EGetSet1 |
Get/Set. |
EFormFlag |
Form Flag . |
EForm |
FORM element. This element depends EFormFlag and is absent if EFormFlag is ENone. |
ENumElements |
The number of dataset elements. |
MTP ServicePropDesc dataset Get/Set element values.
EReadOnly = 0x00 |
Get. |
EReadWrite = 0x01 |
Get/Set. |
The write data stream states.
EIdle |
Data stream is inactive. |
EFormChunk |
Streaming the EForm data chunk. |
const TUint | KNumChunksWithForm | [private, static] |
The data chunk count of ObjectPropDesc datasets with an EForm of other than ENone.
const TUint | KNumChunksWithoutForm | [private, static] |
The data chunk count of ObjectPropDesc datasets with an EForm of ENone.
RMTPTypeCompoundFlatChunk | iChunkFlat1 | [private] |
The flat data chunk comprising elements EPKeyNamespace and EPKeyID.
CMTPTypeObjectPropDesc::RMTPTypeObjectPropDescForm | iChunkForm | [private] |
The EForm element data chunk.
const TFixedArray< TElementInfo, ENumElements > | iElementInfo | [private] |
The dataset element metadata table.
const CMTPTypeCompoundBase::TElementInfo | iElementMetaData | [private, static] |
The dataset element metadata table content.
TUint | iWriteSequenceCompletionState | [private] |
The write data stream completion state. This will be set to EFlat2Chunk for ObjectPropDesc datasets with an EForm of ENone, otherwise this will be EFormChunk.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.