class TPositionQualityItem |
The class for classes used to store position quality
Public Member Functions | |
---|---|
TPositionQualityItem () | |
TInt | Compare (const TPositionQualityItem &, TResult &) |
TInt | Get ( TDataType , TAny *, TUint ) |
TBool | IsDefined () |
void | Set ( TDataType , TValuePreference , const TAny *, TUint ) |
Public Member Enumerations | |
---|---|
enum |
TDataType
{
EUndefined , ETInt8 , ETInt16 , ETInt32 , ETInt64 , ETUint8 , ETUint16 , ETUint32 , ETReal32 , ETReal64 , ETTime , ETTimeIntervalMicroSeconds } |
enum | TResult { EIsBetter , EIsEqual , EIsWorse } |
enum | TValuePreference { EPreferSmallerValues , EPreferGreaterValues } |
Private Attributes | |
---|---|
TUint8 | iData |
TDataType | iDataType |
TValuePreference | iScaleDirection |
TPositionQualityItem | ( | ) |
Constructor for TPositionQualityItem
Constructor for TPositionQualityItem
TInt | Compare | ( | const TPositionQualityItem & | aItem, |
TResult & | aComparison | |||
) | const |
Compare method
compare method Compare method
const TPositionQualityItem & aItem | The item that we want to compare against ourself. |
TResult & aComparison | Set by this function to whether or not the TPositionQualityItem provided is better or worse than this TPositionQualityItem. |
TInt | Get | ( | TDataType | aDataType, |
TAny * | aData, | |||
TUint | aSizeOfData | |||
) | const |
Gets position quality
Gets position quality
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
TDataType aDataType | The datatype of the data to be set in the array. |
TValuePreference aValuePreference | Whether greater or lower values indicate 'better'. |
const TAny * aData | A pointer to the data to be read from. |
TUint aSizeOfData | The size of the data object to be copied. |
Size of data type
EUndefined |
Undefined |
ETInt8 |
TInt8 |
ETInt16 |
TInt16 |
ETInt32 |
TInt32 |
ETInt64 |
Tint64 |
ETUint8 |
TUint8 |
ETUint16 |
TUint16 |
ETUint32 |
TUint 32 |
ETReal32 |
TReal32 |
ETReal64 |
TReal64 |
ETTime |
ETime |
ETTimeIntervalMicroSeconds |
Time in microseconds |
Preference
EPreferSmallerValues |
Smaller values |
EPreferGreaterValues |
Greater values |
TValuePreference | iScaleDirection | [private] |
Internel value preference
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.