TPositionQualityItem Class Reference

class TPositionQualityItem

The class for classes used to store position quality

Constructor & Destructor Documentation

TPositionQualityItem()

TPositionQualityItem ( )

Constructor for TPositionQualityItem

Constructor for TPositionQualityItem

Member Functions Documentation

Compare(const TPositionQualityItem &, TResult &)

TInt Compare ( const TPositionQualityItem & aItem,
TResult & aComparison
) const

Compare method

compare method Compare method

Parameters

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.

Get(TDataType, TAny *, TUint)

TInt Get ( TDataType aDataType,
TAny * aData,
TUint aSizeOfData
) const

Gets position quality

Gets position quality

Parameters

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.

IsDefined()

TBool IsDefined ( ) const

Whether or not this element has a defined state

Whether or not this element has a defined state

Set(TDataType, TValuePreference, const TAny *, TUint)

void Set ( TDataType aDataType,
TValuePreference aValuePreference,
const TAny * aData,
TUint aSizeOfData
)

Sets Position Quality

Sets position quality

Parameters

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.

Member Enumerations Documentation

Enum TDataType

Size of data type

Enumerators

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

Enum TResult

Quality result

Enumerators

EIsBetter

Better

EIsEqual

Equal

EIsWorse

Worse

Enum TValuePreference

Preference

Enumerators

EPreferSmallerValues

Smaller values

EPreferGreaterValues

Greater values

Member Data Documentation

TUint8 iData

TUint8 iData [private]

Unused variable for future expansion.

TDataType iDataType

TDataType iDataType [private]

Internal datatype

TValuePreference iScaleDirection

TValuePreference iScaleDirection [private]

Internel value preference