class TMTPTypeResponse : public TMTPTypeFlatBase |
Defines the MTP operation response dataset. This dataset is stored in a contiguous flat buffer to optimise data transfer to/from the MTP transport layer.
Public Member Functions | |
---|---|
TMTPTypeResponse() | |
TMTPTypeResponse(const TMTPTypeResponse &) | |
IMPORT_C TInt | GetNumOfValidParams() |
IMPORT_C void | SetUint32(TInt, TUint32) |
IMPORT_C TUint | Type() |
Private Member Functions | |
---|---|
IMPORT_C const TMTPTypeFlatBase::TElementInfo & | ElementInfo(TInt) |
Public Member Enumerations | |
---|---|
enum | TElements { EResponseCode, EResponseSessionID, EResponseTransactionID, EResponseParameter1, EResponseParameter2, EResponseParameter3, EResponseParameter4, EResponseParameter5, ENumValidParam, ENumElements } |
Private Attributes | |
---|---|
const TInt | KSize |
TBuf8< KSize > | iBuffer |
const TFixedArray< TElementInfo, ENumElements > | iElementInfo |
const TMTPTypeFlatBase::TElementInfo | iElementMetaData |
IMPORT_C | TMTPTypeResponse | ( | const TMTPTypeResponse & | aResponse | ) |
const TMTPTypeResponse & aResponse |
IMPORT_C const TMTPTypeFlatBase::TElementInfo & | ElementInfo | ( | TInt | aElementId | ) | const [private, virtual] |
Provides the meta data for the specified element.
TInt aElementId | The identifier of the requested element. |
IMPORT_C void | SetUint32 | ( | TInt | aElementId, |
TUint32 | aData | |||
) | [virtual] |
MTP operation response dataset element identifiers.
EResponseCode |
ResponseCode. |
EResponseSessionID |
SessionID. |
EResponseTransactionID |
TransactionID |
EResponseParameter1 |
Parameter 1. |
EResponseParameter2 |
Parameter 2. |
EResponseParameter3 |
Parameter 3. |
EResponseParameter4 |
Parameter 4. |
EResponseParameter5 |
Parameter 5. |
ENumValidParam | |
ENumElements |
The number of dataset elements. |
const TFixedArray< TElementInfo, ENumElements > | iElementInfo | [private] |
The dataset element metadata table.
const TMTPTypeFlatBase::TElementInfo | iElementMetaData | [private, static] |
The dataset 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.