CPTPIPInitCmdRequest Class Reference

class CPTPIPInitCmdRequest : public CMTPTypeCompoundBase

Inherits from

Public Member Functions
~CPTPIPInitCmdRequest()
IMPORT_C MMTPType *CommitChunkL(TPtr8 &)
IMPORT_C TIntFirstWriteChunk(TPtr8 &)
IMPORT_C TDes16 &HostFriendlyName()
IMPORT_C CPTPIPInitCmdRequest *NewL()
IMPORT_C TIntNextWriteChunk(TPtr8 &)
IMPORT_C TUintType()
Private Member Functions
CPTPIPInitCmdRequest()
voidConstructL()
const TElementInfo &ElementInfo(TInt)
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::CommitRequired()const
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::ReadableElementL(TInt)const
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::WriteableElementL(TInt)const
CMTPTypeCompoundBase::~CMTPTypeCompoundBase()
Public Member Enumerations
enumTElements { ELength, EPktType, EInitiatorGUID, EVersion, ENumElements }
Private Member Enumerations
enumTChunkIds { EIdFlatChunk, EIdVersionChunk, EIdNumChunks }
Inherited Enumerations
CMTPTypeCompoundBase:TReadWriteSequenceState
Private Attributes
const TUintKFlatChunkSize
RBuf16 iBuffer
TInt iChunkCount
RMTPTypeCompoundFlatChunk iChunkHeader
const TFixedArray< TElementInfo, ENumElements >iElementInfo
const CMTPTypeCompoundBase::TElementInfoiElementMetaData
CMTPTypeString *iString
TMTPTypeUint32 iVersion
Inherited Attributes
CMTPTypeCompoundBase::KJustInTimeConstruction
CMTPTypeCompoundBase::KMTPNotApplicable
CMTPTypeCompoundBase::KVariableChunkCount
CMTPTypeCompoundBase::iChunks
CMTPTypeCompoundBase::iWriteChunk
CMTPTypeCompoundBase::iWriteSequenceState

Constructor & Destructor Documentation

CPTPIPInitCmdRequest()

CPTPIPInitCmdRequest()[private]

Constructor.

~CPTPIPInitCmdRequest()

IMPORT_C~CPTPIPInitCmdRequest()

Destructor.

Member Functions Documentation

CommitChunkL(TPtr8 &)

IMPORT_C MMTPType *CommitChunkL(TPtr8 &aChunk)[virtual]

Parameters

TPtr8 & aChunk

ConstructL()

voidConstructL()[private]

Second phase constructor.

ElementInfo(TInt)

const TElementInfo &ElementInfo(TIntaElementId)const [private, virtual]

Provides the TElementInfo data for the specified element.

Parameters

TInt aElementIdThe identifier of the requested element.

FirstWriteChunk(TPtr8 &)

IMPORT_C TIntFirstWriteChunk(TPtr8 &aChunk)[virtual]

Parameters

TPtr8 & aChunk

HostFriendlyName()

IMPORT_C TDes16 &HostFriendlyName()

NewL()

IMPORT_C CPTPIPInitCmdRequest *NewL()[static]

NextWriteChunk(TPtr8 &)

IMPORT_C TIntNextWriteChunk(TPtr8 &aChunk)[virtual]

Parameters

TPtr8 & aChunk

Type()

IMPORT_C TUintType()const [virtual]

Member Enumerations Documentation

Enum TChunkIds

Data chunk identifiers.

Enumerators

EIdFlatChunk

The flat data chunk ID.

EIdVersionChunk

The EMTPExtensions element data chunk ID.

EIdNumChunks

The number of data chunks.

Enum TElements

MTP USB generic bulk container dataset element identifiers.

Enumerators

ELength
EPktType
EInitiatorGUID
EVersion
ENumElements

The number of elements.

Member Data Documentation

const TUint KFlatChunkSize

const TUintKFlatChunkSize[private, static]

The size in bytes of the header data chunk.

RBuf16 iBuffer

RBuf16 iBuffer[private]

TInt iChunkCount

TInt iChunkCount[private]

RMTPTypeCompoundFlatChunk iChunkHeader

RMTPTypeCompoundFlatChunk iChunkHeader[private]

The flat data chunk comprising the header elements EContainerLength to ETransactionId.

const TFixedArray< TElementInfo, ENumElements > iElementInfo

const TFixedArray< TElementInfo, ENumElements >iElementInfo[private]

The dataset element metadata table.

const CMTPTypeCompoundBase::TElementInfo iElementMetaData

const CMTPTypeCompoundBase::TElementInfoiElementMetaData[private, static]

The dataset element metadata table content.

CMTPTypeString * iString

CMTPTypeString *iString[private]

TMTPTypeUint32 iVersion

TMTPTypeUint32 iVersion[private]