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 void SetArrayL ( TInt , const CMTPTypeArray &)
IMPORT_C void SetArrayL ( TInt , const TDesC &)
IMPORT_C void SetStringL ( TInt , const TDesC &)
IMPORT_C void SetUint128L ( TInt , TUint64 , TUint64 )
IMPORT_C void SetUint16L ( TInt , TUint16 )
IMPORT_C void SetUint32L ( TInt , TUint32 )
IMPORT_C void SetUint64L ( TInt , TUint64 )
IMPORT_C void SetUint8L ( TInt , TUint8 )
IMPORT_C TUint32 Size ()
IMPORT_C const TDesC & StringL ( TInt )
IMPORT_C void Uint128L ( TInt , TUint64 &, TUint64 &)
IMPORT_C TUint16 Uint16L ( TInt )
IMPORT_C TUint32 Uint32L ( TInt )
IMPORT_C TUint64 Uint64L ( TInt )
IMPORT_C TUint8 Uint8L ( TInt )
Private Member Functions
CMTPTypeObjectPropListElement ()
void ConstructL ( CMTPTypeObjectPropList *)
void GetValueL ( TAny *, TUint )
CMTPTypeObjectPropListElement * NewL ( CMTPTypeObjectPropList *)
CMTPTypeObjectPropListElement * NewLC ( CMTPTypeObjectPropList *)
void SetDataType ( TUint16 )
void SetValueL (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
enum TMTPObjectPropListElement { 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 ( TInt aElementId ) const

Parameters

TInt aElementId

ConstructL(CMTPTypeObjectPropList *)

void ConstructL ( CMTPTypeObjectPropList * propList ) [private]

Parameters

CMTPTypeObjectPropList * propList

GetValueL(TAny *, TUint)

void GetValueL ( TAny * aTrg,
TUint aLength
) 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 void SetArrayL ( TInt aElementId,
const CMTPTypeArray & aArray
)

Parameters

TInt aElementId
const CMTPTypeArray & aArray

SetArrayL(TInt, const TDesC &)

IMPORT_C void SetArrayL ( TInt aElementId,
const TDesC & aString
)

Parameters

TInt aElementId
const TDesC & aString

SetDataType(TUint16)

void SetDataType ( TUint16 aDataType ) [private]

Parameters

TUint16 aDataType

SetStringL(TInt, const TDesC &)

IMPORT_C void SetStringL ( TInt aElementId,
const TDesC & aString
)

Parameters

TInt aElementId
const TDesC & aString

SetUint128L(TInt, TUint64, TUint64)

IMPORT_C void SetUint128L ( TInt aElementId,
TUint64 high,
TUint64 low
)

Parameters

TInt aElementId
TUint64 high
TUint64 low

SetUint16L(TInt, TUint16)

IMPORT_C void SetUint16L ( TInt aElementId,
TUint16 aData
)

Parameters

TInt aElementId
TUint16 aData

SetUint32L(TInt, TUint32)

IMPORT_C void SetUint32L ( TInt aElementId,
TUint32 aData
)

Parameters

TInt aElementId
TUint32 aData

SetUint64L(TInt, TUint64)

IMPORT_C void SetUint64L ( TInt aElementId,
TUint64 aData
)

Parameters

TInt aElementId
TUint64 aData

SetUint8L(TInt, TUint8)

IMPORT_C void SetUint8L ( TInt aElementId,
TUint8 aData
)

Parameters

TInt aElementId
TUint8 aData

SetValueL(const TAny *, TUint)

void SetValueL ( const TAny * aTrg,
TUint aLength
) [private]

Parameters

const TAny * aTrg
TUint aLength

Size()

IMPORT_C TUint32 Size ( ) const

StringL(TInt)

IMPORT_C const TDesC & StringL ( TInt aElementId ) const

Parameters

TInt aElementId

Uint128L(TInt, TUint64 &, TUint64 &)

IMPORT_C void Uint128L ( TInt aElementId,
TUint64 & high,
TUint64 & low
) const

Parameters

TInt aElementId
TUint64 & high
TUint64 & low

Uint16L(TInt)

IMPORT_C TUint16 Uint16L ( TInt aElementId ) const

Parameters

TInt aElementId

Uint32L(TInt)

IMPORT_C TUint32 Uint32L ( TInt aElementId ) const

Parameters

TInt aElementId

Uint64L(TInt)

IMPORT_C TUint64 Uint64L ( TInt aElementId ) const

Parameters

TInt aElementId

Uint8L(TInt)

IMPORT_C TUint8 Uint8L ( TInt aElementId ) 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]