CMTPTypeDevicePropDescRangeForm Class Reference

class CMTPTypeDevicePropDescRangeForm : public CMTPTypeCompoundBase

Defines the MTP DevicePropDesc Range FORM dataset. The Range FORM dataset is a component element of the DevicePropDesc dataset. CMTPTypeDevicePropDesc

Inherits from

Public Member Functions
~CMTPTypeDevicePropDescRangeForm()
IMPORT_C CMTPTypeDevicePropDescRangeForm *NewL(TUint)
IMPORT_C CMTPTypeDevicePropDescRangeForm *NewLC(TUint)
IMPORT_C TUintType()
Private Member Functions
CMTPTypeDevicePropDescRangeForm(TUint)
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::CommitChunkL(TPtr8 &)
CMTPTypeCompoundBase::CommitRequired()const
CMTPTypeCompoundBase::FirstReadChunk(TPtrC8 &)const
CMTPTypeCompoundBase::FirstWriteChunk(TPtr8 &)
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 &)
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
enumTMTPDevicePropDescElement { EMinimumValue, EMaximumValue, EStepSize, ENumElements }
Inherited Enumerations
CMTPTypeCompoundBase:TReadWriteSequenceState
Private Attributes
RArray< RMTPType >iChunks
TUint iDataType
CMTPTypeCompoundBase::TElementInfo iInfoBuf
Inherited Attributes
CMTPTypeCompoundBase::KJustInTimeConstruction
CMTPTypeCompoundBase::KMTPNotApplicable
CMTPTypeCompoundBase::KVariableChunkCount
CMTPTypeCompoundBase::iWriteChunk
CMTPTypeCompoundBase::iWriteSequenceState

Constructor & Destructor Documentation

CMTPTypeDevicePropDescRangeForm(TUint)

CMTPTypeDevicePropDescRangeForm(TUintaDataType)[private]

Parameters

TUint aDataType

~CMTPTypeDevicePropDescRangeForm()

IMPORT_C~CMTPTypeDevicePropDescRangeForm()[virtual]

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

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.

NewL(TUint)

IMPORT_C CMTPTypeDevicePropDescRangeForm *NewL(TUintaDataType)[static]
MTP DevicePropDesc Range FORM dataset factory method. This method is used to create an empty MTP DevicePropDesc FORM dataset of the specified Datatype.
leave
One of the system wide error codes, if unsuccessful.

Parameters

TUint aDataTypeThe data type identifier datacode of the dataset.

NewLC(TUint)

IMPORT_C CMTPTypeDevicePropDescRangeForm *NewLC(TUintaDataType)[static]
MTP DevicePropDesc Range FORM dataset factory method. This method is used to create an empty MTP DevicePropDesc FORM dataset of the specified Datatype. A pointer to the data type is placed on the cleanup stack.
leave
One of the system wide error codes, if unsuccessful.

Parameters

TUint aDataTypeThe data type identifier datacode of the dataset.

Type()

IMPORT_C TUintType()const [virtual]

Member Enumerations Documentation

Enum TMTPDevicePropDescElement

MTP DevicePropDesc Range FORM element dataset identifiers.

Enumerators

EMinimumValue

Minimum Value.

EMaximumValue

Maximum Value.

EStepSize

Step Size.

ENumElements

The number of dataset elements.

Member Data Documentation

RArray< RMTPType > iChunks

RArray< RMTPType >iChunks[private]

The element data chunks.

TUint iDataType

TUint iDataType[private]

The property's MTP data type identifier datacode.

CMTPTypeCompoundBase::TElementInfo iInfoBuf

CMTPTypeCompoundBase::TElementInfo iInfoBuf[private]

The element metadata content.