1#ifndef OSMSCOUT_TURNRESTRICTION_H
2#define OSMSCOUT_TURNRESTRICTION_H
#define OSMSCOUT_API
Definition CoreImportExport.h:45
TurnRestriction()=default
void Read(FileScanner &scanner)
OSMId GetVia() const
Definition TurnRestriction.h:79
OSMId GetFrom() const
Definition TurnRestriction.h:74
OSMId GetTo() const
Definition TurnRestriction.h:84
Type
Definition GroundTile.h:48
@ Allow
Definition TurnRestriction.h:39
@ Forbit
Definition TurnRestriction.h:40
const GeoCoord from
Definition RouteStateAgent.h:37
const GeoCoord to
Definition RouteStateAgent.h:39
TurnRestriction(Type type, OSMId from, OSMId via, OSMId to)
Definition TurnRestriction.h:52
Type GetType() const
Definition TurnRestriction.h:64
Type type
The type of the cell.
Definition GroundTile.h:92
void SetFrom(Id from)
Definition TurnRestriction.h:69
void SetTo(OSMId to)
Definition TurnRestriction.h:89
void Write(FileWriter &writer) const
uint64_t Id
Definition OSMScoutTypes.h:40
int64_t OSMId
Definition OSMScoutTypes.h:33
std::shared_ptr< TurnRestriction > TurnRestrictionRef
Definition TurnRestriction.h:98