#include <e32std.h>
#include <lbs.h>
#include <lbs/lbslocationcommon.h>
Go to the source code of this file.
Functions | |
NONSHARABLE_CLASS (CLbsPositionInfo) |
NONSHARABLE_CLASS | ( | CLbsPositionInfo | ) |
This class contains the basic coordinates of a location (latitude, longitude and altitude) along with vertical and horizontal accuracies. This class is different from TPositionInfo class defined in LBS and cannot be used interchangeably.
Allocates and constructs a new position info object. In the returned instance, the longitude, latitude, altitude, horizontal accuracy and vertical accuracy are set to NaN.
Allocates and constructs a new position info object, a copy of another one.
[in] | aLocality | Instance of CLbsPositionInfo. |
Allocates and constructs a new position info object
[in] | aLocality | Instance of TLocality class that contains coordinates along with the error estimates for the horizontal and vertical accuracy of the point. |
Destructor
Initializes the locality information. This includes latitude - should be between and including -90 and 90 degrees. longitude - should be between and including -180 and 180 degrees. altitude - Altitude information in meters. datum - datum information. Defaults to the constant for the coordinate system for a specific positioning system. horizontal accuracy - horizontal accuracy in meters. vertical accuracy - vertical accuracy in meters.
[in] | aLatitude | Latitude information. |
Retrieves the Locality information.
Returns the type of area information instance.
Validates position information. This method checks for boundary conditions as well as the mandatory attributes. The latitude, longitude and horizontal accuracy attributes are mandatory and must be specified in the TLocality instance being passed as an argument to instantiate/initialize an instance of this class. This method is used internally to determine the correctness of information provided. Optionally, this method, may also be used by client applications to validate their input.
KErrArgument If the specified attributes dont meet the boundary conditions or the mandatory arguments are not specified.
Internalize method to write GSM cell information to a stream.
Externalize method to read GSM cell information from a stream.
C++ default constructor
Copy constructor. Prohibited by default.
Overloaded assignment operator. Prohibited by default.
Symbian 2 phase constructor
Symbian 2 phase constuctor
Locality information