|
CartoType API
|
#include <cartotype_router.h>
Public Member Functions | |
| CT_IMPORT TResult | WriteAsXml (MOutputStream &aOutput, const CMapDataBase *aMapDataBase) const |
| CT_IMPORT CRouteSegment * | Copy (TResult &aError) const |
Public Attributes | |
| int32 | iRoadType |
| CString | iName |
| CString | iRef |
| int32 | iDistance |
| int32 | iCost |
| CContour | iPath |
Information about a route segment.
| CT_EXPORT TResult CRouteSegment::WriteAsXml | ( | MOutputStream & | aOutput, |
| const CMapDataBase * | aMapDataBase | ||
| ) | const |
Write a route segment as XML, as a <segment> element. If CMapDataBase is non-null, use its projection and point format to inverse-project the points back to latitude and longitude.
The cost of this segment in arbitrary units.
The distance in map units.
The standard name of the object of which this segment is a part.
The path of this segment.
The road reference of the object of which this segment is a part.
The first attribute, which by convention is the road type, of the object of which this segment is a part.
1.7.5.1