CartoType C++ API 8.8-7-gb35e4dc71
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_navigation.h>
Public Member Functions | |
void | WriteAsXml (OutputStream &aOutput) const |
Public Attributes | |
uint32_t | VehicleTypes = FeatureInfo::KRouteAccessVehicle |
double | Speed = KNoSpeedLimit |
Static Public Attributes | |
static constexpr double | KNoSpeedLimit = 255 |
Traffic information. This information is normally used in combination with a location reference.
void CartoTypeCore::TrafficInfo::WriteAsXml | ( | OutputStream & | aOutput | ) | const |
Writes this object in XML as a TrafficInfo element.
|
staticconstexpr |
Speeds of this value or greater mean there is no speed limit.
double CartoTypeCore::TrafficInfo::Speed = KNoSpeedLimit |
Permitted or expected speed in kph: KNoSpeedLimit or greater means no speed limit; 0 or less means the route is forbidden.
uint32_t CartoTypeCore::TrafficInfo::VehicleTypes = FeatureInfo::KRouteAccessVehicle |
Vehicle types affected by this information, taken from the FeatureInfo bit definitions; use FeatureInfo::KRouteAccessVehicle to select all vehicle types.