TPositionQualityBase Class Reference
| class TPositionQualityBase : public TPositionClassTypeBase |
Detailed Description
The base class for classes used to store position quality information
Constructor & Destructor Documentation
TPositionQualityBase ( )
| IMPORT_C | TPositionQualityBase | ( | ) | [protected] |
Member Function Documentation
Compare ( const TPositionQualityBase &, TInt, TPositionQualityItem::TResult & )
| Parameter | Description | | aPositionQuality | The position quality to compare against this position quality. |
| aElementToCompare | The element number that we want to compare. |
| aComparison | Set by this function to whether or not the TPositionQualityBase provided is better or worse than this TPositionQualityBase. |
Returns: KErrNone if comparison was successful. KErrArgument if there is a mismatch of the datatypes of the value preference.
GetElement ( TInt, TPositionQualityItem::TDataType, T & )
Gets the data of an element from the array of elements.
| Parameter | Description | | aElementId | The element Id of that we're interested in. |
| aDataType | The datatype of the data to be fetched. |
| aData | A pointer to the data to be written into. |
Returns: Standard Symbian OS Error code
HighWaterMark ( )
| IMPORT_C TInt | HighWaterMark | ( | ) | const |
Returns The High Water Mark
Returns: The High Water Mark.
IsDefined ( TInt )
Returns whether an element is defined Whether or not this element has a defined state
| Parameter | Description | | aElementId | The element Id of that we're interested in. |
Returns: TBool if definedWhether or not an element has a state of EUndefined.
ResetElement ( TInt )
| IMPORT_C void | ResetElement | ( | TInt | aElementId | ) | [protected] |
| Parameter | Description | | 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.
| Parameter | Description | | aElementId | The element Id of that we're interested in. |
| aDataType | The datatype of the data to be fetched. |
| aValuePreference | Quality preferences |
| aData | A pointer to the data to be written into. |