TPositionQualityBase Class Reference
class TPositionQualityBase : public TPositionClassTypeBase |
The base class for classes used to store position quality information
Constructor & Destructor Documentation
TPositionQualityBase()
IMPORT_C | TPositionQualityBase | ( | ) | [protected] |
Member Functions Documentation
Compare(const TPositionQualityBase &, TInt, TPositionQualityItem::TResult &)
Parameters
const TPositionQualityBase & aPositionQuality | The position quality to compare against this position quality. |
TInt aElementToCompare | The element number that we want to compare. |
TPositionQualityItem::TResult & aComparison | Set by this function to whether or not the TPositionQualityBase provided is better or worse than this TPositionQualityBase. |
DoGetElement(TInt, TPositionQualityItem::TDataType, TAny *, TUint)
Gets the data of an element from the array of elements.
Parameters
TInt aElementId | The element Id of that we're interested in. |
TPositionQualityItem::TDataType aDataType | The datatype of the data to be fetched. |
TAny * aData | A pointer to the data to be written into. |
TUint aSizeOfData | The size of the data object to be copied. |
DoSetElement(TInt, TPositionQualityItem::TDataType, TPositionQualityItem::TValuePreference, const TAny *, TUint)
Sets the data for an element in the element array.
GetElement(TInt, TPositionQualityItem::TDataType, T &)
Gets the data of an element from the array of elements.
Parameters
TInt aElementId | The element Id of that we're interested in. |
TPositionQualityItem::TDataType aDataType | The datatype of the data to be fetched. |
T & aData | A pointer to the data to be written into. |
HighWaterMark()
IMPORT_C TInt | HighWaterMark | ( | ) | const |
Returns The High Water Mark
IsDefined(TInt)
Returns whether an element is defined Whether or not this element has a defined state
Parameters
TInt aElementId | The element Id of that we're interested in. |
ResetElement(TInt)
IMPORT_C void | ResetElement | ( | TInt | aElementId | ) | [protected] |
Parameters
TInt aElementId | The id of the element to be reset to a state of EUndefined. Maintains the iHighWaterMark. |
SetElement(TInt, TPositionQualityItem::TDataType, TPositionQualityItem::TValuePreference, T)
Sets the data of an element from the array of elements.
Member Data Documentation
TInt
iHighwaterMark
TInt
| iHighwaterMark | [private] |
TFixedArray< TPositionQualityItem, KPositionMaxSectionFields > iPositionQualityData
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.