TMPXItemId Class Reference

class TMPXItemId

Structure to hold a the representation of an Item ID The structure contains 2 ids, and can be extensible to more The iId1 ID MUST be unique within the collection path. The IId2 ID can be duplicated in the collection path, and can be use for extended purposes.

mpxcommon.lib

Constructor & Destructor Documentation

TMPXItemId()

TMPXItemId()[inline]

Constructor. Public and private ids iniitialized to 0.

Since
S60 3.2.3

TMPXItemId(TUint32)

TMPXItemId(TUint32aId)[inline]

Constructor.

Since
S60 3.2.3

Parameters

TUint32 aIdid to initialize both public and private id

TMPXItemId(TUint32, TUint32)

TMPXItemId(TUint32aId1,
TUint32aId2
)[inline]

Constructor.

Since
S60 3.2.3

Parameters

TUint32 aId1
TUint32 aId2

Member Functions Documentation

ApproxEqual(const TMPXItemId &)

TBool ApproxEqual(const TMPXItemId &aOtherId)const [inline]

An approximately equal operator. If either iId1 or iId2 matches, ETrue is returned.

Since
S60 3.2.3

Parameters

const TMPXItemId & aOtherIdTMPXItemId to compare

InvalidId()

TMPXItemId InvalidId()[static, inline]

Static function to create an invalid ID.

Since
S60 3.2.3

operator TInt()

operator TInt()const [inline]

TInt operator, returns iId1.

Since
S60 3.2.3

operator TInt32()

operator TInt32()const [inline]

TInt32 operator, returns iId1.

Since
S60 3.2.3

operator TInt64()

operator TInt64()const [inline]

TInt64 operator, returns iId1.

Since
S60 3.2.3

operator TUint()

operator TUint()const [inline]

TUint32 operator, returns iId1.

Since
S60 3.2.3

operator TUint32()

operator TUint32()const [inline]

TUint32 operator, returns iId1.

Since
S60 3.2.3

operator TUint64()

operator TUint64()const [inline]

TUint64 operator, returns iId1.

Since
S60 3.2.3

operator!=(const TMPXItemId &)

TBool operator!=(const TMPXItemId &aOtherId)const [inline]

!= operator.

Since
S60 3.2.3

Parameters

const TMPXItemId & aOtherIdTMPXItemId to compare

operator!=(TInt)

TBool operator!=(TIntaOtherId)const [inline]

!= operator.

Since
S60 3.2.3

Parameters

TInt aOtherIdTInt to compare to public id

operator==(const TMPXItemId &)

TBool operator==(const TMPXItemId &aOtherId)const [inline]

== operator.

Since
S60 3.2.3

Parameters

const TMPXItemId & aOtherIdTMPXItemId to compare

operator==(TInt)

TBool operator==(TIntaOtherId)const [inline]

== operator.

Since
S60 3.2.3

Parameters

TInt aOtherIdTMPXItemId to compare

operator==(TInt32)

TBool operator==(TInt32aOtherId)const [inline]

== operator.

Since
S60 3.2.3

Parameters

TInt32 aOtherIdTInt32 to compare to public id

operator==(TUint32)

TBool operator==(TUint32aOtherId)const [inline]

== operator.

Since
S60 3.2.3

Parameters

TUint32 aOtherIdTUint32 to compare to public id

Member Data Documentation

TUint32 iId1

TUint32 iId1

TUint32 iId2

TUint32 iId2