CPTPIPInitCmdRequest Class Reference

class CPTPIPInitCmdRequest : public CMTPTypeCompoundBase

Inherits from

Public Member Functions
~CPTPIPInitCmdRequest ()
IMPORT_C MMTPType * CommitChunkL ( TPtr8 &)
IMPORT_C TInt FirstWriteChunk ( TPtr8 &)
IMPORT_C TDes16 & HostFriendlyName ()
IMPORT_C CPTPIPInitCmdRequest * NewL ()
IMPORT_C TInt NextWriteChunk ( TPtr8 &)
IMPORT_C TUint Type ()
Private Member Functions
CPTPIPInitCmdRequest ()
void ConstructL ()
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
enum TElements { ELength , EPktType , EInitiatorGUID , EVersion , ENumElements }
Private Member Enumerations
enum TChunkIds { EIdFlatChunk , EIdVersionChunk , EIdNumChunks }
Inherited Enumerations
CMTPTypeCompoundBase:TReadWriteSequenceState
Private Attributes
const TUint KFlatChunkSize
RBuf16 iBuffer
TInt iChunkCount
RMTPTypeCompoundFlatChunk iChunkHeader
const TFixedArray < TElementInfo , ENumElements > iElementInfo
const CMTPTypeCompoundBase::TElementInfo iElementMetaData
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()

void ConstructL ( ) [private]

Second phase constructor.

ElementInfo(TInt)

const TElementInfo & ElementInfo ( TInt aElementId ) const [private, virtual]

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]

Parameters

TPtr8 & aChunk

HostFriendlyName()

IMPORT_C TDes16 & HostFriendlyName ( )

NewL()

IMPORT_C CPTPIPInitCmdRequest * NewL ( ) [static]

NextWriteChunk(TPtr8 &)

IMPORT_C TInt NextWriteChunk ( TPtr8 & aChunk ) [virtual]

Parameters

TPtr8 & aChunk

Type()

IMPORT_C TUint Type ( ) 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 TUint KFlatChunkSize [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::TElementInfo iElementMetaData [private, static]

The dataset element metadata table content.

CMTPTypeString * iString

CMTPTypeString * iString [private]

TMTPTypeUint32 iVersion

TMTPTypeUint32 iVersion [private]