#include <lbsfields.h>
| class TPositionFieldIndex |
| Public Member Functions | |
|---|---|
| TPositionFieldIndex() | |
| TPositionFieldId | FieldId() |
| TUint16 | FieldStartPos() |
| PositionFieldManager::TFieldType | FieldType() |
| void | SetFieldId(TPositionFieldId) |
| void | SetFieldStartPos(TUint16) |
| void | SetFieldType(PositionFieldManager::TFieldType) |
This is an internal class used for indexing entries in HPositionGenericInfo. Methods in this class are not intended to be called directly. Clients should use HPositionGenericInfo::GetValue() and HPositionGenericInfo::SetValue() methods.
| TPositionFieldIndex | ( | ) | [inline] |
Constructor
Default constructor. Sets the Id and start position to zero and the field type to PositionFieldManager::EUndefined.
| TPositionFieldId | FieldId | ( | ) | const [inline] |
Get the field ID referred to by this object.
Returns: The Field Id. The Id is one of the enumerated values of _TPositionFieldId.Returns the field Id of the field that this index refers to.
| TUint16 | FieldStartPos | ( | ) | const [inline] |
Get the offset in buffer where this field is contained.
Returns: The offset in the buffer.Returns the offset into HPositionGenericInfo::iBuffer of the start of the field that this index refers to.
| PositionFieldManager::TFieldType | FieldType | ( | ) | const [inline] |
Get the data type of this field.
Returns: The data type of this field. The data type is one of the enumerated values of PositionFieldManager::TFieldType.Returns the data type of the field that this index refers to.
| void | SetFieldId | ( | TPositionFieldId | aFieldId | ) | [inline] |
Set the field ID referred to by this object.
| Parameter | Description |
|---|---|
| aFieldId | Sets the field Id of the entry this index refers to. |
| void | SetFieldStartPos | ( | TUint16 | aFieldStartPos | ) | [inline] |
Set the offset in buffer where this field is contained.
| Parameter | Description |
|---|---|
| aFieldStartPos | Sets the start position of the entry this index refers to. |
| void | SetFieldType | ( | PositionFieldManager::TFieldType | aFieldType | ) | [inline] |
Set the data type of this field.
| Parameter | Description |
|---|---|
| aFieldType | Sets the field data type of the entry this index refers to. |