#include <lbscommon.h>
Link against: lbs.lib
| class TPositionQualityItem |
| Public Member Enumerations | |
|---|---|
| enum | TDataType { EUndefined, ETInt8, ETInt16, ETInt32, ..., ETTimeIntervalMicroSeconds } |
| enum | TResult { EIsBetter, EIsEqual, EIsWorse } |
| enum | TValuePreference { EPreferSmallerValues, EPreferGreaterValues } |
| Public Member Functions | |
|---|---|
| TPositionQualityItem() | |
| TInt | Compare(const TPositionQualityItem &, TResult &) |
| TInt | Get(TDataType, TAny *, TUint) |
| TBool | IsDefined() |
| void | Set(TDataType, TValuePreference, const TAny *, TUint) |
The class for classes used to store position quality
Preference
| Enumerator | Value | Description |
|---|---|---|
| EPreferSmallerValues |
Smaller values | |
| EPreferGreaterValues |
Greater values |
| TPositionQualityItem | ( | ) |
Constructor for TPositionQualityItem
Constructor for TPositionQualityItem
| TInt | Compare | ( | const TPositionQualityItem & | aItem, |
| TResult & | aComparison | |||
| ) | const | |||
Compare method
compare method Compare method
| Parameters | |
|---|---|
| aItem | The item that we want to compare against ourself. |
| aComparison | Set by this function to whether or not the TPositionQualityItem provided is better or worse than this TPositionQualityItem. |
Gets position quality
Gets position quality
| Parameters | |
|---|---|
| aDataType | The datatype of the data to be fetched. |
| aData | A pointer to the data to be written into. |
| aSizeOfData | The size of the data object to be copied. |
| TBool | IsDefined | ( | ) | const |
Whether or not this element has a defined state
Whether or not this element has a defined state
| void | Set | ( | TDataType | aDataType, |
| TValuePreference | aValuePreference, | |||
| const TAny * | aData, | |||
| TUint | aSizeOfData | |||
| ) | ||||
Sets Position Quality
Sets position quality
| Parameters | |
|---|---|
| aDataType | The datatype of the data to be set in the array. |
| aValuePreference | Whether greater or lower values indicate 'better'. |
| aData | A pointer to the data to be read from. |
| aSizeOfData | The size of the data object to be copied. |