class TMTPTypeRequest : public TMTPTypeFlatBase |
Defines the MTP operation request dataset. This dataset is stored in a contiguous flat buffer to optimise data transfer to/from the MTP transport layer.
Public Member Functions | |
---|---|
TMTPTypeRequest () | |
TMTPTypeRequest (const TMTPTypeRequest &) | |
IMPORT_C TUint | Type () |
IMPORT_C TBool | operator!= (const TMTPTypeRequest &) |
IMPORT_C TBool | operator== (const TMTPTypeRequest &) |
Private Member Functions | |
---|---|
IMPORT_C const TMTPTypeFlatBase::TElementInfo & | ElementInfo ( TInt ) |
Public Member Enumerations | |
---|---|
enum |
TElements
{
ERequestOperationCode , ERequestSessionID , ERequestTransactionID , ERequestParameter1 , ERequestParameter2 , ERequestParameter3 , ERequestParameter4 , ERequestParameter5 , ENumElements } |
Private Attributes | |
---|---|
const TInt | KSize |
TBuf8 < KSize > | iBuffer |
const TFixedArray < TElementInfo , ENumElements > | iElementInfo |
const TMTPTypeFlatBase::TElementInfo | iElementMetaData |
IMPORT_C | TMTPTypeRequest | ( | const TMTPTypeRequest & | aRequest | ) |
const TMTPTypeRequest & aRequest |
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 TBool | operator!= | ( | const TMTPTypeRequest & | aRequest | ) | const |
Inequality operator.
const TMTPTypeRequest & aRequest | The request to compare against this TMTPTypeRequest. |
IMPORT_C TBool | operator== | ( | const TMTPTypeRequest & | aRequest | ) | const |
Equality operator.
const TMTPTypeRequest & aRequest | The request to compare against this TMTPTypeRequest. |
MTP operation request dataset element identifiers.
ERequestOperationCode |
Operation Code. |
ERequestSessionID |
SessionID. |
ERequestTransactionID |
TransactionID. |
ERequestParameter1 |
Parameter 1. |
ERequestParameter2 |
Parameter 2. |
ERequestParameter3 |
Parameter 3. |
ERequestParameter4 |
Parameter 4. |
ERequestParameter5 |
Parameter 5. |
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.