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