CMTPTypeObjectPropListElement Class Reference

class CMTPTypeObjectPropListElement : public CBase

Defines the MTP ObjectPropList element dataset. The ObjectPropList element dataset describes an object property with a meta data triplet and a value. It is a component element of the ObjectPropList dataset.

Inherits from

  • CMTPTypeObjectPropListElement
Public Member Functions
~CMTPTypeObjectPropListElement()
IMPORT_C const TDesC8 &ArrayL(TInt)
IMPORT_C voidSetArrayL(TInt, const CMTPTypeArray &)
IMPORT_C voidSetArrayL(TInt, const TDesC &)
IMPORT_C voidSetStringL(TInt, const TDesC &)
IMPORT_C voidSetUint128L(TInt, TUint64, TUint64)
IMPORT_C voidSetUint16L(TInt, TUint16)
IMPORT_C voidSetUint32L(TInt, TUint32)
IMPORT_C voidSetUint64L(TInt, TUint64)
IMPORT_C voidSetUint8L(TInt, TUint8)
IMPORT_C TUint32Size()
IMPORT_C const TDesC &StringL(TInt)
IMPORT_C voidUint128L(TInt, TUint64 &, TUint64 &)
IMPORT_C TUint16Uint16L(TInt)
IMPORT_C TUint32Uint32L(TInt)
IMPORT_C TUint64Uint64L(TInt)
IMPORT_C TUint8Uint8L(TInt)
Private Member Functions
CMTPTypeObjectPropListElement()
voidConstructL(CMTPTypeObjectPropList *)
voidGetValueL(TAny *, TUint)
CMTPTypeObjectPropListElement *NewL(CMTPTypeObjectPropList *)
CMTPTypeObjectPropListElement *NewLC(CMTPTypeObjectPropList *)
voidSetDataType(TUint16)
voidSetValueL(const TAny *, TUint)
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()
Public Member Enumerations
enumTMTPObjectPropListElement { EObjectHandle, EPropertyCode, EDatatype, EValue, ENumElements }
Private Attributes
TBool iArrayBuffered
TPtrC8 iArrayValue
TUint iBufIndex
TUint16 iDataType
TUint32 iObjectHandle
TUint iPageIndex
CMTPTypeObjectPropList *iPropList
TUint16 iPropertyCode
RBuf16 iStringHolder
TPtrC iStringValue
TUint32 iValueSize

Constructor & Destructor Documentation

CMTPTypeObjectPropListElement()

CMTPTypeObjectPropListElement()[private]

~CMTPTypeObjectPropListElement()

IMPORT_C~CMTPTypeObjectPropListElement()[virtual]

Member Functions Documentation

ArrayL(TInt)

IMPORT_C const TDesC8 &ArrayL(TIntaElementId)const

Parameters

TInt aElementId

ConstructL(CMTPTypeObjectPropList *)

voidConstructL(CMTPTypeObjectPropList *propList)[private]

Parameters

CMTPTypeObjectPropList * propList

GetValueL(TAny *, TUint)

voidGetValueL(TAny *aTrg,
TUintaLength
)const [private]

Parameters

TAny * aTrg
TUint aLength

NewL(CMTPTypeObjectPropList *)

CMTPTypeObjectPropListElement *NewL(CMTPTypeObjectPropList *propList)[private, static]

Parameters

CMTPTypeObjectPropList * propList

NewLC(CMTPTypeObjectPropList *)

CMTPTypeObjectPropListElement *NewLC(CMTPTypeObjectPropList *propList)[private, static]

Parameters

CMTPTypeObjectPropList * propList

SetArrayL(TInt, const CMTPTypeArray &)

IMPORT_C voidSetArrayL(TIntaElementId,
const CMTPTypeArray &aArray
)

Parameters

TInt aElementId
const CMTPTypeArray & aArray

SetArrayL(TInt, const TDesC &)

IMPORT_C voidSetArrayL(TIntaElementId,
const TDesC &aString
)

Parameters

TInt aElementId
const TDesC & aString

SetDataType(TUint16)

voidSetDataType(TUint16aDataType)[private]

Parameters

TUint16 aDataType

SetStringL(TInt, const TDesC &)

IMPORT_C voidSetStringL(TIntaElementId,
const TDesC &aString
)

Parameters

TInt aElementId
const TDesC & aString

SetUint128L(TInt, TUint64, TUint64)

IMPORT_C voidSetUint128L(TIntaElementId,
TUint64high,
TUint64low
)

Parameters

TInt aElementId
TUint64 high
TUint64 low

SetUint16L(TInt, TUint16)

IMPORT_C voidSetUint16L(TIntaElementId,
TUint16aData
)

Parameters

TInt aElementId
TUint16 aData

SetUint32L(TInt, TUint32)

IMPORT_C voidSetUint32L(TIntaElementId,
TUint32aData
)

Parameters

TInt aElementId
TUint32 aData

SetUint64L(TInt, TUint64)

IMPORT_C voidSetUint64L(TIntaElementId,
TUint64aData
)

Parameters

TInt aElementId
TUint64 aData

SetUint8L(TInt, TUint8)

IMPORT_C voidSetUint8L(TIntaElementId,
TUint8aData
)

Parameters

TInt aElementId
TUint8 aData

SetValueL(const TAny *, TUint)

voidSetValueL(const TAny *aTrg,
TUintaLength
)[private]

Parameters

const TAny * aTrg
TUint aLength

Size()

IMPORT_C TUint32Size()const

StringL(TInt)

IMPORT_C const TDesC &StringL(TIntaElementId)const

Parameters

TInt aElementId

Uint128L(TInt, TUint64 &, TUint64 &)

IMPORT_C voidUint128L(TIntaElementId,
TUint64 &high,
TUint64 &low
)const

Parameters

TInt aElementId
TUint64 & high
TUint64 & low

Uint16L(TInt)

IMPORT_C TUint16Uint16L(TIntaElementId)const

Parameters

TInt aElementId

Uint32L(TInt)

IMPORT_C TUint32Uint32L(TIntaElementId)const

Parameters

TInt aElementId

Uint64L(TInt)

IMPORT_C TUint64Uint64L(TIntaElementId)const

Parameters

TInt aElementId

Uint8L(TInt)

IMPORT_C TUint8Uint8L(TIntaElementId)const

Parameters

TInt aElementId

Member Enumerations Documentation

Enum TMTPObjectPropListElement

MTP ObjectPropList property quadruple dataset element identifiers.

Enumerators

EObjectHandle

The ObjectHandle of the object to which the property applies.

EPropertyCode

The ObjectPropDesc property identifier datacode (read-only).

EDatatype

The datatype code of the property (read-only).

EValue

The value of the property.

ENumElements

The number of dataset elements.

Member Data Documentation

TBool iArrayBuffered

TBool iArrayBuffered[private]

TPtrC8 iArrayValue

TPtrC8 iArrayValue[private]

TUint iBufIndex

TUint iBufIndex[private]

TUint16 iDataType

TUint16 iDataType[private]

TUint32 iObjectHandle

TUint32 iObjectHandle[private]

TUint iPageIndex

TUint iPageIndex[private]

CMTPTypeObjectPropList * iPropList

CMTPTypeObjectPropList *iPropList[private]

TUint16 iPropertyCode

TUint16 iPropertyCode[private]

RBuf16 iStringHolder

RBuf16 iStringHolder[private]

TPtrC iStringValue

TPtrC iStringValue[private]

TUint32 iValueSize

TUint32 iValueSize[private]