CMTPTypeServiceObjPropExtnForm Class Reference
class CMTPTypeServiceObjPropExtnForm : public CMTPTypeCompoundBase |
Defines the MTP ObjectPropDesc Service Object Property Extension FORM dataset. The dataset is a component element of the ObjectPropDesc dataset. CMTPTypeObjectPropDesc
Inherits from
- CMTPTypeServiceObjPropExtnForm
Public Member Functions |
---|
| ~CMTPTypeServiceObjPropExtnForm() |
IMPORT_C MMTPType * | CommitChunkL(TPtr8 &) |
IMPORT_C TBool | CommitRequired() |
IMPORT_C TInt | FirstWriteChunk(TPtr8 &) |
IMPORT_C CMTPTypeServiceObjPropExtnForm * | NewL(const TUint) |
IMPORT_C CMTPTypeServiceObjPropExtnForm * | NewL(const TUint, const TMTPTypeGuid, const TUint, const TDesC &, const TUint8, const MMTPType *) |
IMPORT_C CMTPTypeServiceObjPropExtnForm * | NewLC(const TUint) |
IMPORT_C CMTPTypeServiceObjPropExtnForm * | NewLC(const TUint, const TMTPTypeGuid, const TUint, const TDesC &, const TUint8, const MMTPType *) |
IMPORT_C TInt | NextWriteChunk(TPtr8 &) |
IMPORT_C TUint | Type() |
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::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() |
Constructor & Destructor Documentation
CMTPTypeServiceObjPropExtnForm(const TUint)
CMTPTypeServiceObjPropExtnForm | ( | const TUint | aDataType | ) | [private] |
~CMTPTypeServiceObjPropExtnForm()
IMPORT_C | ~CMTPTypeServiceObjPropExtnForm | ( | ) | [virtual] |
Member Functions Documentation
CommitRequired()
IMPORT_C TBool | CommitRequired | ( | ) | const [virtual] |
ConstructL(const TMTPTypeGuid, const TUint, const TDesC &, const TUint8, const MMTPType *)
ElementInfo(TInt)
Provides the TElementInfo data for the specified element.
Parameters
TInt aElementId | The identifier of the requested element. |
FirstWriteChunk(TPtr8 &)
IMPORT_C TInt | FirstWriteChunk | ( | TPtr8 & | aChunk | ) | [virtual] |
NewL(const TUint)
MTP Service Object Property Extension FORM dataset factory method. This method is used to create an empty MTP Service Object Property Extension FORM of the specified Datatype.
- leave
- One of the system wide error codes, if unsuccessful.
Parameters
const TUint aDataType | The data type identifier datacode of the object property. |
NewL(const TUint, const TMTPTypeGuid, const TUint, const TDesC &, const TUint8, const MMTPType *)
NewLC(const TUint)
MTP DevicePropDesc Service Object Property Extension FORM factory method. This method is used to create an empty MTP Service Object Property Extension FORM of the specified Datatype.
- leave
- One of the system wide error codes, if unsuccessful.
Parameters
const TUint aDataType | The data type identifier datacode of the the object property. |
NewLC(const TUint, const TMTPTypeGuid, const TUint, const TDesC &, const TUint8, const MMTPType *)
NextWriteChunk(TPtr8 &)
IMPORT_C TInt | NextWriteChunk | ( | TPtr8 & | aChunk | ) | [virtual] |
ReadableElementL(TInt)
TBool
| ReadableElementL | ( | TInt | aElementId | ) | const [private, virtual] |
Indicates if the specified element can be read from.
Parameters
TInt aElementId | The identifier of the requested element. |
Type()
IMPORT_C TUint | Type | ( | ) | const [virtual] |
UpdateWriteSequenceErr(TInt)
TInt
| UpdateWriteSequenceErr | ( | TInt | aErr | ) | [private] |
WriteableElementL(TInt)
TBool
| WriteableElementL | ( | TInt | aElementId | ) | const [private, virtual] |
Indicates if the specified element can be written to.
Parameters
TInt aElementId | The identifier of the requested element. |
Member Enumerations Documentation
Enum TChunkIds
Enumerators
EIdFlat1Chunk |
The first flat data chunk ID.
|
EIdNameChunk |
The EPropertyName element data chunk ID.
|
EIdFlat2Chunk |
The second flat data chunk ID.
|
EIdFormChunk |
The EForm element data chunk ID.
|
EIdNumChunks |
The number of data chunks.
|
Enum TMTPObjectPropDescElement
MTP ObjectPropDesc Service Object Property Extension FORM element dataset identifiers.
Enumerators
EPKeyNamespace |
Object Property PKeyNamespace.
|
EPKeyID |
Object Property PKeyID
|
EPropertyName |
PropertyName
|
EFormFlag |
Form Flag .
|
EForm |
FORM element. This element depends EFormFlag and is absent if EFormFlag is ENone.
|
ENumElements |
The number of dataset elements.
|
Enum TWriteSequenceState
The write data stream states.
Enumerators
EIdle |
Data stream is inactive.
|
EFlat1Chunk |
Streaming the first flat data chunk.
|
ENameChunk |
Streaming the EDefaultValue data chunk..
|
EFlat2Chunk |
Streaming the second flat data chunk.
|
EFormChunk |
Streaming the EForm data chunk.
|
Member Data Documentation
const TUint KFlat1ChunkSize
const TUint | KFlat1ChunkSize | [private, static] |
const TUint KFlat2ChunkSize
const TUint | KFlat2ChunkSize | [private, static] |
The size in bytes of the second flat data chunk.
const TUint KNumChunksWithForm
const TUint | KNumChunksWithForm | [private, static] |
The data chunk count of ObjectPropDesc datasets with an EForm of other than ENone.
const TUint KNumChunksWithoutForm
const TUint | KNumChunksWithoutForm | [private, static] |
The data chunk count of ObjectPropDesc datasets with an EForm of ENone.
RMTPTypeCompoundFlatChunk
iChunkFlat1
The flat data chunk comprising elements EPKeyNamespace and EPKeyID.
RMTPTypeCompoundFlatChunk
iChunkFlat2
The flat data chunk comprising elements EFormFlag.
CMTPTypeObjectPropDesc::RMTPTypeObjectPropDescForm
iChunkForm
The EForm element data chunk.
CMTPTypeString * iChunkName
The EPropertyName element data chunk.
TUint
iDataType
The property's MTP data type identifier datacode.
const TFixedArray< TElementInfo, ENumElements > iElementInfo
The dataset element metadata table.
const CMTPTypeCompoundBase::TElementInfo iElementMetaData
The dataset element metadata table content.
TBool
iInitialised
TBool
| iInitialised | [private] |
The initialised flag indicating if construction is completeand that read-only elements can no longer be modified.
TUint
iWriteSequenceCompletionState
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.
TUint
iWriteSequenceErr
TUint
| iWriteSequenceErr | [private] |
The write data stream error state.
TUint
iWriteSequenceState
TUint
| iWriteSequenceState | [private] |
The write data stream state variable.
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.