CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
Public Member Functions | Public Attributes | List of all members
CartoType::CLocationRef Class Reference

#include <cartotype_navigation.h>

Public Member Functions

 CLocationRef (TLocationRefType aType, TCoordType aCoordType)
void WriteAsXml (CFramework &aFramework, MOutputStream &aOutput) const

Public Attributes

TLocationRefType iType
CString iId
CGeometry iGeometry
double iRadiusInMeters
TSideOfRoad iSideOfRoad
TRoadOrientation iRoadOrientation

Detailed Description

Parameters used for a location reference when writing traffic information.

Constructor & Destructor Documentation

◆ CLocationRef()

CartoType::CLocationRef::CLocationRef ( TLocationRefType  aType,
TCoordType  aCoordType 

Creates a location reference with the specified reference type and coordinate type.

Member Function Documentation

◆ WriteAsXml()

void CartoType::CLocationRef::WriteAsXml ( CFramework aFramework,
MOutputStream aOutput 
) const

Writes a location reference to aOutput in XML form.

Member Data Documentation

◆ iGeometry

CGeometry CartoType::CLocationRef::iGeometry

The point or points.

◆ iId

CString CartoType::CLocationRef::iId

The arbitrary ID of the location reference.

◆ iRadiusInMeters

double CartoType::CLocationRef::iRadiusInMeters

The radius, if this is a circle.

◆ iRoadOrientation

TRoadOrientation CartoType::CLocationRef::iRoadOrientation

The road orientation, if relevant.

◆ iSideOfRoad

TSideOfRoad CartoType::CLocationRef::iSideOfRoad

The side of the road, if relevant.

◆ iType

TLocationRefType CartoType::CLocationRef::iType

The type of this location reference.

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