class PositionFieldManager |
This is an internal class to provide the interface for the HPositionGenericInfo::GetValue() and HPositionGenericInfo::SetValue() methods. Methods in this class are not intended to be called directly. Clients should use HPositionGenericInfo::GetValue() and HPositionGenericInfo::SetValue() methods.
Private Member Functions | |
---|---|
IMPORT_C TInt | GetValue(TPositionFieldId, TInt8 &, const HPositionGenericInfo &) |
IMPORT_C TInt | GetValue(TPositionFieldId, TInt16 &, const HPositionGenericInfo &) |
IMPORT_C TInt | GetValue(TPositionFieldId, TInt32 &, const HPositionGenericInfo &) |
IMPORT_C TInt | GetValue(TPositionFieldId, TInt64 &, const HPositionGenericInfo &) |
IMPORT_C TInt | GetValue(TPositionFieldId, TUint8 &, const HPositionGenericInfo &) |
IMPORT_C TInt | GetValue(TPositionFieldId, TUint16 &, const HPositionGenericInfo &) |
IMPORT_C TInt | GetValue(TPositionFieldId, TUint32 &, const HPositionGenericInfo &) |
IMPORT_C TInt | GetValue(TPositionFieldId, TReal32 &, const HPositionGenericInfo &) |
IMPORT_C TInt | GetValue(TPositionFieldId, TReal64 &, const HPositionGenericInfo &) |
IMPORT_C TInt | GetValue(TPositionFieldId, TDes8 &, const HPositionGenericInfo &) |
IMPORT_C TInt | GetValue(TPositionFieldId, TDes16 &, const HPositionGenericInfo &) |
IMPORT_C TInt | GetValue(TPositionFieldId, TPtrC8 &, const HPositionGenericInfo &) |
IMPORT_C TInt | GetValue(TPositionFieldId, TPtrC16 &, const HPositionGenericInfo &) |
IMPORT_C TInt | GetValue(TPositionFieldId, TTime &, const HPositionGenericInfo &) |
IMPORT_C TInt | GetValue(TPositionFieldId, TTimeIntervalMicroSeconds &, const HPositionGenericInfo &) |
IMPORT_C TInt | SetValue(TPositionFieldId, TInt8, HPositionGenericInfo &) |
IMPORT_C TInt | SetValue(TPositionFieldId, TInt16, HPositionGenericInfo &) |
IMPORT_C TInt | SetValue(TPositionFieldId, TInt32, HPositionGenericInfo &) |
IMPORT_C TInt | SetValue(TPositionFieldId, const TInt64 &, HPositionGenericInfo &) |
IMPORT_C TInt | SetValue(TPositionFieldId, TUint8, HPositionGenericInfo &) |
IMPORT_C TInt | SetValue(TPositionFieldId, TUint16, HPositionGenericInfo &) |
IMPORT_C TInt | SetValue(TPositionFieldId, TUint32, HPositionGenericInfo &) |
IMPORT_C TInt | SetValue(TPositionFieldId, TReal32, HPositionGenericInfo &) |
IMPORT_C TInt | SetValue(TPositionFieldId, const TReal64 &, HPositionGenericInfo &) |
IMPORT_C TInt | SetValue(TPositionFieldId, const TDesC8 &, HPositionGenericInfo &) |
IMPORT_C TInt | SetValue(TPositionFieldId, const TDesC16 &, HPositionGenericInfo &) |
IMPORT_C TInt | SetValue(TPositionFieldId, const TTime &, HPositionGenericInfo &) |
IMPORT_C TInt | SetValue(TPositionFieldId, const TTimeIntervalMicroSeconds &, HPositionGenericInfo &) |
Public Member Enumerations | |
---|---|
enum | TFieldType { EUndefined, ETInt8, ETInt16, ETInt32, ETInt64, ETUint8, ETUint16, ETUint32, ETReal32, ETReal64, ETTime, ETTimeIntervalMicroSeconds, ETDesC8, ETDesC16 } |
IMPORT_C TInt | GetValue | ( | TPositionFieldId | aFieldId, |
TInt8 & | aValue, | |||
const HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Get the value for a location field of data type TInt8 from the HPositionGenericInfo. KErrNone is the operation was successful.
KErrNotFound if an object with aFieldId cannot be found in aInfo.
TPositionFieldId aFieldId | Id of the field for which the value should be read from HPositionGenericInfo. |
TInt8 & aValue | The object where the data from the HPositionGenericInfo is returned. |
const HPositionGenericInfo & aInfo | The HPositionGenericInfo object from where this field needs to be read. |
IMPORT_C TInt | GetValue | ( | TPositionFieldId | aFieldId, |
TInt16 & | aValue, | |||
const HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Get the value for a location field of data type TInt16 from the HPositionGenericInfo. KErrNone is the operation was successful.
KErrNotFound if an object with aFieldId cannot be found in aInfo.
TPositionFieldId aFieldId | Id of the field for which the value should be read from HPositionGenericInfo. |
TInt16 & aValue | The object where the data from the HPositionGenericInfo is returned. |
const HPositionGenericInfo & aInfo | The HPositionGenericInfo object from where this field needs to be read. |
IMPORT_C TInt | GetValue | ( | TPositionFieldId | aFieldId, |
TInt32 & | aValue, | |||
const HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Get the value for a location field of data type TInt32 from the HPositionGenericInfo. KErrNone is the operation was successful.
KErrNotFound if an object with aFieldId cannot be found in aInfo.
TPositionFieldId aFieldId | Id of the field for which the value should be read from HPositionGenericInfo. |
TInt32 & aValue | The object where the data from the HPositionGenericInfo is returned. |
const HPositionGenericInfo & aInfo | The HPositionGenericInfo object from where this field needs to be read. |
IMPORT_C TInt | GetValue | ( | TPositionFieldId | aFieldId, |
TInt64 & | aValue, | |||
const HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Get the value for a location field of data type TInt64 from the HPositionGenericInfo. KErrNone is the operation was successful.
KErrNotFound if an object with aFieldId cannot be found in aInfo.
TPositionFieldId aFieldId | Id of the field for which the value should be read from HPositionGenericInfo. |
TInt64 & aValue | The object where the data from the HPositionGenericInfo is returned. |
const HPositionGenericInfo & aInfo | The HPositionGenericInfo object from where this field needs to be read. |
IMPORT_C TInt | GetValue | ( | TPositionFieldId | aFieldId, |
TUint8 & | aValue, | |||
const HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Get the value for a location field of data type TUint8 from the HPositionGenericInfo. KErrNone is the operation was successful.
KErrNotFound if an object with aFieldId cannot be found in aInfo.
TPositionFieldId aFieldId | Id of the field for which the value should be read from HPositionGenericInfo. |
TUint8 & aValue | The object where the data from the HPositionGenericInfo is returned. |
const HPositionGenericInfo & aInfo | The HPositionGenericInfo object from where this field needs to be read. |
IMPORT_C TInt | GetValue | ( | TPositionFieldId | aFieldId, |
TUint16 & | aValue, | |||
const HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Get the value for a location field of data type TUint16 from the HPositionGenericInfo. KErrNone is the operation was successful.
KErrNotFound if an object with aFieldId cannot be found in aInfo.
TPositionFieldId aFieldId | Id of the field for which the value should be read from HPositionGenericInfo. |
TUint16 & aValue | The object where the data from the HPositionGenericInfo is returned. |
const HPositionGenericInfo & aInfo | The HPositionGenericInfo object from where this field needs to be read. |
IMPORT_C TInt | GetValue | ( | TPositionFieldId | aFieldId, |
TUint32 & | aValue, | |||
const HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Get the value for a location field of data type TUint32 from the HPositionGenericInfo. KErrNone is the operation was successful.
KErrNotFound if an object with aFieldId cannot be found in aInfo.
TPositionFieldId aFieldId | Id of the field for which the value should be read from HPositionGenericInfo. |
TUint32 & aValue | The object where the data from the HPositionGenericInfo is returned. |
const HPositionGenericInfo & aInfo | The HPositionGenericInfo object from where this field needs to be read. |
IMPORT_C TInt | GetValue | ( | TPositionFieldId | aFieldId, |
TReal32 & | aValue, | |||
const HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Get the value for a location field of data type TReal32 from the HPositionGenericInfo. KErrNone is the operation was successful.
KErrNotFound if an object with aFieldId cannot be found in aInfo.
TPositionFieldId aFieldId | Id of the field for which the value should be read from HPositionGenericInfo. |
TReal32 & aValue | The object where the data from the HPositionGenericInfo is returned. |
const HPositionGenericInfo & aInfo | The HPositionGenericInfo object from where this field needs to be read. |
IMPORT_C TInt | GetValue | ( | TPositionFieldId | aFieldId, |
TReal64 & | aValue, | |||
const HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Get the value for a location field of data type TReal64 from the HPositionGenericInfo. KErrNone is the operation was successful.
KErrNotFound if an object with aFieldId cannot be found in aInfo.
TPositionFieldId aFieldId | Id of the field for which the value should be read from HPositionGenericInfo. |
TReal64 & aValue | The object where the data from the HPositionGenericInfo is returned. |
const HPositionGenericInfo & aInfo | The HPositionGenericInfo object from where this field needs to be read. |
IMPORT_C TInt | GetValue | ( | TPositionFieldId | aFieldId, |
TDes8 & | aValue, | |||
const HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Get the value for a location field of data type TDes8 from the HPositionGenericInfo. KErrNone is the operation was successful.
KErrNotFound if an object with aFieldId cannot be found in aInfo.
TPositionFieldId aFieldId | Id of the field for which the value should be read from HPositionGenericInfo. |
TDes8 & aValue | The object where the data from the HPositionGenericInfo is returned. |
const HPositionGenericInfo & aInfo | The HPositionGenericInfo object from where this field needs to be read. |
IMPORT_C TInt | GetValue | ( | TPositionFieldId | aFieldId, |
TDes16 & | aValue, | |||
const HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Get the value for a location field of data type TDes16 from the HPositionGenericInfo. KErrNone is the operation was successful.
KErrNotFound if an object with aFieldId cannot be found in aInfo.
TPositionFieldId aFieldId | Id of the field for which the value should be read from HPositionGenericInfo. |
TDes16 & aValue | The object where the data from the HPositionGenericInfo is returned. |
const HPositionGenericInfo & aInfo | The HPositionGenericInfo object from where this field needs to be read. |
IMPORT_C TInt | GetValue | ( | TPositionFieldId | aFieldId, |
TPtrC8 & | aValue, | |||
const HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Get the value for a location field of data type TPtrC8 from the HPositionGenericInfo. KErrNone is the operation was successful.
KErrNotFound if an object with aFieldId cannot be found in aInfo.
TPositionFieldId aFieldId | Id of the field for which the value should be read from HPositionGenericInfo. |
TPtrC8 & aValue | The object where the data from the HPositionGenericInfo is returned. |
const HPositionGenericInfo & aInfo | The HPositionGenericInfo object from where this field needs to be read. |
IMPORT_C TInt | GetValue | ( | TPositionFieldId | aFieldId, |
TPtrC16 & | aValue, | |||
const HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Get the value for a location field of data type TPtrC16 from the HPositionGenericInfo. KErrNone is the operation was successful.
KErrNotFound if an object with aFieldId cannot be found in aInfo.
TPositionFieldId aFieldId | Id of the field for which the value should be read from HPositionGenericInfo. |
TPtrC16 & aValue | The object where the data from the HPositionGenericInfo is returned. |
const HPositionGenericInfo & aInfo | The HPositionGenericInfo object from where this field needs to be read. |
IMPORT_C TInt | GetValue | ( | TPositionFieldId | aFieldId, |
TTime & | aValue, | |||
const HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Get the value for a location field of data type TTime from the HPositionGenericInfo. KErrNone is the operation was successful.
KErrNotFound if an object with aFieldId cannot be found in aInfo.
TPositionFieldId aFieldId | Id of the field for which the value should be read from HPositionGenericInfo. |
TTime & aValue | The object where the data from the HPositionGenericInfo is returned. |
const HPositionGenericInfo & aInfo | The HPositionGenericInfo object from where this field needs to be read. |
IMPORT_C TInt | GetValue | ( | TPositionFieldId | aFieldId, |
TTimeIntervalMicroSeconds & | aValue, | |||
const HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Get the value for a location field of data type TTimeIntervalMicroSeconds from the HPositionGenericInfo. KErrNone is the operation was successful.
KErrNotFound if an object with aFieldId cannot be found in aInfo.
TPositionFieldId aFieldId | Id of the field for which the value should be read from HPositionGenericInfo. |
TTimeIntervalMicroSeconds & aValue | The object where the data from the HPositionGenericInfo is returned. |
const HPositionGenericInfo & aInfo | The HPositionGenericInfo object from where this field needs to be read. |
IMPORT_C TInt | SetValue | ( | TPositionFieldId | aFieldId, |
TInt8 | aValue, | |||
HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Set the value for a location field of data type TInt8 in the HPositionGenericInfo. KErrArgument if aFieldId is EPositionFieldNone.
KErrPositionBufferOverflow if aValue will not fit in the HPositionGenericInfo object.
KErrOverflow if there are already KPositionMaxReturnableFields set in the HPositionGenericInfo object.
KErrNone if the SetValue was successful.
TPositionFieldId aFieldId | Id of the field to be copied into the HPositionGenericInfo. |
TInt8 aValue | Value to be copied into the HPositionGenericInfo. |
HPositionGenericInfo & aInfo | The HPositionGenericInfo object where this field needs to be added. |
IMPORT_C TInt | SetValue | ( | TPositionFieldId | aFieldId, |
TInt16 | aValue, | |||
HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Set the value for a location field of data type TInt16 in the HPositionGenericInfo. KErrArgument if aFieldId is EPositionFieldNone.
KErrPositionBufferOverflow if aValue will not fit in the HPositionGenericInfo object.
KErrOverflow if there are already KPositionMaxReturnableFields set in the HPositionGenericInfo object.
KErrNone if the SetValue was successful.
TPositionFieldId aFieldId | Id of the field to be copied into the HPositionGenericInfo. |
TInt16 aValue | Value to be copied into the HPositionGenericInfo. |
HPositionGenericInfo & aInfo | The HPositionGenericInfo object where this field needs to be added. |
IMPORT_C TInt | SetValue | ( | TPositionFieldId | aFieldId, |
TInt32 | aValue, | |||
HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Set the value for a location field of data type TInt32 in the HPositionGenericInfo. KErrArgument if aFieldId is EPositionFieldNone.
KErrPositionBufferOverflow if aValue will not fit in the HPositionGenericInfo object.
KErrOverflow if there are already KPositionMaxReturnableFields set in the HPositionGenericInfo object.
KErrNone if the SetValue was successful.
TPositionFieldId aFieldId | Id of the field to be copied into the HPositionGenericInfo. |
TInt32 aValue | Value to be copied into the HPositionGenericInfo. |
HPositionGenericInfo & aInfo | The HPositionGenericInfo object where this field needs to be added. |
IMPORT_C TInt | SetValue | ( | TPositionFieldId | aFieldId, |
const TInt64 & | aValue, | |||
HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Set the value for a location field of data type TInt64 in the HPositionGenericInfo. KErrArgument if aFieldId is EPositionFieldNone.
KErrPositionBufferOverflow if aValue will not fit in the HPositionGenericInfo object.
KErrOverflow if there are already KPositionMaxReturnableFields set in the HPositionGenericInfo object.
KErrNone if the SetValue was successful.
TPositionFieldId aFieldId | Id of the field to be copied into the HPositionGenericInfo. |
const TInt64 & aValue | Value to be copied into the HPositionGenericInfo. |
HPositionGenericInfo & aInfo | The HPositionGenericInfo object where this field needs to be added. |
IMPORT_C TInt | SetValue | ( | TPositionFieldId | aFieldId, |
TUint8 | aValue, | |||
HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Set the value for a location field of data type TUint8 in the HPositionGenericInfo. KErrArgument if aFieldId is EPositionFieldNone.
KErrPositionBufferOverflow if aValue will not fit in the HPositionGenericInfo object.
KErrOverflow if there are already KPositionMaxReturnableFields set in the HPositionGenericInfo object.
KErrNone if the SetValue was successful.
TPositionFieldId aFieldId | Id of the field to be copied into the HPositionGenericInfo. |
TUint8 aValue | Value to be copied into the HPositionGenericInfo. |
HPositionGenericInfo & aInfo | The HPositionGenericInfo object where this field needs to be added. |
IMPORT_C TInt | SetValue | ( | TPositionFieldId | aFieldId, |
TUint16 | aValue, | |||
HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Set the value for a location field of data type TUint16 in the HPositionGenericInfo. KErrArgument if aFieldId is EPositionFieldNone.
KErrPositionBufferOverflow if aValue will not fit in the HPositionGenericInfo object.
KErrOverflow if there are already KPositionMaxReturnableFields set in the HPositionGenericInfo object.
KErrNone if the SetValue was successful.
TPositionFieldId aFieldId | Id of the field to be copied into the HPositionGenericInfo. |
TUint16 aValue | Value to be copied into the HPositionGenericInfo. |
HPositionGenericInfo & aInfo | The HPositionGenericInfo object where this field needs to be added. |
IMPORT_C TInt | SetValue | ( | TPositionFieldId | aFieldId, |
TUint32 | aValue, | |||
HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Set the value for a location field of data type TUint32 in the HPositionGenericInfo. KErrArgument if aFieldId is EPositionFieldNone.
KErrPositionBufferOverflow if aValue will not fit in the HPositionGenericInfo object.
KErrOverflow if there are already KPositionMaxReturnableFields set in the HPositionGenericInfo object.
KErrNone if the SetValue was successful.
TPositionFieldId aFieldId | Id of the field to be copied into the HPositionGenericInfo. |
TUint32 aValue | Value to be copied into the HPositionGenericInfo. |
HPositionGenericInfo & aInfo | The HPositionGenericInfo object where this field needs to be added. |
IMPORT_C TInt | SetValue | ( | TPositionFieldId | aFieldId, |
TReal32 | aValue, | |||
HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Set the value for a location field of data type TReal32 in the HPositionGenericInfo. KErrArgument if aFieldId is EPositionFieldNone.
KErrPositionBufferOverflow if aValue will not fit in the HPositionGenericInfo object.
KErrOverflow if there are already KPositionMaxReturnableFields set in the HPositionGenericInfo object.
KErrNone if the SetValue was successful.
TPositionFieldId aFieldId | Id of the field to be copied into the HPositionGenericInfo. |
TReal32 aValue | Value to be copied into the HPositionGenericInfo. |
HPositionGenericInfo & aInfo | The HPositionGenericInfo object where this field needs to be added. |
IMPORT_C TInt | SetValue | ( | TPositionFieldId | aFieldId, |
const TReal64 & | aValue, | |||
HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Set the value for a location field of data type TReal64 in the HPositionGenericInfo. KErrArgument if aFieldId is EPositionFieldNone.
KErrPositionBufferOverflow if aValue will not fit in the HPositionGenericInfo object.
KErrOverflow if there are already KPositionMaxReturnableFields set in the HPositionGenericInfo object.
KErrNone if the SetValue was successful.
TPositionFieldId aFieldId | Id of the field to be copied into the HPositionGenericInfo. |
const TReal64 & aValue | Value to be copied into the HPositionGenericInfo. |
HPositionGenericInfo & aInfo | The HPositionGenericInfo object where this field needs to be added. |
IMPORT_C TInt | SetValue | ( | TPositionFieldId | aFieldId, |
const TDesC8 & | aValue, | |||
HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Set the value for a location field of data type TDesC8 & TDes8 in the HPositionGenericInfo. KErrArgument if aFieldId is EPositionFieldNone.
KErrPositionBufferOverflow if aValue will not fit in the HPositionGenericInfo object.
KErrOverflow if there are already KPositionMaxReturnableFields set in the HPositionGenericInfo object.
KErrNone if the SetValue was successful.
TPositionFieldId aFieldId | Id of the field to be copied into the HPositionGenericInfo. |
const TDesC8 & aValue | Value to be copied into the HPositionGenericInfo. |
HPositionGenericInfo & aInfo | The HPositionGenericInfo object where this field needs to be added. |
IMPORT_C TInt | SetValue | ( | TPositionFieldId | aFieldId, |
const TDesC16 & | aValue, | |||
HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Set the value for a location field of data type TDesC16 & TDes16 in the HPositionGenericInfo. KErrArgument if aFieldId is EPositionFieldNone.
KErrPositionBufferOverflow if aValue will not fit in the HPositionGenericInfo object.
KErrOverflow if there are already KPositionMaxReturnableFields set in the HPositionGenericInfo object.
KErrNone if the SetValue was successful.
TPositionFieldId aFieldId | Id of the field to be copied into the HPositionGenericInfo. |
const TDesC16 & aValue | Value to be copied into the HPositionGenericInfo. |
HPositionGenericInfo & aInfo | The HPositionGenericInfo object where this field needs to be added. |
IMPORT_C TInt | SetValue | ( | TPositionFieldId | aFieldId, |
const TTime & | aValue, | |||
HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Set the value for a location field of data type TTime in the HPositionGenericInfo. KErrArgument if aFieldId is EPositionFieldNone.
KErrPositionBufferOverflow if aValue will not fit in the HPositionGenericInfo object.
KErrOverflow if there are already KPositionMaxReturnableFields set in the HPositionGenericInfo object.
KErrNone if the SetValue was successful.
TPositionFieldId aFieldId | Id of the field to be copied into the HPositionGenericInfo. |
const TTime & aValue | Value to be copied into the HPositionGenericInfo. |
HPositionGenericInfo & aInfo | The HPositionGenericInfo object where this field needs to be added. |
IMPORT_C TInt | SetValue | ( | TPositionFieldId | aFieldId, |
const TTimeIntervalMicroSeconds & | aValue, | |||
HPositionGenericInfo & | aInfo | |||
) | [private, static] |
Set the value for a location field of data type TTimeIntervalMicroSeconds in the HPositionGenericInfo. KErrArgument if aFieldId is EPositionFieldNone.
KErrPositionBufferOverflow if aValue will not fit in the HPositionGenericInfo object.
KErrOverflow if there are already KPositionMaxReturnableFields set in the HPositionGenericInfo object.
KErrNone if the SetValue was successful.
TPositionFieldId aFieldId | Id of the field to be copied into the HPositionGenericInfo. |
const TTimeIntervalMicroSeconds & aValue | Value to be copied into the HPositionGenericInfo. |
HPositionGenericInfo & aInfo | The HPositionGenericInfo object where this field needs to be added. |