CartoType API
Public Member Functions | Public Attributes
CartoType::Router::CRouteSegment Class Reference

#include <cartotype_router.h>

List of all members.

Public Member Functions

CT_IMPORT TResult WriteAsXml (MOutputStream &aOutput, const CMapDataBase *aMapDataBase) const
CT_IMPORT CRouteSegmentCopy (TResult &aError) const

Public Attributes

int32 iRoadType
CString iName
CString iRef
int32 iDistance
int32 iCost
CContour iPath

Detailed Description

Information about a route segment.


Member Function Documentation

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.


Member Data Documentation

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.


The documentation for this class was generated from the following files: