TMTPTypeDataPair Class Reference
| class TMTPTypeDataPair : public TMTPTypeFlatBase |
Defines the ObjectHandle-PropertyCode pair or ServiceID-PropertyCode pair. This data pair is stored in a contiguous flat buffer to optimise data transfer to/from the MTP transport layer.
| Inherited Functions |
|---|
| | MMTPType::CommitChunkL(TPtr8 &) |
| | MMTPType::CommitRequired()const |
| | MMTPType::CopyL(const MMTPType &,MMTPType &) |
| | MMTPType::FirstWriteChunk(TPtr8 &,TUint) |
| | MMTPType::GetExtendedInterface(TUid) |
| | MMTPType::NextWriteChunk(TPtr8 &,TUint) |
| | MMTPType::ReserveTransportHeader(TUint,TPtr8 &) |
| | MMTPType::Validate()const |
| | TMTPTypeFlatBase::DataBuffer() |
| | TMTPTypeFlatBase::FirstReadChunk(TPtrC8 &)const |
| | TMTPTypeFlatBase::FirstWriteChunk(TPtr8 &) |
| | TMTPTypeFlatBase::GetL(TInt,MMTPType &)const |
| | TMTPTypeFlatBase::Int16(TInt)const |
| | TMTPTypeFlatBase::Int32(TInt)const |
| | TMTPTypeFlatBase::Int64(TInt)const |
| | TMTPTypeFlatBase::Int8(TInt)const |
| | TMTPTypeFlatBase::NextReadChunk(TPtrC8 &)const |
| | TMTPTypeFlatBase::NextWriteChunk(TPtr8 &) |
| | TMTPTypeFlatBase::Reset() |
| | TMTPTypeFlatBase::SetBuffer(const TDes8 &) |
| | TMTPTypeFlatBase::SetInt16(TInt,TInt16) |
| | TMTPTypeFlatBase::SetInt32(TInt,TInt32) |
| | TMTPTypeFlatBase::SetInt64(TInt,TInt64) |
| | TMTPTypeFlatBase::SetInt8(TInt,TInt8) |
| | TMTPTypeFlatBase::SetL(TInt,const MMTPType &) |
| | TMTPTypeFlatBase::SetUint16(TInt,TUint16) |
| | TMTPTypeFlatBase::SetUint32(TInt,TUint32) |
| | TMTPTypeFlatBase::SetUint64(TInt,TUint64) |
| | TMTPTypeFlatBase::SetUint8(TInt,TUint8) |
| | TMTPTypeFlatBase::Size()const |
| | TMTPTypeFlatBase::TMTPTypeFlatBase() |
| | TMTPTypeFlatBase::Uint16(TInt)const |
| | TMTPTypeFlatBase::Uint32(TInt)const |
| | TMTPTypeFlatBase::Uint64(TInt)const |
| | TMTPTypeFlatBase::Uint8(TInt)const |
Constructor & Destructor Documentation
TMTPTypeDataPair()
| IMPORT_C | TMTPTypeDataPair | ( | ) | |
TMTPTypeDataPair(const TUint32, const TUint16)
TMTPTypeDataPair(const TMTPTypeDataPair &)
Member Functions Documentation
ElementInfo(TInt)
Provides the meta data for the specified element.
Parameters
| TInt aElementId | The identifier of the requested element. |
Type()
| IMPORT_C TUint | Type | ( | ) | const [virtual] |
Provides the MTP data type identification datacode.
Member Enumerations Documentation
Enum TElements
MTP operation response dataset element identifiers.
Enumerators
| EOwnerHandle |
The identifier of owner: ObjectHandle or ServiceID.
|
| EDataCode |
data code: PropertyCode.
|
| ENumElements |
The number of dataset elements.
|
Member Data Documentation
const TInt KSize
| const TInt | KSize | [private, static] |
The data pair size in bytes.
const TFixedArray< TElementInfo, ENumElements > iElementInfo
The data pair element metadata table.
const TMTPTypeFlatBase::TElementInfo iElementMetaData
The data pair element metadata table content.
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.