TPositionQualityBase Class Reference

class TPositionQualityBase : public TPositionClassTypeBase

The base class for classes used to store position quality information

Inherits from

Constructor & Destructor Documentation

TPositionQualityBase()

IMPORT_CTPositionQualityBase()[protected]

Member Functions Documentation

Compare(const TPositionQualityBase &, TInt, TPositionQualityItem::TResult &)

IMPORT_C TIntCompare(const TPositionQualityBase &aPositionQuality,
TIntaElementToCompare,
TPositionQualityItem::TResult &aComparison
)const

Parameters

const TPositionQualityBase & aPositionQuality
TInt aElementToCompare
TPositionQualityItem::TResult & aComparison

DoGetElement(TInt, TPositionQualityItem::TDataType, TAny *, TUint)

IMPORT_C TIntDoGetElement(TIntaElementId,
TPositionQualityItem::TDataTypeaDataType,
TAny *aData,
TUintaSizeOfData
)const [private]

Parameters

TInt aElementId
TPositionQualityItem::TDataType aDataType
TAny * aData
TUint aSizeOfData

DoSetElement(TInt, TPositionQualityItem::TDataType, TPositionQualityItem::TValuePreference, const TAny *, TUint)

IMPORT_C voidDoSetElement(TIntaElementId,
TPositionQualityItem::TDataTypeaDataType,
TPositionQualityItem::TValuePreferenceaValuePreference,
const TAny *aData,
TUintaSizeOfData
)[private]

Parameters

TInt aElementId
TPositionQualityItem::TDataType aDataType
TPositionQualityItem::TValuePreference aValuePreference
const TAny * aData
TUint aSizeOfData

GetElement(TInt, TPositionQualityItem::TDataType, T &)

TInt GetElement(TIntaElementId,
TPositionQualityItem::TDataTypeaDataType,
T &aData
)const [protected, inline]

Gets the data of an element from the array of elements. Standard Symbian OS Error code

Parameters

TInt aElementIdThe element Id of that we're interested in.
TPositionQualityItem::TDataType aDataTypeThe datatype of the data to be fetched.
T & aDataA pointer to the data to be written into.

HighWaterMark()

IMPORT_C TIntHighWaterMark()const

IsDefined(TInt)

IMPORT_C TBoolIsDefined(TIntaElementId)const

Returns whether an element is defined TBool if defined

Parameters

TInt aElementIdThe element Id of that we're interested in.

ResetElement(TInt)

IMPORT_C voidResetElement(TIntaElementId)[protected]

Parameters

TInt aElementId

SetElement(TInt, TPositionQualityItem::TDataType, TPositionQualityItem::TValuePreference, T)

voidSetElement(TIntaElementId,
TPositionQualityItem::TDataTypeaDataType,
TPositionQualityItem::TValuePreferenceaValuePreference,
TaData
)[protected, inline]

Sets the data of an element from the array of elements.

Parameters

TInt aElementIdThe element Id of that we're interested in.
TPositionQualityItem::TDataType aDataTypeThe datatype of the data to be fetched.
TPositionQualityItem::TValuePreference aValuePreferenceQuality preferences
T aDataA pointer to the data to be written into.

Member Data Documentation

TInt iHighwaterMark

TInt iHighwaterMark[private]

Internal highwater mark

TFixedArray< TPositionQualityItem, KPositionMaxSectionFields > iPositionQualityData

TFixedArray< TPositionQualityItem, KPositionMaxSectionFields >iPositionQualityData[private]

Internal array