class TPositionQualityBase : public TPositionClassTypeBase |
The base class for classes used to store position quality information
Public Member Functions | |
---|---|
IMPORT_C TInt | Compare(const TPositionQualityBase &, TInt, TPositionQualityItem::TResult &) |
IMPORT_C TInt | HighWaterMark() |
IMPORT_C TBool | IsDefined(TInt) |
Protected Member Functions | |
---|---|
TPositionQualityBase() | |
TInt | GetElement(TInt, TPositionQualityItem::TDataType, T &) |
IMPORT_C void | ResetElement(TInt) |
void | SetElement(TInt, TPositionQualityItem::TDataType, TPositionQualityItem::TValuePreference, T) |
Private Member Functions | |
---|---|
IMPORT_C TInt | DoGetElement(TInt, TPositionQualityItem::TDataType, TAny *, TUint) |
IMPORT_C void | DoSetElement(TInt, TPositionQualityItem::TDataType, TPositionQualityItem::TValuePreference, const TAny *, TUint) |
Inherited Functions | |
---|---|
TPositionClassTypeBase::PositionClassSize()const | |
TPositionClassTypeBase::PositionClassType()const | |
TPositionClassTypeBase::TPositionClassTypeBase() |
Private Attributes | |
---|---|
TInt | iHighwaterMark |
TFixedArray< TPositionQualityItem, KPositionMaxSectionFields > | iPositionQualityData |
Inherited Attributes | |
---|---|
TPositionClassTypeBase::iPosClassSize | |
TPositionClassTypeBase::iPosClassType |
IMPORT_C TInt | Compare | ( | const TPositionQualityBase & | aPositionQuality, |
TInt | aElementToCompare, | |||
TPositionQualityItem::TResult & | aComparison | |||
) | const |
const TPositionQualityBase & aPositionQuality | |
TInt aElementToCompare | |
TPositionQualityItem::TResult & aComparison |
IMPORT_C TInt | DoGetElement | ( | TInt | aElementId, |
TPositionQualityItem::TDataType | aDataType, | |||
TAny * | aData, | |||
TUint | aSizeOfData | |||
) | const [private] |
TInt aElementId | |
TPositionQualityItem::TDataType aDataType | |
TAny * aData | |
TUint aSizeOfData |
IMPORT_C void | DoSetElement | ( | TInt | aElementId, |
TPositionQualityItem::TDataType | aDataType, | |||
TPositionQualityItem::TValuePreference | aValuePreference, | |||
const TAny * | aData, | |||
TUint | aSizeOfData | |||
) | [private] |
TInt aElementId | |
TPositionQualityItem::TDataType aDataType | |
TPositionQualityItem::TValuePreference aValuePreference | |
const TAny * aData | |
TUint aSizeOfData |
TInt | GetElement | ( | TInt | aElementId, |
TPositionQualityItem::TDataType | aDataType, | |||
T & | aData | |||
) | const [protected, inline] |
Gets the data of an element from the array of elements. Standard Symbian OS Error code
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. |
IMPORT_C TBool | IsDefined | ( | TInt | aElementId | ) | const |
Returns whether an element is defined TBool if defined
TInt aElementId | The element Id of that we're interested in. |
void | SetElement | ( | TInt | aElementId, |
TPositionQualityItem::TDataType | aDataType, | |||
TPositionQualityItem::TValuePreference | aValuePreference, | |||
T | aData | |||
) | [protected, inline] |
Sets the data of an element from the array of elements.
TInt aElementId | The element Id of that we're interested in. |
TPositionQualityItem::TDataType aDataType | The datatype of the data to be fetched. |
TPositionQualityItem::TValuePreference aValuePreference | Quality preferences |
T aData | A pointer to the data to be written into. |
TFixedArray< TPositionQualityItem, KPositionMaxSectionFields > | iPositionQualityData | [private] |
Internal array