libosmscout
0.1
|
Original source: https://github.com/philipperemy/easy-encryption/blob/master/b64.h licensed under terms of MIT license. More...
Namespaces | |
FileDownloaderConfig | |
oss | |
ost | |
Classes | |
class | AbstractRoutingProfile |
class | AbstractRoutingService |
class | AccessFeature |
class | AccessFeatureValue |
class | AccessRestrictedFeature |
AccessRestriction signals, if there is some access restriction for a given way and a given vehicle. More... | |
class | AccessRestrictedFeatureValue |
struct | AccumulatorEvent |
class | Address |
class | AddressFeature |
class | AddressFeatureValue |
The address feature stores the house number of an (normally) node or area. More... | |
class | AddressListVisitor |
class | AddressVisitor |
class | AdminLevelFeature |
class | AdminLevelFeatureValue |
class | AdminRegion |
class | AdminRegionVisitor |
class | Area |
Representation of an (complex/multipolygon) area. More... | |
class | AreaAreaIndex |
class | AreaDataFile |
class | AreaIndex |
class | AreaNodeIndex |
class | AreaRegionSearchResult |
class | AreaRegionSearchResultEntry |
class | AreaRouteIndex |
class | AreaSearchParameter |
class | AreaWayIndex |
class | ArrivalEstimateAgent |
struct | ArrivalEstimateMessage |
class | AsyncWorker |
Async worker provides simple tool for providing asynchronous method calls. More... | |
class | AvailableMapsModel |
Tree model with maps available by configured providers (see Settings::GetMapProviders). More... | |
class | AvailableMapsModelDir |
Model item representing directory in AvailableMapsModel. More... | |
class | AvailableMapsModelItem |
Abstract model item used in AvailableMapsModel. More... | |
class | AvailableMapsModelMap |
Model item representing map in AvailableMapsModel. More... | |
class | AvailableVoice |
class | AvailableVoicesModel |
List model with voices available by configured providers (see Settings::GetVoiceProviders). More... | |
class | BasemapDatabase |
class | BasemapDatabaseParameter |
BasemapDatabase instance initialization parameter to influence the behavior of the db instance. More... | |
class | BatchMapPainter |
class | BatchMapPainterQt |
class | Bearing |
class | BearingAgent |
struct | BearingChangedMessage |
class | BorderStyle |
class | BoundingBoxDataFile |
class | BrandFeature |
class | BrandFeatureValue |
class | Breaker |
class | BridgeFeature |
class | BuildingFeature |
class | Cache |
class | CancelableFuture |
Future provides mechanism to access result of asynchronous computation. More... | |
class | CapStyleEnumAttributeDescriptor |
struct | CellDimension |
class | CharacterTexture |
class | ChargingStationDescriptionProcessor |
ingroup Description More... | |
class | ChargingStationFeature |
class | ChargingStationFeatureValue |
class | CirclePrimitive |
class | ClockwiseDirectionFeature |
class | ClosestRoutableObjectResult |
class | CmdLineAlternativeFlagArgParser |
class | CmdLineArgParser |
class | CmdLineBoolArgParser |
class | CmdLineFlagArgParser |
class | CmdLineGeoCoordArgParser |
class | CmdLineNumberArgParser |
class | CmdLineParser |
class | CmdLineParseResult |
class | CmdLineScanner |
class | CmdLineStringArgParser |
class | CmdLineStringListArgParser |
class | Color |
Representation of a color with red, green and blue value (RGB) and a alpha channel. More... | |
class | ColorFeature |
class | ColorFeatureValue |
class | CommercialDescriptionProcessor |
ingroup Description More... | |
struct | ConditionalStyle |
class | ConsoleLogger |
class | ConsoleProgress |
class | ConstructionYearFeature |
class | ConstructionYearFeatureValue |
class | Consumer |
A specialisation of worker that consumes events from a queue. More... | |
class | ContactDescriptionProcessor |
ingroup Description More... | |
class | ContourLabel |
class | ContourLabelPositioner |
struct | ContoursData |
class | CoordBuffer |
Buffer structure for Vertex2D data. More... | |
class | CoordBufferRange |
Hold a reference to a range of data within a CoordBuffer. More... | |
class | CoordDataFile |
class | CoverageIndex |
struct | CurrentSpeedMessage |
class | DataAgent |
class | Database |
class | DatabaseParameter |
Database instance initialization parameter to influence the behavior of the db instance. More... | |
struct | DataBlockSpan |
class | DataFile |
class | DataTileCache |
struct | DBFileOffset |
struct | DBId |
class | DBLoadJob |
class | DBRenderJob |
class | DebugDatabase |
class | DebugDatabaseParameter |
struct | DecodeNumberTemplated |
struct | DecodeNumberTemplated< false, N > |
struct | DecodeNumberTemplated< true, N > |
class | DescriptionEntry |
ingroup Description More... | |
class | DescriptionService |
Service,to get a structured description of an object on the map (Area, Way or Node). More... | |
class | DestinationFeature |
class | DestinationFeatureValue |
class | Distance |
struct | DistanceUnit |
class | DownloadJob |
Class that provide abstraction for download job of multiple files in sequence. More... | |
class | DragHandler |
class | DrawPrimitive |
class | DynamicFeatureLabelReader |
class | DynamicFeatureReader |
Variant of FeatureReader that is not type set and thus can easier get used in cases where runtime dynamics are required and features are referenced by name and not by type. More... | |
class | Earth |
Some general information regarding the earth. More... | |
class | EleFeature |
class | EleFeatureValue |
class | ElevationChartWidget |
class | ElevationModule |
struct | ElevationPoint |
class | ElevationService |
class | EmbankmentFeature |
struct | EncodeNumberTemplated |
struct | EncodeNumberTemplated< false, N > |
struct | EncodeNumberTemplated< true, N > |
class | FastestPathRoutingProfile |
class | Feature |
A feature combines one or multiple tags to build information attribute for a type. More... | |
struct | FeatureFilterData |
class | FeatureInstance |
An instantiation of a feature for a certain type. More... | |
class | FeatureLabelReader |
class | FeatureReader |
Helper template class for easy access to flag-like Features. More... | |
class | FeatureToDescriptionProcessor |
ingroup Description More... | |
class | FeatureValue |
class | FeatureValueBuffer |
A FeatureValueBuffer is instantiated by an object and holds information about the type of the object, the features and feature values available for the given object. More... | |
class | FeatureValueReader |
Helper template class for easy access to the value of a certain feature for objects of any type. More... | |
class | FeeFeature |
class | FeeFeatureValue |
struct | Feet |
class | FileDownloader |
Downloads a file specified by URL. More... | |
class | FileScanner |
class | FileWriter |
class | FillStyle |
class | FillStyleProcessor |
class | FreeTextSearchRunnable |
class | FromToFeature |
class | FromToFeatureValue |
class | GeneralDescriptionProcessor |
ingroup Description More... | |
class | GeoBox |
class | GeoBoxPartitioner |
Helper class to divide a given GeoBox in multiple equally sized parts. More... | |
class | GeoCoord |
class | GeometryDescriptionProcessor |
ingroup Description More... | |
class | Glyph |
struct | GPSUpdateMessage |
Message to pass to the NavigationEngine each time gps state has changed. More... | |
class | GradeFeature |
class | GradeFeatureValue |
struct | GroundTile |
A single ground tile cell. More... | |
class | HTMLWriter |
class | IconAnimation |
class | IconLookup |
class | IconStyle |
class | INameLabelProviderFactory |
class | IndexedDataFile |
struct | InitializeMessage |
Message send once at the beginning to make sure everything initializes correctly and to make it possible that agents can send messages on initialization. More... | |
class | InputHandler |
class | InstalledMapsModel |
Model providing access to currently installed maps on device. More... | |
class | InstalledVoicesModel |
Model providing access to currently installed voices on device. More... | |
class | Intersection |
A Intersection is a node, where multiple routeable ways or areas meet. More... | |
class | IOException |
class | IsInFeature |
class | IsInFeatureValue |
class | JumpHandler |
struct | Kilometer |
class | Label |
Position independent representation of layouted label. More... | |
class | LabelData |
class | LabelInstance |
class | LabelLayouter |
class | LabelPath |
Helper for rendering labels following some path. More... | |
class | LabelProvider |
class | LabelProviderFactory |
class | LabelStyle |
class | LaneAgent |
class | LanesFeature |
class | LanesFeatureValue |
class | Latch |
This implements a pure C++ Latch providing lock-S (shared) and lock-X (exclusive). More... | |
class | LayerFeature |
class | LayerFeatureValue |
class | LineStyle |
class | Locale |
class | Location |
class | LocationAtPlaceDescription |
class | LocationCoordDescription |
class | LocationCrossingDescription |
class | LocationDescription |
class | LocationDescriptionCandicate |
class | LocationDescriptionProcessor |
ingroup Description More... | |
class | LocationDescriptionService |
class | LocationEntry |
class | LocationFeature |
The location feature stores the location of an (normally) node or area. More... | |
class | LocationFeatureValue |
class | LocationFormSearchParameter |
class | LocationIndex |
class | LocationInfoModel |
class | LocationListModel |
Model for searching objects in osmscout databases by pattern written by human. More... | |
class | LocationSearchResult |
class | LocationService |
class | LocationStringSearchParameter |
class | LocationVisitor |
class | LocationWayDescription |
class | LockHandler |
class | Log |
class | Logger |
class | LookupModule |
class | Magnification |
class | MagnificationConverter |
class | MagnificationLevel |
class | MapData |
class | MapDownloader |
Manager of map databases. More... | |
class | MapDownloadJob |
Utility class for downloading map db described by AvailableMapsModelMap over http. More... | |
class | MapDownloadsModel |
QML list model with currently downloaded maps. More... | |
struct | MapIcon |
class | MapObjectInfoModel |
class | MapOverlay |
class | MapPainter |
Abstract base class of all renders (though you can always write your own renderer without inheriting from this class) It implements the general rendering algorithm. More... | |
class | MapPainterAgg |
class | MapPainterCairo |
class | MapPainterNoOp |
class | MapPainterOpenGL |
class | MapPainterQt |
Implementation of MapPainter for Qt. More... | |
class | MapPainterStatistics |
class | MapPainterSVG |
class | MapParameter |
class | MapRenderer |
class | MapService |
class | MapStyleModel |
class | MapTile |
class | MapTileCache |
class | MapView |
class | MapWidget |
struct | MaxAllowedSpeedMessage |
class | MaxSpeedFeature |
class | MaxSpeedFeatureValue |
class | MaxStayFeature |
class | MaxStayFeatureValue |
class | MemoryMonitor |
Starts a background thread that checks every 200ms the current memory usage of the current process and accumulates it to return the maximum memory usage since start or reset. More... | |
class | MercatorProjection |
Mercator projection that tries to render the resulting map in the same physical size on all devices. More... | |
class | Meter |
struct | Mile |
class | MoveAccumulator |
class | MoveHandler |
class | MultiDBRoutingService |
class | MultiDBRoutingState |
class | MultitouchHandler |
class | NameAltFeature |
class | NameAltFeatureValue |
class | NameFeature |
class | NameFeatureValue |
class | NameShortFeature |
class | NameShortFeatureValue |
class | Navigation |
class | NavigationAgent |
class | NavigationEngine |
struct | NavigationMessage |
Base class for all navigation messages. More... | |
class | NavigationModel |
Model providing navigation functionality to QML. More... | |
class | NavigationModule |
class | NearPOIModel |
class | NetworkFeature |
class | NetworkFeatureValue |
struct | NextRouteInstructionsMessage |
class | Node |
class | NodeDataFile |
class | NodeRegionSearchResult |
class | NodeRegionSearchResultEntry |
class | NodeUseMap |
class | NoOpLogger |
class | NumberSet |
class | NumericIndex |
class | ObjectDescription |
ingroup Description More... | |
class | ObjectFileRef |
Reference to an libosmscout internal object by its type (area, way, node) and by its file offset within its data file. More... | |
class | ObjectFileRefByFileOffsetComparator |
Comparator to sort ObjectFileRefs strictly by increasing file offset. More... | |
class | ObjectFileRefStreamReader |
Read back a stream of sorted ObjectFileRefs as written by the ObjectFileRefStreamWriter. More... | |
class | ObjectFileRefStreamWriter |
Efficiently (in disk space handling) write a number of (sorted by file offset) ObjectFileRefs. More... | |
struct | ObjectKey |
class | ObjectOSMRef |
Reference to an OSM object by its type (Node, Way, Relation) and its OSM object id. More... | |
class | ObjectPool |
struct | ObjectVariantData |
class | ObjectVariantDataFile |
class | OffsetRelAttributeDescriptor |
class | OnlineTileProviderModel |
class | OpenGLMapData |
class | OpenGLProjection |
class | OpenGLTexture |
class | OpeningHours |
Utility for parsing simple OpenStreetMap opening hours. More... | |
class | OpeningHoursFeature |
class | OpeningHoursFeatureValue |
class | OpeningHoursModel |
class | OperatorFeature |
class | OperatorFeatureValue |
class | OptimizeAreasLowZoom |
class | OptimizeWaysLowZoom |
class | OSMScoutException |
class | OSMScoutQt |
class | OSMScoutQtBuilder |
class | OSMTile |
class | OsmTileDownloader |
class | OSMTileId |
class | OSMTileIdBox |
class | OSMTileIdBoxConstIterator |
class | OutputDescription |
class | OverlayArea |
class | OverlayNode |
class | OverlayObject |
class | OverlayWay |
struct | PartialStyle |
struct | PartialStyleBase |
class | Path |
struct | PathIntersection |
class | PathLabelData |
class | PathShieldStyle |
class | PathSymbolStyle |
class | PathTextStyle |
class | PaymentDescriptionProcessor |
ingroup Description More... | |
class | PersistentCookieJar |
class | PhoneFeature |
class | PhoneFeatureValue |
class | Pipe |
A specialisation of worker. More... | |
struct | Pixel |
class | Place |
class | PlaneMapRenderer |
class | POI |
class | POIFormSearchParameter |
class | Point |
class | POIService |
class | POIVisitor |
class | PolygonMerger |
class | PolygonPrimitive |
class | PositionAgent |
This agent pin position of vehicle to most probable routable object. More... | |
class | PostalArea |
class | PostalCodeFeature |
class | PostalCodeFeatureValue |
class | PostprocessorContext |
class | PresenceDescriptionProcessor |
ingroup Description More... | |
class | ProcessingQueue |
A ProcessingQueue is a special multi-threaded safe implementation of a queue. More... | |
class | Producer |
A specialisation of Worker. More... | |
class | Progress |
class | Projection |
class | PTRoute |
class | PTRouteDataFile |
class | QmlRoutingProfile |
Routing profile. More... | |
class | QmlSettings |
class | QtRouteData |
Representation of computed route. More... | |
class | QtSettingsStorage |
class | ReadLock |
class | RectanglePrimitive |
class | RefFeature |
class | RefFeatureValue |
class | RenderModeEnumAttributeDescriptor |
struct | RequestState |
struct | RerouteRequestMessage |
Message created when we should compute new route. More... | |
class | RoundaboutFeature |
struct | RoutableDBObjects |
struct | RoutableObjects |
struct | RoutableObjectsMessage |
Message to pass to the NavigationEngine with routable objects around current possition. More... | |
struct | RoutableObjectsRequestMessage |
class | Route |
Representation of route. More... | |
class | RouteData |
class | RouteDataFile |
class | RouteDescription |
class | RouteDescriptionBuilder |
class | RouteDescriptionPostprocessor |
The RouteDescriptionPostprocessor does all the heavy lifting of creating the various available Postprocessors, evaluate their feedback and map it onto a set of real-life situation callback methods. More... | |
class | RouteDescriptionResult |
class | RouteInstructionAgent |
struct | RouteInstructionsMessage |
class | RouteNode |
class | RouteNodeDataFile |
struct | RoutePoints |
class | RoutePointsResult |
class | RoutePosition |
class | RoutePositionResult |
class | RoutePostprocessor |
class | Router |
class | RouterParameter |
class | RouteStateAgent |
class | RouteStep |
Human representation of route step commands. More... | |
struct | RouteUpdateMessage |
Message to pass to the NavigationEngine each time the calculated route changes. More... | |
class | RouteWayResult |
class | RoutingDatabase |
class | RoutingDescriptionProcessor |
ingroup Description More... | |
class | RoutingListModel |
class | RoutingParameter |
class | RoutingProfile |
class | RoutingProgress |
class | RoutingResult |
Result of a routing calculation. More... | |
class | RoutingService |
struct | ScanCell |
class | ScopeGuard |
ScopeGuard utility calls its constructor parameter (callable type) in it's destructor (on the end of the scope) More... | |
class | ScreenBox |
class | ScreenMask |
struct | ScreenPixelRectangle |
class | ScreenRectMask |
Holds a rectangular bit mask. More... | |
struct | ScreenVectorRectangle |
class | SearchLocationsRunnable |
class | SearchModule |
class | SearchRunnable |
struct | Segment |
struct | SegmentGeoBox |
class | ShieldStyle |
class | ShortestPathRoutingProfile |
class | SidewayFeature |
class | SidewayFeatureValue |
class | Signal |
Signal and Slot is tool for connecting source of events and its consumers. More... | |
class | SilentProgress |
class | SilentTagErrorReporter |
class | SimpleRoutingService |
class | SizeCondition |
class | Slot |
class | SpeedAgent |
struct | SpeedVariant |
class | SRTM |
Read elevation data in hgt format. More... | |
class | SRTMData |
class | StopClock |
class | StopClockNano |
Copy of the StopClock implementation but using a high_resolution timer and by default return nano seconds. More... | |
class | StreamLogger |
class | StringMatcher |
class | StringMatcherCI |
class | StringMatcherCIFactory |
class | StringMatcherFactory |
class | StringMatcherTransliterate |
class | StringMatcherTransliterateFactory |
struct | StringToNumberTemplated |
struct | StringToNumberTemplated< false, N > |
struct | StringToNumberTemplated< true, N > |
class | Style |
class | StyleAttributeDescriptor |
class | StyleBoolAttributeDescriptor |
class | StyleColorAttributeDescriptor |
class | StyleConfig |
Index selectors by type and level. More... | |
class | StyleConstant |
class | StyleConstantColor |
class | StyleConstantMag |
class | StyleConstantUInt |
class | StyleConstantWidth |
class | StyleCriteria |
class | StyleDescriptor |
class | StyleDisplayAttributeDescriptor |
class | StyleDoubleAttributeDescriptor |
class | StyleEnumAttributeDescriptor |
class | StyleError |
class | StyleFilter |
class | StyleFlagsModel |
class | StyleIntAttributeDescriptor |
class | StyleLabelAttributeDescriptor |
class | StyleMagnificationAttributeDescriptor |
class | StyleMapAttributeDescriptor |
class | StyleModule |
class | StyleResolveContext |
struct | StyleSelector |
class | StyleStringAttributeDescriptor |
class | StyleSymbolAttributeDescriptor |
class | StyleUDisplayAttributeDescriptor |
class | StyleUDoubleArrayAttributeDescriptor |
class | StyleUDoubleAttributeDescriptor |
class | StyleUIntAttributeDescriptor |
class | StyleUMapAttributeDescriptor |
class | StyleVoidAttributeDescriptor |
class | SunriseSunset |
class | Symbol |
class | SymbolRenderer |
class | SymbolRendererCairo |
class | SymbolRendererQt |
class | TagBinaryCondition |
class | TagBoolCondition |
class | TagCondition |
class | TagErrorReporter |
class | TagExistsCondition |
class | TagInfo |
class | TagIsInCondition |
class | TagNotCondition |
class | TagRegistry |
class | TapRecognizer |
struct | TargetReachedMessage |
class | TextLoader |
class | TextSearchIndex |
class | TextStyle |
class | TextStyleEnumAttributeDescriptor |
class | ThreadedBreaker |
class | ThreadedWorker |
A single threaded agent. More... | |
class | ThreadedWorkerPool |
class | Tile |
class | TileCache |
struct | TileCacheKey |
struct | TileCacheVal |
class | TileData |
class | TiledMapOverlay |
class | TiledMapRenderer |
class | TiledRenderingHelper |
class | TileId |
class | TileIdBox |
class | TileIdBoxConstIterator |
struct | TileIdHasher |
Hasher that can be used in std::unordered_map with TileId as a key. More... | |
class | TileKey |
class | TileLoaderThread |
class | TileProjection |
Mercator projection as used by the OpenStreetMap tile rendering code. More... | |
struct | TimeTickMessage |
Message to pass periodically to the Engine to make sure that state changes based on timeouts are triggered. More... | |
class | TransBuffer |
Temporary stateful buffer for holding results of transformation of polygon from geo coords to display coords. More... | |
struct | TransPoint |
Entry in the TransBuffer structure. More... | |
class | TransPolygon |
Class to allows transformation of geometric primitives form geo coordinate to display coordinates using the passed Projection instance. More... | |
class | Triangulate |
class | TunnelFeature |
class | TurnRestriction |
class | TypeConfig |
class | TypeDistributionDataFile |
class | TypeInfo |
class | TypeInfoSet |
Custom data structure to efficiently handle a set of TypeInfoRef. More... | |
class | TypeInfoSetConstIterator |
class | UninitializedException |
class | VehicleFollowHandler |
class | VehiclePosition |
class | Vertex2D |
class | Vertex3D |
class | Voice |
Holder for voice metadata. More... | |
class | VoiceCorePlayer |
class | VoiceDownloadJob |
Utility class for downloading voice described by AvailableVoice over http. More... | |
class | VoiceInstructionAgent |
This agent prepares voice messages for concatenation voice synthesis. More... | |
struct | VoiceInstructionMessage |
class | VoiceManager |
Manager of voices for navigation commands. More... | |
class | VoicePlayer |
class | WaterIndex |
class | Way |
class | WayDataFile |
class | WayDescriptionProcessor |
ingroup Description More... | |
class | WayRegionSearchResult |
class | WayRegionSearchResultEntry |
class | WebsiteFeature |
class | WebsiteFeatureValue |
class | WidthFeature |
class | WidthFeatureValue |
class | WriteLock |
struct | Yard |
class | ZoomGestureHandler |
Functions | |
static void | AddAddressResult (const SearchParameter ¶meter, LocationSearchResult::MatchQuality regionMatchQuality, LocationSearchResult::MatchQuality postalAreaMatchQuality, LocationSearchResult::MatchQuality locationMatchQuality, const AddressSearchVisitor::Result &addressMatch, LocationSearchResult::MatchQuality addressMatchQuality, LocationSearchResult &result) |
static void | AddLocationResult (const SearchParameter ¶meter, LocationSearchResult::MatchQuality regionMatchQuality, LocationSearchResult::MatchQuality postalAreaMatchQuality, const LocationSearchVisitor::Result &locationMatch, LocationSearchResult::MatchQuality locationMatchQuality, LocationSearchResult &result) |
static void | AddPOIResult (const SearchParameter ¶meter, LocationSearchResult::MatchQuality regionMatchQuality, const POISearchVisitor::Result &poiMatch, LocationSearchResult::MatchQuality poiMatchQuality, LocationSearchResult &result) |
static void | AddPostalAreaResult (const SearchParameter ¶meter, LocationSearchResult::MatchQuality regionMatchQuality, const PostalAreaSearchVisitor::Result &postalAreaMatch, LocationSearchResult::MatchQuality postalAreaMatchQuality, LocationSearchResult &result) |
static void | AddRegionResult (const SearchParameter ¶meter, LocationSearchResult::MatchQuality regionMatchQuality, const AdminRegionSearchVisitor::Result ®ionMatch, LocationSearchResult &result) |
double | AngleDiff (double a, double b) |
std::string | AppendFileToDir (const std::string &dir, const std::string &file) |
template<typename N > | |
bool | AreaIsCCW (const std::vector< N > &edges) |
template<typename N > | |
bool | AreaIsClockwise (const std::vector< N > &edges) |
template<typename N > | |
bool | AreaIsSimple (const std::vector< std::pair< N, N > > &edges, const std::vector< bool > &edgeStartsNewPoly) |
template<typename N > | |
bool | AreaIsSimple (std::vector< N > points) |
template<typename N > | |
bool | AreaIsValid (std::vector< N > &outerPoints, std::vector< std::vector< N > > &innerPoints) |
static bool | AreaSorter (const MapPainter::AreaData &a, const MapPainter::AreaData &b) |
Return if a > b, a should be drawn before b. More... | |
template<typename T > | |
int64_t | AsMillis (const std::chrono::duration< T > &duration) |
double | atanh_pd (double x) |
double | atanh_pd (double x, double y, double &res_x, double &res_y) |
v2df | atanh_pd (v2df x) |
double | atanh_sin_pd (double x) |
double | atanh_sin_pd (double x, double y, double &res_x, double &res_y) |
v2df | atanh_sin_pd (v2df x) |
bool | availableMapsModelItemLessThan (const AvailableMapsModelItem *i1, const AvailableMapsModelItem *i2) |
static std::vector< char > | Base64Decode (const std::string &in) |
static std::string | Base64Encode (const std::vector< char > &in) |
template<typename N > | |
uint8_t | BitsNeededToEncodeNumber (N number) |
template<typename N > | |
N | BitsToBytes (N bits) |
const char * | BoolToString (bool value) |
Returns a string representation of the given boolean value (either 'true' or 'false') More... | |
static std::list< std::string > | BuildStringListFromSubToken (const TokenStringRef &tokenString, const std::list< std::string > &tokens) |
Return a list of token by removing tokenString from the given token list (tokens). More... | |
std::string | ByteSizeToString (double size, const Locale &locale=Locale::ByEnvironmentSafe()) |
std::string | ByteSizeToString (FileOffset size, const Locale &locale=Locale::ByEnvironmentSafe()) |
uint8_t | BytesNeededToAddressFileData (const std::string &filename) |
template<typename N > | |
uint8_t | BytesNeededToEncodeNumber (N number) |
static uint32_t | CalculateCellLevel (const osmscout::GeoBox &boundingBox) |
double | CalculateDistancePointToLineSegment (const GeoCoord &p, const GeoCoord &a, const GeoCoord &b, GeoCoord &intersection) |
Calculates the distance between a point p and a line defined by the points a and b. More... | |
template<typename N > | |
double | CalculateDistancePointToLineSegment (const N &p, const N &a, const N &b) |
Calculates the distance between a point p and a line defined by the points a and b. More... | |
static double | CalculateDistancePointToLineSegment (const TransPoint &p, const TransPoint &a, const TransPoint &b) |
Calculates the distance between a point p and a line defined by the points a and b. More... | |
static double | CalculateDistancePointToPoint (const TransPoint &a, const TransPoint &b) |
static double * | CalculatePathSegmentLengths (cairo_path_t *path) |
Calculate an array of double for the path, that contains the length of each path segment. More... | |
static double | CalculatePointDistance (cairo_path_data_t *a, cairo_path_data_t *b) |
template<class S , class A > | |
void | CalculateUsedTypes (const TypeConfig &typeConfig, const std::list< ConditionalStyle< S, A > > &conditionals, size_t maxLevel, std::vector< TypeInfoSet > &typeSets) |
static void | CleanupSearchPatterns (std::list< TokenStringRef > &patterns) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineAlternativeFlag (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineBoolOption (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineDoubleOption (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineFlag (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineGeoCoordOption (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineInt64TOption (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineIntOption (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineLongOption (Args &&...args) |
template<class T , class ... Args> | |
CmdLineArgParserRef | CmdLineNumberOption (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineSizeTOption (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineStringListOption (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineStringOption (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineUInt64TOption (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineUIntOption (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineULongOption (Args &&...args) |
template<typename N > | |
void | ComputeSegmentBoxes (const std::vector< N > &path, std::vector< SegmentGeoBox > &segmentBoxes, size_t bound, size_t segmentSize=1000) |
Helper for FindPathIntersections. More... | |
template<class NativeGlyph > | |
static bool | ContourLabelSorter (const ContourLabel< NativeGlyph > &a, const ContourLabel< NativeGlyph > &b) |
CoordBufferRange | CopyPolygonToCoordBuffer (const TransBuffer &transBuffer, CoordBuffer &coordBuffer) |
double | cos_pd (double x) |
double | cos_pd (double x, double y, double &res_x, double &res_y) |
v2df | cos_pd (v2df x) |
size_t | CountWords (const std::string &text) |
static bool | CrossesElevationLine (int32_t ele, int32_t height1, int32_t height2) |
static QString | CrossingWaysDescriptionToString (const RouteDescription::CrossingWaysDescription &crossingWaysDescription) |
double | dangerous_sin_pd (double x) |
void | dangerous_sin_pd (double x, double y, double &res_x, double &res_y) |
v2df | dangerous_sin_pd (v2df x) |
template<typename N > | |
unsigned int | DecodeNumber (const char *buffer, N &number) |
template<typename N > | |
unsigned int | DecodeNumberSigned (const char *buffer, N &number) |
template<typename N > | |
unsigned int | DecodeNumberUnsigned (const char *buffer, N &number) |
double | DegToRad (double deg) |
double | Det (double x1, double y1, double x2, double y2) |
template<typename N > | |
double | DistanceSquare (const N &a, const N &b) |
double | DistanceToSegment (const GeoBox &boundingBox, const GeoCoord &segmentStart, const GeoCoord &segmentEnd, GeoCoord &location, GeoCoord &intersection) |
double | DistanceToSegment (const GeoCoord &point, const GeoCoord &segmentStart, const GeoCoord &segmentEnd, double &r, GeoCoord &intersection) |
double | DistanceToSegment (const std::vector< Point > &points, const GeoCoord &segmentStart, const GeoCoord &segmentEnd, GeoCoord &location, GeoCoord &intersection) |
double | DistanceToSegment (double px, double py, double p1x, double p1y, double p2x, double p2y, double &r, double &qx, double &qy) |
return the minimum distance from the point p to the line segment [p1,p2] this could be the distance from p to p1 or to p2 if q the orthogonal projection of p on the line supporting the segment is outside [p1,p2] r is the abscissa of q on the line, 0 <= r <= 1 if q is between p1 and p2. More... | |
static void | DropEqualPoints (TransBuffer &buffer) |
static void | DropRedundantPointsDouglasPeuckerArea (TransBuffer &buffer, double optimizeErrorTolerance) |
static void | DropRedundantPointsDouglasPeuckerWay (TransBuffer &buffer, double optimizeErrorTolerance) |
static void | DropRedundantPointsFast (TransBuffer &buffer, double optimizeErrorTolerance) |
static void | DropSimilarPoints (TransBuffer &buffer, double optimizeErrorTolerance) |
static void | DumpGroundTile (const GroundTile &tile) |
double | DurationAsHours (Duration duration) |
double | DurationAsSeconds (Duration duration) |
Duration | DurationOfHours (double hours) |
std::string | DurationString (const Duration &duration) |
static size_t | EatWhitespace (const std::string &text, size_t currentPos) |
template<typename N > | |
unsigned int | EncodeNumber (N number, char *buffer) |
template<typename N , size_t S> | |
unsigned int | EncodeNumber (N number, std::array< char, S > &buffer) |
template<typename N > | |
unsigned int | EncodeNumberSigned (N number, char *buffer) |
template<typename N > | |
unsigned int | EncodeNumberUnsigned (N number, char *buffer) |
static void | EnsureSimple (TransBuffer &buffer, bool isArea) |
const char * | EnumToString (const ChargingStationFeatureValue::SocketType &value) |
const char * | EnumToString (const FeeFeatureValue::Fee &value) |
bool | ExistsInFilesystem (const std::string &filename) |
template<typename N > | |
bool | FindIntersection (const std::vector< N > &way, size_t &i, size_t &j) |
template<typename N > | |
void | FindPathIntersections (const std::vector< N > &aPath, const std::vector< N > &bPath, bool aClosed, bool bClosed, std::vector< PathIntersection > &intersections, size_t aStartIndex=0, size_t bStartIndex=0) |
std::string | FloatToString (double value, const Locale &locale, uint32_t precision=3) |
Returns locale-aware string representation of number. More... | |
static QString | FormatMotorwayJunctionName (const RouteDescription::NameDescription &nameDescription) |
static QString | FormatName (const RouteDescription::NameDescription &nameDescription) |
static QString | FullTurnCommand (const RouteDescription::DirectionDescriptionRef &directionDescription) |
static std::list< TokenStringRef > | GenerateSearchPatterns (const std::list< std::string > &tokens, const std::unordered_set< std::string > &patternExclusions, size_t maxWords) |
SunriseSunsetRes | GetAstronomicalTwilight (const GeoCoord &location, const Timestamp &day=Timestamp::clock::now()) |
Calculate the astronomical twilight time for the given date and given location. More... | |
template<class InputIt > | |
void | GetBoundingBox (const InputIt first, const InputIt last, GeoBox &boundingBox) |
template<typename N > | |
GeoBox | GetBoundingBox (const std::vector< N > &nodes) |
template<typename N > | |
void | GetBoundingBox (const std::vector< N > &nodes, GeoBox &boundingBox) |
GeoBox | GetBoundingBox (const std::vector< Point > &nodes) |
void | GetBoundingBox (const std::vector< Point > &nodes, GeoBox &boundingBox) |
Cell | getCentroidCell (const Polygon &polygon) |
SunriseSunsetRes | GetCivilTwilight (const GeoCoord &location, const Timestamp &day=Timestamp::clock::now()) |
Calculate the civil twilight time for the given date and given location. More... | |
bool | GetDigitValue (char digit, size_t &result) |
std::string | GetDirectory (const std::string &file) |
double | GetDistanceInLonDegrees (const Distance &d, double latitude=0) |
Distance | GetEllipsoidalDistance (const GeoCoord &a, const GeoCoord &b) |
GeoCoord | GetEllipsoidalDistance (const GeoCoord &position, const Bearing &bearing, const Distance &distance) |
Distance | GetEllipsoidalDistance (double aLon, double aLat, double bLon, double bLat) |
Calculating Vincenty's inverse for getting the ellipsoidal distance of two points on earth. More... | |
void | GetEllipsoidalDistance (double lat1, double lon1, const Bearing &bearing, const Distance &distance, double &lat2, double &lon2) |
template<class S , class A > | |
std::shared_ptr< S > | GetFeatureStyle (const StyleResolveContext &context, const std::vector< std::list< StyleSelector< S, A > > > &styleSelectors, const FeatureValueBuffer &buffer, const Projection &projection) |
Get the style data based on the given features of an object, a given style (S) and its style attributes (A). More... | |
FileOffset | GetFileSize (const std::string &filename) |
std::string | GetFirstInStringList (const std::string &stringList, const std::string ÷r) |
static std::set< GeoCoord > | GetGridPoints (const std::vector< Point > &nodes, double gridSizeHoriz, double gridSizeVert) |
static char | GetHexChar (size_t value) |
static size_t | GetHexValue (char digit) |
template<typename N , typename I > | |
bool | GetLineIntersection (const N &a1, const N &a2, const N &b1, const N &b2, I &intersection) |
template<typename N > | |
bool | GetLineIntersectionPixel (const N &a1, const N &a2, const N &b1, const N &b2, N &intersection) |
template<class S , class A > | |
void | GetMaxLevelInConditionals (const std::list< ConditionalStyle< S, A > > &conditionals, size_t &maxLevel) |
SunriseSunsetRes | GetNauticalTwilight (const GeoCoord &location, const Timestamp &day=Timestamp::clock::now()) |
Calculate the nautical twilight time for the given date and given location. More... | |
template<typename N , typename M > | |
int | GetRelationOfPointToArea (const N &point, const std::vector< M > &nodes) |
double | getSegDistSq (const GeoCoord &p, const Point &a, const Point &b) |
template<typename N > | |
void | GetSegmentBoundingBox (const std::vector< N > &path, size_t from, size_t to, GeoBox &boundingBox) |
Helper for FindPathIntersections. More... | |
Bearing | GetSphericalBearingFinal (const GeoCoord &a, const GeoCoord &b) |
Taken the path from A to B over a sphere return the bearing at the destination point B. More... | |
Bearing | GetSphericalBearingInitial (const GeoCoord &a, const GeoCoord &b) |
Distance | GetSphericalDistance (const GeoCoord &a, const GeoCoord &b) |
Calculating basic cost for the A* algorithm based on the spherical distance of two points on earth. More... | |
SunriseSunsetRes | GetSunriseSunset (const GeoCoord &location, const Timestamp &day, double sunAltitude) |
Calculate the sunrise and sunset times for the given date, given location, and sun altitude. More... | |
SunriseSunsetRes | GetSunriseSunset (const GeoCoord &location, const Timestamp &day=Timestamp::clock::now()) |
Calculate the sunrise and sunset times for the given date and given location. More... | |
std::string | GetTokensFromEnd (const std::list< std::string > &tokens, size_t count) |
std::string | GetTokensFromStart (const std::list< std::string > &tokens, size_t count) |
int | GetUtcOffset () |
returns the utc timezone offset (e.g. More... | |
void | GroupStringListToStrings (std::list< std::string >::const_iterator token, size_t listSize, size_t parts, std::list< std::list< std::string > > &lists) |
template<class S , class A > | |
bool | HasStyle (const std::vector< std::vector< std::list< StyleSelector< S, A >>>> &styleSelectors, const size_t level) |
uint64_t | InterleaveNumbers (uint32_t a, uint32_t b) |
template<typename N , typename M > | |
bool | IsAreaAtLeastPartlyInArea (const std::vector< N > &a, const std::vector< M > &b) |
template<typename N , typename M > | |
bool | IsAreaAtLeastPartlyInArea (const std::vector< N > &a, const std::vector< M > &b, const GeoBox &aBox, const GeoBox &bBox) |
template<typename N , typename M > | |
bool | IsAreaCompletelyInArea (const std::vector< N > &a, const std::vector< M > &b) |
template<typename N , typename M > | |
bool | IsAreaSubOfArea (const std::vector< N > &a, const std::vector< M > &b) |
template<typename N , typename M > | |
bool | IsAreaSubOfAreaOrSame (const std::vector< N > &a, const std::vector< M > &b) |
template<typename N , typename M > | |
bool | IsAreaSubOfAreaQuorum (const std::vector< N > &a, const std::vector< M > &b) |
template<typename N , typename M > | |
bool | IsCoordInArea (const N &point, const std::vector< M > &nodes) |
bool | IsDirectory (const std::string &filename) |
bool | IsLaneOffset (OffsetRel rel) |
static bool | IsLowerByteSet (const unsigned char *bytes) |
static bool | IsLowerByteSet (unsigned char *bytes) |
bool | IsValidToWrite (const std::vector< Point > &nodes) |
Distance | Kilometers (double km) |
template<class NativeGlyph , class NativeLabel > | |
static bool | LabelInstanceSorter (const LabelInstance< NativeGlyph, NativeLabel > &a, const LabelInstance< NativeGlyph, NativeLabel > &b) |
static bool | LabelLayoutDataSorter (const LabelData &a, const LabelData &b) |
Sort labels for the same object by position. More... | |
std::string | LaneTurnString (LaneTurn turn) |
void | LayoutTextLayout (const QFontMetrics &fontMetrics, qreal proposedWidth, QTextLayout &layout, QRectF &boundingBox) |
template<typename N > | |
bool | LinesIntersect (const N &a1, const N &a2, const N &b1, const N &b2) |
cairo_surface_t * | LoadPNG (const std::string &filename) |
osmscout::OpenGLTextureRef | LoadPNGOpenGL (const std::string &filename) |
bool | LoadShader (GLuint &shader, GLenum type, const std::string &name, const std::string &shaderSource) |
bool | LoadShaderSource (const std::string &dirPath, const std::string &name, std::string &result) |
std::string | LocaleStringToUTF8String (const std::string &text) |
std::wstring | LocaleStringToWString (const std::string &text) |
double | log_pd (double x) |
double | log_pd (double x, double y, double &res_x, double &res_y) |
v2df | log_pd (v2df x) |
static void | MapPathOnPath (cairo_t *draw, cairo_path_t *srcPath, cairo_path_t *dstPath, double xOffset, double yOffset) |
Distance | Meters (double m) |
time_t | MkTimeUTC (struct tm *timeptr) |
https://stackoverflow.com/a/9088549/1632737 More... | |
void | Normalize (double x, double y, double &nx, double &ny) |
double | NormalizeRelativeAngle (double angle) |
template<typename N > | |
size_t | NumberDigits (const N &number, size_t base=10) |
std::string | NumberToString (long value, const Locale &locale) |
Returns locale-aware string representation of number. More... | |
bool | operator!= (const MapView &a, const MapView &b) |
Vertex2D | operator* (const Vertex2D &a, double scale) |
std::string | operator+ (const char *text, const MagnificationLevel &level) |
std::string | operator+ (const std::string &text, const MagnificationLevel &level) |
Vertex2D | operator+ (const Vertex2D &a, const Vertex2D &b) |
Vertex2D | operator- (const Vertex2D &a, const Vertex2D &b) |
bool | operator< (const TileCacheKey &a, const TileCacheKey &b) |
QDebug & | operator<< (QDebug &out, const TileCacheKey &key) |
std::ostream & | operator<< (std::ostream &os, const Distance &distance) |
std::ostream & | operator<< (std::ostream &os, const MagnificationLevel &level) |
std::ostream & | operator<< (std::ostream &stream, const DBFileOffset &o) |
std::ostream & | operator<< (std::ostream &stream, const DBId &o) |
std::ostream & | operator<< (std::ostream &stream, const StopClock &stopClock) |
std::ostream & | operator<< (std::ostream &stream, const StopClockNano &stopClock) |
bool | operator== (const MapView &a, const MapView &b) |
bool | operator== (const ObjectKey &k1, const ObjectKey &k2) |
bool | operator== (const TileCacheKey &a, const TileCacheKey &b) |
void | OptimizeArea (TransBuffer &buffer, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance, TransPolygon::OutputConstraint constraint) |
Optimize a already transformed area. More... | |
void | OptimizeWay (TransBuffer &buffer, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance, TransPolygon::OutputConstraint constraint) |
Optimize a already transformed way. More... | |
OffsetRel | ParseBackwardTurnStringToOffset (LaneTurn turn) |
bool | ParseBoolArgument (int argc, char *argv[], int ¤tIndex, bool &value) |
OffsetRel | ParseForwardTurnStringToOffset (LaneTurn turn) |
bool | ParseISO8601TimeString (const std::string &timeStr, Timestamp ×tamp) |
Parse time string in ISO 8601 format "2017-11-26T13:46:12.124Z" (UTC timezone) to Timestamp (std::chrono::time_point with millisecond accuracy). More... | |
bool | ParseSizeTArgument (int argc, char *argv[], int ¤tIndex, size_t &value) |
bool | ParseStringArgument (int argc, char *argv[], int ¤tIndex, std::string &value) |
bool | ParseUInt32Argument (int argc, char *argv[], int ¤tIndex, uint32_t &value) |
static void | PathPointTransformer (double &x, double &y, cairo_path_t *path, const double *pathSegmentLengths) |
Project a point X,Y onto a parameterized path. More... | |
OSMSCOUT_CLIENT_QT_API QList< QDir > | PathVectorToQDirList (const std::vector< std::filesystem::path > &paths) |
auto | pointToPolygonDist (const GeoCoord &point, const Polygon &polygon) |
GeoCoord | PolygonCenter (const Area &area, double precision=1) |
GeoCoord | PolygonCenter (const Polygon &polygon, const GeoBox &envelope, double precision) |
GeoCoord | PolygonCenter (const std::vector< Point > &polygon, double precision=1) |
size_t | Pow (size_t a, size_t b) |
uint | qHash (const TileCacheKey &key) |
OSMSCOUT_CLIENT_QT_API std::vector< std::string > | QStringListToStringVector (const QStringList &list) |
double | RadToDeg (double rad) |
bool | ReadFile (const std::string &filename, std::vector< char > &content) |
bool | RemoveFile (const std::string &filename) |
bool | RenameFile (const std::string &oldFilename, const std::string &newFilename) |
Rename a file. More... | |
std::string | ReplaceString (const std::string &in, const std::string &search, const std::string &replacement) |
static double | RoundDown (double value) |
static double | RoundUp (double value) |
void | ScanConvertLine (int x1, int y1, int x2, int y2, std::vector< ScanCell > &cells) |
This functions does a scan conversion of a line with the given start and end points. More... | |
static bool | ScanCoordinate (const std::string &text, size_t ¤tPos, double &value, size_t maxDigits) |
static bool | ScanNumber (const std::string &text, size_t ¤tPos, double &value, size_t maxDigits) |
static bool | SearchForAddressForLocation (LocationIndexRef &locationIndex, const SearchParameter ¶meter, const std::list< std::string > &addressTokens, const LocationSearchVisitor::Result &locationMatch, LocationSearchResult::MatchQuality regionMatchQuality, LocationSearchResult::MatchQuality postalAreaMatchQuality, LocationSearchResult::MatchQuality locationMatchQuality, LocationSearchResult &result) |
static bool | SearchForLocationForPostalArea (LocationIndexRef &locationIndex, const SearchParameter ¶meter, const std::string &locationPattern, const std::string &addressPattern, const PostalAreaSearchVisitor::Result &postalAreaMatch, LocationSearchResult::MatchQuality regionMatchQuality, LocationSearchResult::MatchQuality postalAreaMatchQuality, LocationSearchResult &result, BreakerRef &breaker) |
static bool | SearchForLocationForRegion (LocationIndexRef &locationIndex, const SearchParameter ¶meter, const std::list< std::string > &locationTokens, const AdminRegionSearchVisitor::Result ®ionMatch, LocationSearchResult::MatchQuality regionMatchQuality, LocationSearchResult &result, BreakerRef &breaker) |
static bool | SearchForPOIForRegion (LocationIndexRef &locationIndex, const SearchParameter ¶meter, const std::list< std::string > &poiTokens, const AdminRegionSearchVisitor::Result ®ionMatch, LocationSearchResult::MatchQuality regionMatchQuality, LocationSearchResult &result, BreakerRef &breaker) |
static bool | SearchForPOIForRegion (LocationIndexRef &locationIndex, const SearchParameter ¶meter, const std::string &poiPattern, const AdminRegionSearchVisitor::Result ®ionMatch, LocationSearchResult::MatchQuality regionMatchQuality, LocationSearchResult &result, BreakerRef &breaker) |
static bool | SearchForPostalAreaForRegion (LocationIndexRef &locationIndex, const SearchParameter ¶meter, const std::string &postalAreaPattern, const std::string &locationPattern, const std::string &addressPattern, const AdminRegionSearchVisitor::Result ®ionMatch, LocationSearchResult::MatchQuality regionMatchQuality, LocationSearchResult &result, BreakerRef &breaker) |
bool | SetThreadName ([[maybe_unused]] const std::string &name) |
bool | SetThreadName (const std::string &name) |
Try to set current thread name. More... | |
bool | SetThreadName (std::thread &thread, const std::string &name) |
Try to set thread name. More... | |
static QString | ShortTurnCommand (const RouteDescription::DirectionDescriptionRef &directionDescription) |
static void | SimplifyPolyLineDouglasPeucker (TransPoint *points, size_t beginIndex, size_t endIndex, size_t endValueIndex, double optimizeErrorToleranceSquared) |
void | SimplifyTokenList (std::list< std::string > &tokens) |
void | sin_cos_pd (double x, double &res_sin, double &res_cos) |
double | sin_pd (double x) |
void | sin_pd (double x, double y, double &res_x, double &res_y) |
v2df | sin_pd (v2df x) |
void | sincos (double x, double &resSin, double &resCos) |
template<class S , class A > | |
void | SortInConditionals (const TypeConfig &typeConfig, const std::list< ConditionalStyle< S, A > > &conditionals, size_t maxLevel, std::vector< std::vector< std::list< StyleSelector< S, A > > > > &selectors) |
template<class S , class A > | |
void | SortInConditionalsBySlot (const TypeConfig &typeConfig, const std::list< ConditionalStyle< S, A > > &conditionals, size_t maxLevel, std::vector< std::vector< std::vector< std::list< StyleSelector< S, A > > > > > &selectors) |
static QStringList | SplitDestinations (const std::string &destinations) |
std::list< std::string > | SplitString (const std::string &stringList, const std::string &separator, int maxSize=-1) |
std::list< std::string > | SplitStringAtSpace (const std::string &input) |
std::optional< std::pair< std::string, std::string > > | SplitStringToPair (const std::string &str, const std::string &separator) |
Split string by separator to two parts. More... | |
bool | StringToBool (const char *string, bool &value) |
bool | StringToNumber (const char *string, double &value) |
bool | StringToNumber (const std::string &string, double &value) |
template<typename N > | |
bool | StringToNumber (const std::string &string, N &number, size_t base=10) |
template<typename N > | |
bool | StringToNumberSigned (const std::string &string, N &number, size_t base=10) |
template<typename N > | |
bool | StringToNumberUnsigned (const std::string &string, N &number, size_t base=10) |
OSMSCOUT_CLIENT_QT_API QStringList | StringVectorToQStringList (const std::vector< std::string > &v) |
Signal< std::thread::id > & | ThreadExitSignal () |
Signal that is emitted on thread exit. More... | |
std::string | TimestampToISO8601TimeString (const Timestamp ×tamp) |
Format Timestamp to string in ISO8601 format "2017-11-26T13:46:12.124Z" for UTC timezone. More... | |
OSMSCOUT_CLIENT_QT_API QDateTime | TimestampToQDateTime (const osmscout::Timestamp &ts) |
void | TokenizeString (const std::string &input, std::list< std::string > &tokens) |
template<typename C > | |
void | TransformArea (const C &nodes, TransBuffer &buffer, const Projection &projection, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance, TransPolygon::OutputConstraint constraint=TransPolygon::noConstraint) |
Transform form geo to screen coordinates and (optionally) optimize the passed area with the given coordinates. More... | |
template<typename C > | |
CoordBufferRange | TransformArea (const C &nodes, TransBuffer &transBuffer, CoordBuffer &coordBuffer, const Projection &projection, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance) |
Transform the geo coordinates to display coordinates of the given area and copy the resulting coordinates the the given CoordBuffer. More... | |
void | TransformBoundingBox (const GeoBox &boundingBox, TransBuffer &buffer, const Projection &projection, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance, TransPolygon::OutputConstraint constraint=TransPolygon::noConstraint) |
Transform form geo to screen coordinates and (optionally) optimize the passed way with the given coordinates. More... | |
CoordBufferRange | TransformBoundingBox (const GeoBox &boundingBox, TransBuffer &buffer, CoordBuffer &coordBuffer, const Projection &projection, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance) |
Transform the geo coordinates to display coordinates of the given bounding box and copy the resulting coordinates the the given CoordBuffer. More... | |
static void | TransformPathOntoPath (cairo_path_t *srcPath, cairo_path_t *dstPath, double *pathSegmentLengths, double xOffset, double yOffset) |
Project a path using a function. More... | |
template<typename C > | |
void | TransformWay (const C &nodes, TransBuffer &buffer, const Projection &projection, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance, TransPolygon::OutputConstraint constraint=TransPolygon::noConstraint) |
Transform form geo to screen coordinates and (optionally) optimize the passed way with the given coordinates. More... | |
template<typename C > | |
CoordBufferRange | TransformWay (const C &nodes, TransBuffer &transBuffer, CoordBuffer &coordBuffer, const Projection &projection, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance) |
Transform the geo coordinates to display coordinates of the given way and copy the resulting coordinates the the given CoordBuffer. More... | |
std::string | Trim (const std::string &str, char trimmedChar=' ') |
Trim trimmedChar from begin and end of str. More... | |
static QString | TurnCommandType (const RouteDescription::DirectionDescriptionRef &directionDescription) |
static QString | TurnCommandWithList (const RouteDescription::DirectionDescriptionRef &directionDescription) |
std::string | UTF8NormForLookup (const std::string &text) |
Normalise the given std::string containing a UTF8 character sequence for tolerant comparison. More... | |
std::string | UTF8StringToLocaleString (const std::string &text) |
std::string | UTF8StringToLower (const std::string &text) |
Convert the given std::string containing a UTF8 character sequence to lower case using the translation table implementation. More... | |
std::u32string | UTF8StringToU32String (const std::string &text) |
std::string | UTF8StringToUpper (const std::string &text) |
Convert the given std::string containing a UTF8 character sequence to upper case using translation table implementation. More... | |
std::wstring | UTF8StringToWString (const std::string &text) |
std::string | UTF8Transliterate (const std::string &text) |
Transliterate non-ascii characters to one or more characters that are similar to the original character. More... | |
template<typename T > | |
QList< T > | vectorToQList (const std::vector< T > &vec) |
std::string | vehicleStr (osmscout::Vehicle vehicle) |
std::string | WStringToLocaleString (const std::wstring &text) |
std::string | WStringToUTF8String (const std::wstring &text) |
Variables | |
const ALIGN16_BEG double SINECOEFF_SSE[] | ALIGN16_END |
constexpr const char * | Base64Chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" |
static const StyleDescriptorRef | borderStyleDescriptor =std::make_shared<BorderStyleDescriptor>() |
const size_t | CELL_DIMENSION_COUNT = CELL_DIMENSION_MAX+1 |
const size_t | CELL_DIMENSION_MAX = 25 |
const std::array< CellDimension, CELL_DIMENSION_COUNT > | cellDimension |
const size_t | coordByteSize =7 |
constexpr bool | debugGroundTiles = false |
constexpr bool | debugLabelLayouter = false |
constexpr bool | debugRouting = false |
static double | DELTA_ANGLE =2*M_PI/16.0 |
We rotate in 16 steps. More... | |
static const uint32_t | FILE_FORMAT_VERSION =26 |
static const StyleDescriptorRef | fillStyleDescriptor =std::make_shared<FillStyleDescriptor>() |
static double | FONT_HEIGHT_FACTOR =10 |
Height of the font in pixel in relation to the given fontSize. More... | |
static const double | GRAD_TO_RAD = 2 * M_PI / 360 |
static const double | gradtorad =2*M_PI/360.0 |
static const StyleDescriptorRef | iconStyleDescriptor =std::make_shared<IconStyleDescriptor>() |
cairo_user_data_key_t | imageDataKey |
static int | INITIAL_DATA_RENDERING_TIMEOUT = 10 |
const double | latConversionFactor =(double)maxRawCoordValue/180.0 |
static const StyleDescriptorRef | lineStyleDescriptor =std::make_shared<LineStyleDescriptor>() |
Log | log |
const double | lonConversionFactor =(double)maxRawCoordValue/360.0 |
constexpr uint32_t | maxRawCoordValue = 0x7FFFFFF |
static OSMScoutQt * | osmScoutInstance =nullptr |
static const StyleDescriptorRef | pathShieldStyleDescriptor =std::make_shared<PathShieldStyleDescriptor>() |
static const StyleDescriptorRef | pathSymbolStyleDescriptor =std::make_shared<PathSymbolStyleDescriptor>() |
static const StyleDescriptorRef | pathTextStyleDescriptor =std::make_shared<PathTextStyleDescriptor>() |
static const TagId | tagIgnore = 0 |
static const StyleDescriptorRef | textStyleDescriptor =std::make_shared<TextStyleDescriptor>() |
static const double | tileDPI =96.0 |
static const TypeId | typeIgnore = 0 |
static int | UPDATED_DATA_RENDERING_TIMEOUT = 200 |
static const char * | valueChar ="0123456789abcdef" |
constexpr int | X_STEP_0 = 0 |
The X flag is set as follows based on the locking steps Step 0 : X is released Step 1 : X is held, but waits for release of S Step 2 : X was released and left available for one of request in wait Step 3 : X is held Step N : X recursive N-3. More... | |
constexpr int | X_STEP_1 = 1 |
constexpr int | X_STEP_2 = 2 |
constexpr int | X_STEP_3 = 3 |
Original source: https://github.com/philipperemy/easy-encryption/blob/master/b64.h licensed under terms of MIT license.
Original source: http://code.qt.io/cgit/qt/qt.git/tree/tools/qml/qmlruntime.cpp?h=4.7#n438.
using osmscout::AccessFeatureValueReader = typedef FeatureValueReader<AccessFeature, AccessFeatureValue> |
using osmscout::AccessRestrictedFeatureReader = typedef FeatureReader<AccessRestrictedFeature> |
using osmscout::AccessRestrictedFeatureValueReader = typedef FeatureValueReader<AccessRestrictedFeature, AccessRestrictedFeatureValue> |
using osmscout::AddressFeatureValueReader = typedef FeatureValueReader<AddressFeature, AddressFeatureValue> |
using osmscout::AddressRef = typedef std::shared_ptr<Address> |
using osmscout::AdminLevelFeatureValueReader = typedef FeatureValueReader<AdminLevelFeature, AdminLevelFeatureValue> |
using osmscout::AdminRegionRef = typedef std::shared_ptr<AdminRegion> |
using osmscout::AreaAreaIndexRef = typedef std::shared_ptr<AreaAreaIndex> |
using osmscout::AreaDataFileRef = typedef std::shared_ptr<AreaDataFile> |
using osmscout::AreaNodeIndexRef = typedef std::shared_ptr<AreaNodeIndex> |
using osmscout::AreaRef = typedef std::shared_ptr<Area> |
using osmscout::AreaRouteIndexRef = typedef std::shared_ptr<AreaRouteIndex> |
using osmscout::AreaWayIndexRef = typedef std::shared_ptr<AreaWayIndex> |
using osmscout::BasemapDatabaseRef = typedef std::shared_ptr<BasemapDatabase> |
Reference counted reference to an Database instance.
using osmscout::BorderConditionalStyle = typedef ConditionalStyle<BorderStyle, BorderStyle::Attribute> |
using osmscout::BorderPartialStyle = typedef PartialStyle<BorderStyle, BorderStyle::Attribute> |
Index selectors by type and level.
using osmscout::BorderStyleLookupTable = typedef std::vector<std::vector<BorderStyleSelectorList> > |
List of selectors.
using osmscout::BorderStyleRef = typedef std::shared_ptr<BorderStyle> |
using osmscout::BorderStyleSelector = typedef StyleSelector<BorderStyle, BorderStyle::Attribute> |
using osmscout::BorderStyleSelectorList = typedef std::list<BorderStyleSelector> |
using osmscout::BoundingBoxDataFileRef = typedef std::shared_ptr<BoundingBoxDataFile> |
using osmscout::BrandFeatureLabelReader = typedef FeatureLabelReader<BrandFeature, BrandFeatureValue> |
using osmscout::BrandFeatureValueReader = typedef FeatureValueReader<BrandFeature, BrandFeatureValue> |
using osmscout::BreakerRef = typedef std::shared_ptr<Breaker> |
using osmscout::BridgeFeatureReader = typedef FeatureReader<BridgeFeature> |
typedef std::shared_ptr<CharacterTexture> osmscout::CharacterTextureRef |
using osmscout::ChargingStationFeatureValueReader = typedef FeatureValueReader<ChargingStationFeature, ChargingStationFeatureValue> |
using osmscout::CirclePrimitiveRef = typedef std::shared_ptr<CirclePrimitive> |
using osmscout::CmdLineArgParserRef = typedef std::shared_ptr<CmdLineArgParser> |
using osmscout::ColorFeatureValueReader = typedef FeatureValueReader<ColorFeature, ColorFeatureValue> |
using osmscout::ColorPostprocessor = typedef osmscout::Color (*)(const osmscout::Color &) |
using osmscout::ConstructionYearFeatureValueReader = typedef FeatureValueReader<ConstructionYearFeature, ConstructionYearFeatureValue> |
using osmscout::CoverageIndexRef = typedef std::shared_ptr<CoverageIndex> |
using osmscout::DatabaseId = typedef uint32_t |
using osmscout::DatabaseRef = typedef std::shared_ptr<Database> |
Reference counted reference to an Database instance.
using osmscout::DescriptionServiceRef = typedef std::shared_ptr<DescriptionService> |
using osmscout::DestinationFeatureValueReader = typedef FeatureValueReader<DestinationFeature, DestinationFeatureValue> |
using osmscout::DistanceUnitPtr = typedef std::shared_ptr<DistanceUnit> |
using osmscout::DrawPrimitiveRef = typedef std::shared_ptr<DrawPrimitive> |
using osmscout::Duration = typedef Timestamp::duration |
using osmscout::EleFeatureValueReader = typedef FeatureValueReader<EleFeature, EleFeatureValue> |
using osmscout::EmbankmentFeatureReader = typedef FeatureReader<EmbankmentFeature> |
using osmscout::FastestPathRoutingProfileRef = typedef std::shared_ptr<FastestPathRoutingProfile> |
using osmscout::FeatureRef = typedef std::shared_ptr<Feature> |
using osmscout::FeatureToDescriptionProcessorRef = typedef std::shared_ptr<FeatureToDescriptionProcessor> |
ingroup Description
using osmscout::FeatureValueBufferRef = typedef std::shared_ptr<FeatureValueBuffer> |
using osmscout::FeeFeatureValueReader = typedef FeatureValueReader<FeeFeature, FeeFeatureValue> |
using osmscout::FillConditionalStyle = typedef ConditionalStyle<FillStyle, FillStyle::Attribute> |
using osmscout::FillPartialStyle = typedef PartialStyle<FillStyle, FillStyle::Attribute> |
Index selectors by type and level.
using osmscout::FillStyleLookupTable = typedef std::vector<std::vector<FillStyleSelectorList> > |
List of selectors.
using osmscout::FillStyleProcessorRef = typedef std::shared_ptr<FillStyleProcessor> |
using osmscout::FillStyleRef = typedef std::shared_ptr<FillStyle> |
using osmscout::FillStyleSelector = typedef StyleSelector<FillStyle, FillStyle::Attribute> |
using osmscout::FillStyleSelectorList = typedef std::list<FillStyleSelector> |
using osmscout::FromToFeatureValueReader = typedef FeatureValueReader<FromToFeature, FromToFeatureValue> |
using osmscout::GradeFeatureValueReader = typedef FeatureValueReader<GradeFeature, GradeFeatureValue> |
using osmscout::HourDuration = typedef std::chrono::duration<double, std::ratio<3600> > |
using osmscout::IconConditionalStyle = typedef ConditionalStyle<IconStyle, IconStyle::Attribute> |
using osmscout::IconPartialStyle = typedef PartialStyle<IconStyle, IconStyle::Attribute> |
Index selectors by type and level.
using osmscout::IconStyleLookupTable = typedef std::vector<std::vector<IconStyleSelectorList> > |
List of selectors.
using osmscout::IconStyleRef = typedef std::shared_ptr<IconStyle> |
using osmscout::IconStyleSelector = typedef StyleSelector<IconStyle, IconStyle::Attribute> |
using osmscout::IconStyleSelectorList = typedef std::list<IconStyleSelector> |
using osmscout::IsInFeatureValueReader = typedef FeatureValueReader<IsInFeature, IsInFeatureValue> |
using osmscout::JunctionRef = typedef std::shared_ptr<Intersection> |
using osmscout::LabelProviderFactoryRef = typedef std::shared_ptr<LabelProviderFactory> |
typedef std::shared_ptr< LabelProvider > osmscout::LabelProviderRef |
using osmscout::LabelStyleRef = typedef std::shared_ptr<LabelStyle> |
using osmscout::LanesFeatureValueReader = typedef FeatureValueReader<LanesFeature, LanesFeatureValue> |
using osmscout::LayerFeatureValueReader = typedef FeatureValueReader<LayerFeature, LayerFeatureValue> |
using osmscout::LineConditionalStyle = typedef ConditionalStyle<LineStyle,LineStyle::Attribute> |
using osmscout::LinePartialStyle = typedef PartialStyle<LineStyle,LineStyle::Attribute> |
using osmscout::LineStyleLookupTable = typedef std::vector<std::vector<LineStyleSelectorList> > |
List of selectors.
using osmscout::LineStyleRef = typedef std::shared_ptr<LineStyle> |
using osmscout::LineStyleSelector = typedef StyleSelector<LineStyle,LineStyle::Attribute> |
using osmscout::LineStyleSelectorList = typedef std::list<LineStyleSelector> |
using osmscout::LocationEntryRef = typedef std::shared_ptr<LocationEntry> |
using osmscout::LocationFeatureValueReader = typedef FeatureValueReader<LocationFeature, LocationFeatureValue> |
using osmscout::LocationIndexRef = typedef std::shared_ptr<LocationIndex> |
using osmscout::LocationRef = typedef std::shared_ptr<Location> |
using osmscout::MapDataRef = typedef std::shared_ptr<MapData> |
using osmscout::MapRendererRef = typedef std::shared_ptr<MapRenderer> |
typedef std::shared_ptr<MapTile> osmscout::MapTileRef |
using osmscout::MaxSpeedFeatureValueReader = typedef FeatureValueReader<MaxSpeedFeature, MaxSpeedFeatureValue> |
using osmscout::MaxStayFeatureValueReader = typedef FeatureValueReader<MaxStayFeature, MaxStayFeatureValue> |
using osmscout::MilliDouble = typedef std::chrono::duration<double, std::milli> |
using osmscout::NameAltFeatureValueReader = typedef FeatureValueReader<NameAltFeature, NameAltFeatureValue> |
using osmscout::NameFeatureLabelReader = typedef FeatureLabelReader<NameFeature, NameFeatureValue> |
using osmscout::NameFeatureValueReader = typedef FeatureValueReader<NameFeature, NameFeatureValue> |
using osmscout::NameShortFeatureValueReader = typedef FeatureValueReader<NameShortFeature, NameShortFeatureValue> |
using osmscout::NanoDouble = typedef std::chrono::duration<double, std::nano> |
using osmscout::NavigationAgentRef = typedef std::shared_ptr<NavigationAgent> |
using osmscout::NavigationMessageRef = typedef std::shared_ptr<NavigationMessage> |
using osmscout::NetworkFeatureValueReader = typedef FeatureValueReader<NetworkFeature, NetworkFeatureValue> |
using osmscout::NodeDataFileRef = typedef std::shared_ptr<NodeDataFile> |
using osmscout::NodeRef = typedef std::shared_ptr<Node> |
typedef std::shared_ptr<OpenGLTexture> osmscout::OpenGLTextureRef |
using osmscout::OperatorFeatureValueReader = typedef FeatureValueReader<OperatorFeature, OperatorFeatureValue> |
using osmscout::OptimizeAreasLowZoomRef = typedef std::shared_ptr<OptimizeAreasLowZoom> |
using osmscout::OptimizeWaysLowZoomRef = typedef std::shared_ptr<OptimizeWaysLowZoom> |
using osmscout::OverlayObjectRef = typedef std::shared_ptr<OverlayObject> |
using osmscout::PageId = typedef uint64_t |
using osmscout::PathShieldConditionalStyle = typedef ConditionalStyle<PathShieldStyle, PathShieldStyle::Attribute> |
using osmscout::PathShieldPartialStyle = typedef PartialStyle<PathShieldStyle, PathShieldStyle::Attribute> |
Index selectors by type and level.
using osmscout::PathShieldStyleLookupTable = typedef std::vector<std::vector<PathShieldStyleSelectorList> > |
List of selectors.
using osmscout::PathShieldStyleRef = typedef std::shared_ptr<PathShieldStyle> |
using osmscout::PathShieldStyleSelector = typedef StyleSelector<PathShieldStyle, PathShieldStyle::Attribute> |
using osmscout::PathShieldStyleSelectorList = typedef std::list<PathShieldStyleSelector> |
using osmscout::PathSymbolConditionalStyle = typedef ConditionalStyle<PathSymbolStyle, PathSymbolStyle::Attribute> |
using osmscout::PathSymbolPartialStyle = typedef PartialStyle<PathSymbolStyle, PathSymbolStyle::Attribute> |
Index selectors by type and level.
using osmscout::PathSymbolStyleLookupTable = typedef std::vector<std::vector<PathSymbolStyleSelectorList> > |
List of selectors.
using osmscout::PathSymbolStyleRef = typedef std::shared_ptr<PathSymbolStyle> |
using osmscout::PathSymbolStyleSelector = typedef StyleSelector<PathSymbolStyle, PathSymbolStyle::Attribute> |
using osmscout::PathSymbolStyleSelectorList = typedef std::list<PathSymbolStyleSelector> |
using osmscout::PathTextConditionalStyle = typedef ConditionalStyle<PathTextStyle, PathTextStyle::Attribute> |
using osmscout::PathTextPartialStyle = typedef PartialStyle<PathTextStyle, PathTextStyle::Attribute> |
Index selectors by type and level.
using osmscout::PathTextStyleLookupTable = typedef std::vector<std::vector<PathTextStyleSelectorList> > |
List of selectors.
using osmscout::PathTextStyleRef = typedef std::shared_ptr<PathTextStyle> |
using osmscout::PathTextStyleSelector = typedef StyleSelector<PathTextStyle, PathTextStyle::Attribute> |
using osmscout::PathTextStyleSelectorList = typedef std::list<PathTextStyleSelector> |
using osmscout::POIRef = typedef std::shared_ptr<POI> |
using osmscout::Polygon = typedef std::vector<const Ring*> |
using osmscout::PolygonPrimitiveRef = typedef std::shared_ptr<PolygonPrimitive> |
using osmscout::PostalAreaRef = typedef std::shared_ptr<PostalArea> |
using osmscout::PostalCodeFeatureValueReader = typedef FeatureValueReader<PostalCodeFeature, PostalCodeFeatureValue> |
using osmscout::PTRouteDataFileRef = typedef std::shared_ptr<PTRouteDataFile> |
using osmscout::PTRouteRef = typedef std::shared_ptr<PTRoute> |
using osmscout::QmlRoutingProfileRef = typedef std::shared_ptr<QmlRoutingProfile> |
using osmscout::QtGlyph = typedef Glyph<QGlyphRun> |
using osmscout::QtLabel = typedef Label<QGlyphRun, QTextLayout> |
using osmscout::QtLabelInstance = typedef LabelInstance<QGlyphRun, QTextLayout> |
using osmscout::RectanglePrimitiveRef = typedef std::shared_ptr<RectanglePrimitive> |
using osmscout::RefFeatureLabelReader = typedef FeatureLabelReader<RefFeature, RefFeatureValue> |
using osmscout::RefFeatureValueReader = typedef FeatureValueReader<RefFeature, RefFeatureValue> |
using osmscout::Ring = typedef std::vector<Point> |
using osmscout::RoundaboutFeatureReader = typedef FeatureReader<RoundaboutFeature> |
using osmscout::RoutableObjectsMessageRef = typedef std::shared_ptr<RoutableObjectsMessage> |
using osmscout::RoutableObjectsRef = typedef std::shared_ptr<RoutableObjects> |
using osmscout::RouteDataFileRef = typedef std::shared_ptr<RouteDataFile> |
using osmscout::RouteDescriptionRef = typedef std::shared_ptr<RouteDescription> |
using osmscout::RouteNodeRef = typedef std::shared_ptr<RouteNode> |
using osmscout::RoutePointsRef = typedef std::shared_ptr<RoutePoints> |
using osmscout::RouteRef = typedef std::shared_ptr<Route> |
using osmscout::RoutingProfileRef = typedef std::shared_ptr<RoutingProfile> |
using osmscout::ShieldConditionalStyle = typedef ConditionalStyle<ShieldStyle, ShieldStyle::Attribute> |
using osmscout::ShieldPartialStyle = typedef PartialStyle<ShieldStyle, ShieldStyle::Attribute> |
Index selectors by type and level.
using osmscout::ShieldStyleLookupTable = typedef std::vector<std::vector<ShieldStyleSelectorList> > |
List of selectors.
using osmscout::ShieldStyleRef = typedef std::shared_ptr<ShieldStyle> |
using osmscout::ShieldStyleSelector = typedef StyleSelector<ShieldStyle, ShieldStyle::Attribute> |
using osmscout::ShieldStyleSelectorList = typedef std::list<ShieldStyleSelector> |
using osmscout::ShortestPathRoutingProfileRef = typedef std::shared_ptr<ShortestPathRoutingProfile> |
using osmscout::SizeConditionRef = typedef std::shared_ptr<SizeCondition> |
using osmscout::SRTMDataRef = typedef std::shared_ptr<SRTMData> |
using osmscout::SRTMRef = typedef std::shared_ptr<SRTM> |
using osmscout::StringMatcherFactoryRef = typedef std::shared_ptr<StringMatcherFactory> |
using osmscout::StringMatcherRef = typedef std::shared_ptr<StringMatcher> |
using osmscout::StyleAttributeDescriptorRef = typedef std::shared_ptr<StyleAttributeDescriptor> |
using osmscout::StyleConfigRef = typedef std::shared_ptr<StyleConfig> |
using osmscout::StyleConstantRef = typedef std::shared_ptr<StyleConstant> |
using osmscout::StyleDescriptorRef = typedef std::shared_ptr<StyleDescriptor> |
using osmscout::SunriseSunsetRes = typedef std::optional<std::tuple<Timestamp, Timestamp> > |
using osmscout::SymbolRef = typedef std::shared_ptr<Symbol> |
using osmscout::TagId = typedef uint16_t |
using osmscout::TagMap = typedef std::unordered_map<TagId, std::string> |
using osmscout::TextConditionalStyle = typedef ConditionalStyle<TextStyle, TextStyle::Attribute> |
using osmscout::TextPartialStyle = typedef PartialStyle<TextStyle, TextStyle::Attribute> |
Index selectors by type and level.
using osmscout::TextStyleLookupTable = typedef std::vector<std::vector<TextStyleSelectorList> > |
List of selectors.
using osmscout::TextStyleRef = typedef std::shared_ptr<TextStyle> |
using osmscout::TextStyleSelector = typedef StyleSelector<TextStyle, TextStyle::Attribute> |
using osmscout::TextStyleSelectorList = typedef std::list<TextStyleSelector> |
using osmscout::Timestamp = typedef std::chrono::system_clock::time_point |
typedef std::shared_ptr<TokenString> osmscout::TokenStringRef |
using osmscout::TunnelFeatureReader = typedef FeatureReader<TunnelFeature> |
using osmscout::TurnRestrictionRef = typedef std::shared_ptr<TurnRestriction> |
using osmscout::TypeDistributionDataFileRef = typedef std::shared_ptr<TypeDistributionDataFile> |
using osmscout::TypeInfoRef = typedef std::shared_ptr<TypeInfo> |
using osmscout::VehicleMask = typedef uint8_t |
using osmscout::WaterIndexRef = typedef std::shared_ptr<WaterIndex> |
using osmscout::WayDataFileRef = typedef std::shared_ptr<WayDataFile> |
using osmscout::WayRef = typedef std::shared_ptr<Way> |
using osmscout::WidthFeatureValueReader = typedef FeatureValueReader<WidthFeature, WidthFeatureValue> |
using osmscout::WorkQueue = typedef ProcessingQueue<std::packaged_task<R ()> > |
|
strong |
|
strong |
Offset for rendered line, relative to way.
enum osmscout::OSMRefType |
enum osmscout::RefType |
enum osmscout::RenderSteps : size_t |
enum osmscout::Vehicle : uint8_t |
|
static |
References osmscout::LocationSearchResult::Entry::address, osmscout::LocationSearchResult::Entry::addressMatchQuality, osmscout::LocationSearchResult::Entry::adminRegion, osmscout::LocationSearchResult::Entry::adminRegionMatchQuality, osmscout::LocationSearchResult::limitReached, osmscout::LocationSearchResult::Entry::location, osmscout::LocationSearchResult::Entry::locationMatchQuality, osmscout::LocationSearchResult::none, osmscout::LocationSearchResult::Entry::poiMatchQuality, osmscout::LocationSearchResult::Entry::postalArea, osmscout::LocationSearchResult::Entry::postalAreaMatchQuality, and osmscout::LocationSearchResult::results.
Referenced by SearchForAddressForLocation().
|
static |
References osmscout::LocationSearchResult::Entry::addressMatchQuality, osmscout::LocationSearchResult::Entry::adminRegion, osmscout::LocationSearchResult::Entry::adminRegionMatchQuality, osmscout::Log::Debug(), osmscout::LocationSearchResult::limitReached, osmscout::LocationSearchResult::Entry::location, osmscout::LocationSearchResult::Entry::locationMatchQuality, log, osmscout::LocationSearchResult::none, osmscout::LocationSearchResult::Entry::poiMatchQuality, osmscout::LocationSearchResult::Entry::postalArea, osmscout::LocationSearchResult::Entry::postalAreaMatchQuality, and osmscout::LocationSearchResult::results.
Referenced by SearchForLocationForPostalArea(), and SearchForLocationForRegion().
|
static |
References osmscout::LocationSearchResult::Entry::addressMatchQuality, osmscout::LocationSearchResult::Entry::adminRegion, osmscout::LocationSearchResult::Entry::adminRegionMatchQuality, osmscout::LocationSearchResult::limitReached, osmscout::LocationSearchResult::Entry::locationMatchQuality, osmscout::LocationSearchResult::none, osmscout::LocationSearchResult::Entry::poi, osmscout::LocationSearchResult::Entry::poiMatchQuality, osmscout::LocationSearchResult::Entry::postalAreaMatchQuality, and osmscout::LocationSearchResult::results.
Referenced by SearchForPOIForRegion().
|
static |
References osmscout::LocationSearchResult::Entry::addressMatchQuality, osmscout::LocationSearchResult::Entry::adminRegion, osmscout::LocationSearchResult::Entry::adminRegionMatchQuality, osmscout::Log::Debug(), osmscout::LocationSearchResult::limitReached, osmscout::LocationSearchResult::Entry::locationMatchQuality, log, osmscout::LocationSearchResult::none, osmscout::LocationSearchResult::Entry::poiMatchQuality, osmscout::LocationSearchResult::Entry::postalArea, osmscout::LocationSearchResult::Entry::postalAreaMatchQuality, and osmscout::LocationSearchResult::results.
Referenced by SearchForPostalAreaForRegion().
|
static |
References osmscout::LocationSearchResult::Entry::addressMatchQuality, osmscout::LocationSearchResult::Entry::adminRegion, osmscout::LocationSearchResult::Entry::adminRegionMatchQuality, osmscout::LocationSearchResult::limitReached, osmscout::LocationSearchResult::Entry::locationMatchQuality, osmscout::LocationSearchResult::none, osmscout::LocationSearchResult::Entry::poiMatchQuality, osmscout::LocationSearchResult::Entry::postalAreaMatchQuality, and osmscout::LocationSearchResult::results.
Referenced by osmscout::LocationService::SearchForLocationByForm(), osmscout::LocationService::SearchForLocationByString(), and osmscout::LocationService::SearchForPOIByForm().
|
static |
Return if a > b, a should be drawn before b.
Condition for the case when one area exists in two relations
References osmscout::MapPainter::AreaData::boundingBox, osmscout::MapPainter::AreaData::fillStyle, osmscout::GeoCoord::GetLat(), osmscout::GeoCoord::GetLon(), osmscout::GeoBox::GetMaxCoord(), osmscout::GeoBox::GetMinCoord(), and osmscout::MapPainter::AreaData::isOuter.
int64_t osmscout::AsMillis | ( | const std::chrono::duration< T > & | duration | ) |
Referenced by osmscout::FileDownloader::FileDownloader().
|
inline |
References atanh_pd().
|
inline |
References atanh_pd().
|
inline |
References ARRAY2V2DF, and log_pd().
Referenced by atanh_pd(), and atanh_sin_pd().
|
inline |
References atanh_sin_pd().
|
inline |
References atanh_sin_pd().
|
inline |
References atanh_pd(), and dangerous_sin_pd().
Referenced by atanh_sin_pd().
bool osmscout::availableMapsModelItemLessThan | ( | const AvailableMapsModelItem * | i1, |
const AvailableMapsModelItem * | i2 | ||
) |
References osmscout::AvailableMapsModelItem::getName(), and osmscout::AvailableMapsModelItem::isDirectory().
Referenced by osmscout::AvailableMapsModel::listDownloaded().
|
inlinestatic |
References Base64Chars.
|
inlinestatic |
References Base64Chars.
Referenced by osmscout::MapPainterSVG::HasIcon().
const char * osmscout::BoolToString | ( | bool | value | ) |
Returns a string representation of the given boolean value (either 'true' or 'false')
value | value to return |
|
static |
Return a list of token by removing tokenString from the given token list (tokens).
tokenString | Token to remove |
tokens | List to remove token parameter from |
Referenced by SearchForAddressForLocation(), osmscout::LocationService::SearchForLocationByString(), SearchForLocationForRegion(), and SearchForPOIForRegion().
std::string osmscout::ByteSizeToString | ( | double | size, |
const Locale & | locale = Locale::ByEnvironmentSafe() |
||
) |
References FloatToString(), and osmscout::Locale::GetUnitsSeparator().
|
static |
References cellDimension, osmscout::GeoBox::GetHeight(), and osmscout::GeoBox::GetWidth().
Referenced by osmscout::DescriptionService::GetDescription().
double osmscout::CalculateDistancePointToLineSegment | ( | const GeoCoord & | p, |
const GeoCoord & | a, | ||
const GeoCoord & | b, | ||
GeoCoord & | intersection | ||
) |
Calculates the distance between a point p and a line defined by the points a and b.
p | The point in distance to a line |
a | One point defining the line |
b | Another point defining the line |
intersection | The point that is closest to 'p', either 'a', 'b', or a point on the line between 'a' and 'b'. |
References osmscout::GeoCoord::GetLat(), osmscout::GeoCoord::GetLon(), and osmscout::GeoCoord::Set().
double osmscout::CalculateDistancePointToLineSegment | ( | const N & | p, |
const N & | a, | ||
const N & | b | ||
) |
Calculates the distance between a point p and a line defined by the points a and b.
p | The point in distance to a line |
a | One point defining the line |
b | Another point defining the line |
Referenced by DropRedundantPointsFast(), osmscout::Database::LoadAreasInArea(), osmscout::Database::LoadAreasInRadius(), osmscout::Database::LoadWaysInArea(), and osmscout::Database::LoadWaysInRadius().
|
static |
Calculates the distance between a point p and a line defined by the points a and b.
p | The point in distance to a line |
a | One point defining the line |
b | Another point defining the line |
References osmscout::TransPoint::x, and osmscout::TransPoint::y.
|
static |
References osmscout::TransPoint::x, and osmscout::TransPoint::y.
Referenced by DropRedundantPointsDouglasPeuckerArea().
|
static |
Calculate an array of double for the path, that contains the length of each path segment.
References CalculatePointDistance().
Referenced by MapPathOnPath().
|
static |
Referenced by CalculatePathSegmentLengths().
void osmscout::CalculateUsedTypes | ( | const TypeConfig & | typeConfig, |
const std::list< ConditionalStyle< S, A > > & | conditionals, | ||
size_t | maxLevel, | ||
std::vector< TypeInfoSet > & | typeSets | ||
) |
References osmscout::TypeConfig::GetTypes().
|
static |
CmdLineArgParserRef osmscout::CmdLineAlternativeFlag | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineBoolOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineDoubleOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineFlag | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineGeoCoordOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineInt64TOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineIntOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineLongOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineNumberOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineSizeTOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineStringListOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineStringOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineUInt64TOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineUIntOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineULongOption | ( | Args &&... | args | ) |
void osmscout::ComputeSegmentBoxes | ( | const std::vector< N > & | path, |
std::vector< SegmentGeoBox > & | segmentBoxes, | ||
size_t | bound, | ||
size_t | segmentSize = 1000 |
||
) |
Helper for FindPathIntersections.
Compute bounding boxes for path segments with length 1000 nodes, up to node index bound (exclusive)
References osmscout::SegmentGeoBox::bbox, osmscout::SegmentGeoBox::from, GetSegmentBoundingBox(), and osmscout::SegmentGeoBox::to.
Referenced by FindIntersection(), FindPathIntersections(), and osmscout::OverlayObject::segments().
|
static |
CoordBufferRange osmscout::CopyPolygonToCoordBuffer | ( | const TransBuffer & | transBuffer, |
CoordBuffer & | coordBuffer | ||
) |
References osmscout::TransPoint::draw, osmscout::TransBuffer::GetEnd(), osmscout::TransBuffer::GetStart(), osmscout::TransBuffer::IsEmpty(), osmscout::TransBuffer::points, osmscout::CoordBuffer::PushCoord(), osmscout::TransPoint::x, and osmscout::TransPoint::y.
Referenced by TransformArea(), TransformBoundingBox(), and TransformWay().
|
inline |
References cos_pd().
|
inline |
References cos_pd().
|
inline |
References ARRAY2V2DF, ARRAY2V2DI, and POLY_EVAL6.
Referenced by cos_pd().
|
static |
Referenced by osmscout::MapPainter::DrawContourLines().
|
static |
References FormatName(), osmscout::RouteDescription::CrossingWaysDescription::GetDescriptions(), osmscout::RouteDescription::CrossingWaysDescription::GetOriginDesccription(), and osmscout::RouteDescription::CrossingWaysDescription::GetTargetDesccription().
Referenced by osmscout::RouteDescriptionBuilder::Callback::OnMotorwayEnter(), osmscout::RouteDescriptionBuilder::Callback::OnRoundaboutEnter(), and osmscout::RouteDescriptionBuilder::Callback::OnTurn().
|
inline |
References dangerous_sin_pd().
|
inline |
References dangerous_sin_pd().
|
inline |
References POLY_EVAL6.
Referenced by atanh_sin_pd(), and dangerous_sin_pd().
double osmscout::DistanceSquare | ( | const N & | a, |
const N & | b | ||
) |
Referenced by FindPathIntersections(), and osmscout::SearchModule::SearchForLocations().
double osmscout::DistanceToSegment | ( | const GeoCoord & | point, |
const GeoCoord & | segmentStart, | ||
const GeoCoord & | segmentEnd, | ||
double & | r, | ||
GeoCoord & | intersection | ||
) |
References DistanceToSegment(), osmscout::GeoCoord::GetLat(), and osmscout::GeoCoord::GetLon().
double osmscout::DistanceToSegment | ( | const std::vector< Point > & | points, |
const GeoCoord & | segmentStart, | ||
const GeoCoord & | segmentEnd, | ||
GeoCoord & | location, | ||
GeoCoord & | intersection | ||
) |
References DistanceToSegment().
|
static |
References osmscout::TransPoint::draw, osmscout::TransBuffer::GetLength(), osmscout::TransBuffer::points, osmscout::TransPoint::x, and osmscout::TransPoint::y.
Referenced by OptimizeArea(), and OptimizeWay().
|
static |
|
static |
References osmscout::TransPoint::draw, osmscout::TransBuffer::GetLength(), osmscout::TransBuffer::points, and SimplifyPolyLineDouglasPeucker().
Referenced by OptimizeWay().
|
static |
References CalculateDistancePointToLineSegment(), osmscout::TransPoint::draw, osmscout::TransBuffer::GetLength(), and osmscout::TransBuffer::points.
Referenced by OptimizeArea(), and OptimizeWay().
|
static |
References osmscout::TransPoint::draw, osmscout::TransBuffer::GetLength(), osmscout::TransBuffer::points, osmscout::TransPoint::x, and osmscout::TransPoint::y.
Referenced by OptimizeArea(), and OptimizeWay().
|
static |
|
inline |
|
inline |
|
inline |
Referenced by osmscout::AbstractRoutingProfile::GetTime2().
std::string osmscout::DurationString | ( | const Duration & | duration | ) |
Referenced by osmscout::FastestPathRoutingProfile::GetCostString().
|
static |
Referenced by osmscout::GeoCoord::Parse(), and ScanCoordinate().
|
static |
References osmscout::TransPoint::draw, FindIntersection(), osmscout::TransBuffer::GetLength(), osmscout::TransBuffer::points, osmscout::TransPoint::x, and osmscout::TransPoint::y.
Referenced by OptimizeArea(), and OptimizeWay().
const char * osmscout::EnumToString | ( | const ChargingStationFeatureValue::SocketType & | value | ) |
References osmscout::ChargingStationFeatureValue::Chademo, osmscout::ChargingStationFeatureValue::TeslaDestination, osmscout::ChargingStationFeatureValue::TeslaSupercharger, osmscout::ChargingStationFeatureValue::Typ1Combo, osmscout::ChargingStationFeatureValue::Type1, osmscout::ChargingStationFeatureValue::Type2, osmscout::ChargingStationFeatureValue::Type2Cable, osmscout::ChargingStationFeatureValue::Type2Combo, and osmscout::ChargingStationFeatureValue::Unknown.
Referenced by osmscout::PaymentDescriptionProcessor::Process(), and osmscout::ChargingStationDescriptionProcessor::Process().
const char * osmscout::EnumToString | ( | const FeeFeatureValue::Fee & | value | ) |
std::string osmscout::FloatToString | ( | double | value, |
const Locale & | locale, | ||
uint32_t | precision = 3 |
||
) |
Returns locale-aware string representation of number.
value | |
locale | |
precision |
References osmscout::Locale::GetDecimalSeparator(), osmscout::Locale::GetThousandsSeparator(), and NumberToString().
Referenced by ByteSizeToString().
|
static |
|
static |
References osmscout::RouteDescription::NameDescription::GetName(), and osmscout::RouteDescription::NameDescription::GetRef().
Referenced by CrossingWaysDescriptionToString(), osmscout::RouteDescriptionBuilder::Callback::OnMotorwayChange(), osmscout::RouteDescriptionBuilder::Callback::OnMotorwayEnter(), osmscout::RouteDescriptionBuilder::Callback::OnMotorwayLeave(), osmscout::RouteDescriptionBuilder::Callback::OnPathNameChange(), osmscout::RouteDescriptionBuilder::Callback::OnRoundaboutLeave(), osmscout::RouteDescriptionBuilder::Callback::OnStart(), osmscout::RouteDescriptionBuilder::Callback::OnTurn(), and osmscout::RouteDescriptionBuilder::Callback::PushStreetName().
|
static |
Referenced by osmscout::RouteDescriptionBuilder::Callback::OnTurn().
|
static |
SunriseSunsetRes osmscout::GetAstronomicalTwilight | ( | const GeoCoord & | location, |
const Timestamp & | day = Timestamp::clock::now() |
||
) |
Calculate the astronomical twilight time for the given date and given location.
day | The day for which to calculate astronomical twilight |
location | the location |
References GetSunriseSunset().
Cell osmscout::getCentroidCell | ( | const Polygon & | polygon | ) |
References osmscout::Point::GetLat(), and osmscout::Point::GetLon().
Referenced by PolygonCenter().
SunriseSunsetRes osmscout::GetCivilTwilight | ( | const GeoCoord & | location, |
const Timestamp & | day = Timestamp::clock::now() |
||
) |
Calculate the civil twilight time for the given date and given location.
day | The day for which to calculate civil twilight |
location | the location |
References GetSunriseSunset().
std::shared_ptr<S> osmscout::GetFeatureStyle | ( | const StyleResolveContext & | context, |
const std::vector< std::list< StyleSelector< S, A > > > & | styleSelectors, | ||
const FeatureValueBuffer & | buffer, | ||
const Projection & | projection | ||
) |
Get the style data based on the given features of an object, a given style (S) and its style attributes (A).
References osmscout::Magnification::GetLevel(), osmscout::Projection::GetMagnification(), osmscout::Projection::GetMeterInMM(), and osmscout::Projection::GetMeterInPixel().
Referenced by osmscout::StyleConfig::GetAreaBorderStyles(), osmscout::StyleConfig::GetAreaBorderSymbolStyle(), osmscout::StyleConfig::GetAreaBorderTextStyle(), osmscout::StyleConfig::GetAreaFillStyle(), osmscout::StyleConfig::GetAreaIconStyle(), osmscout::StyleConfig::GetAreaTextStyleCount(), osmscout::StyleConfig::GetAreaTextStyles(), osmscout::StyleConfig::GetCoastFillStyle(), osmscout::StyleConfig::GetCoastlineLineStyle(), osmscout::StyleConfig::GetLandFillStyle(), osmscout::StyleConfig::GetNodeIconStyle(), osmscout::StyleConfig::GetNodeTextStyleCount(), osmscout::StyleConfig::GetNodeTextStyles(), osmscout::StyleConfig::GetOSMSubTileBorderLineStyle(), osmscout::StyleConfig::GetOSMTileBorderLineStyle(), osmscout::StyleConfig::GetRouteLineStyles(), osmscout::StyleConfig::GetRoutePathTextStyle(), osmscout::StyleConfig::GetSeaFillStyle(), osmscout::StyleConfig::GetUnknownFillStyle(), osmscout::StyleConfig::GetWayLineStyles(), osmscout::StyleConfig::GetWayPathShieldStyle(), osmscout::StyleConfig::GetWayPathSymbolStyle(), and osmscout::StyleConfig::GetWayPathTextStyle().
|
static |
References GetLineIntersection().
|
static |
Referenced by osmscout::Color::ToHexString().
|
static |
Referenced by osmscout::Color::FromHexString().
void osmscout::GetMaxLevelInConditionals | ( | const std::list< ConditionalStyle< S, A > > & | conditionals, |
size_t & | maxLevel | ||
) |
SunriseSunsetRes osmscout::GetNauticalTwilight | ( | const GeoCoord & | location, |
const Timestamp & | day = Timestamp::clock::now() |
||
) |
Calculate the nautical twilight time for the given date and given location.
day | The day for which to calculate nautical twilight |
location | the location |
References GetSunriseSunset().
References osmscout::Point::GetLat(), osmscout::GeoCoord::GetLat(), osmscout::Point::GetLon(), and osmscout::GeoCoord::GetLon().
Referenced by pointToPolygonDist().
void osmscout::GetSegmentBoundingBox | ( | const std::vector< N > & | path, |
size_t | from, | ||
size_t | to, | ||
GeoBox & | boundingBox | ||
) |
Helper for FindPathIntersections.
Compute bounding box of path segment from node index from
(inclusive) to node index to
(exclusive)
References osmscout::GeoBox::Invalidate(), and osmscout::GeoBox::Set().
Referenced by ComputeSegmentBoxes(), and FindPathIntersections().
SunriseSunsetRes osmscout::GetSunriseSunset | ( | const GeoCoord & | location, |
const Timestamp & | day, | ||
double | sunAltitude | ||
) |
Calculate the sunrise and sunset times for the given date, given location, and sun altitude.
This is based on the Wikipedia article on the Sunrise equation.
day | The day for which to calculate sunrise and sunset |
location | the location |
sunAltitude | the angle between the horizon and the center of the sun's disc. |
References osmscout::GeoCoord::GetLat(), and osmscout::GeoCoord::GetLon().
Referenced by GetAstronomicalTwilight(), GetCivilTwilight(), GetNauticalTwilight(), and GetSunriseSunset().
SunriseSunsetRes osmscout::GetSunriseSunset | ( | const GeoCoord & | location, |
const Timestamp & | day = Timestamp::clock::now() |
||
) |
Calculate the sunrise and sunset times for the given date and given location.
This is based on the Wikipedia article on the Sunrise equation.
day | The day for which to calculate sunrise and sunset |
location | the location |
References GetSunriseSunset().
std::string osmscout::GetTokensFromEnd | ( | const std::list< std::string > & | tokens, |
size_t | count | ||
) |
Referenced by GenerateSearchPatterns().
std::string osmscout::GetTokensFromStart | ( | const std::list< std::string > & | tokens, |
size_t | count | ||
) |
Referenced by GenerateSearchPatterns().
int osmscout::GetUtcOffset | ( | ) |
bool osmscout::HasStyle | ( | const std::vector< std::vector< std::list< StyleSelector< S, A >>>> & | styleSelectors, |
const size_t | level | ||
) |
bool osmscout::IsLaneOffset | ( | OffsetRel | rel | ) |
|
static |
Referenced by LoadPNG(), and LoadPNGOpenGL().
|
static |
bool osmscout::IsValidToWrite | ( | const std::vector< Point > & | nodes | ) |
References latConversionFactor, and lonConversionFactor.
|
inline |
|
static |
|
inlinestatic |
Sort labels for the same object by position.
References osmscout::LabelData::position.
std::string osmscout::LaneTurnString | ( | LaneTurn | turn | ) |
References Left, MergeToLeft, MergeToRight, None, Right, SharpLeft, SharpRight, SlightLeft, SlightRight, Through, Through_Left, Through_Right, Through_SharpLeft, Through_SharpRight, Through_SlightLeft, Through_SlightRight, and Unknown.
Referenced by osmscout::RouteDescription::SuggestedLaneDescription::GetDebugString(), osmscout::NavigationModel::getLaneTurn(), and osmscout::NavigationModel::getLaneTurns().
void osmscout::LayoutTextLayout | ( | const QFontMetrics & | fontMetrics, |
qreal | proposedWidth, | ||
QTextLayout & | layout, | ||
QRectF & | boundingBox | ||
) |
cairo_surface_t * osmscout::LoadPNG | ( | const std::string & | filename | ) |
References imageDataKey, and IsLowerByteSet().
Referenced by osmscout::MapPainterCairo::HasIcon(), and osmscout::MapPainterCairo::HasPattern().
osmscout::OpenGLTextureRef osmscout::LoadPNGOpenGL | ( | const std::string & | filename | ) |
References IsLowerByteSet().
bool osmscout::LoadShader | ( | GLuint & | shader, |
GLenum | type, | ||
const std::string & | name, | ||
const std::string & | shaderSource | ||
) |
References osmscout::Log::Error(), and log.
Referenced by osmscout::OpenGLMapData< GL_RED, 1 >::InitContext(), and osmscout::MapPainterOpenGL::MapPainterOpenGL().
bool osmscout::LoadShaderSource | ( | const std::string & | dirPath, |
const std::string & | name, | ||
std::string & | result | ||
) |
References osmscout::Log::Error(), ExistsInFilesystem(), and log.
Referenced by osmscout::OpenGLMapData< GL_RED, 1 >::InitContext(), and osmscout::MapPainterOpenGL::MapPainterOpenGL().
|
inline |
References log_pd().
|
inline |
References log_pd().
|
inline |
References ARRAY2V2DF, ARRAY2V2DI, and POLY_EVAL3.
Referenced by atanh_pd(), and log_pd().
|
static |
References CalculatePathSegmentLengths(), and TransformPathOntoPath().
Referenced by osmscout::MapPainterCairo::DrawContourSymbol().
|
inline |
References m.
Referenced by osmscout::ElevationService< DataLoader >::ElevationProfile(), osmscout::PositionAgent::GpsPosition::GetGeoBox(), osmscout::EleFeatureValue::GetLabel(), osmscout::PositionAgent::GpsPosition::GetState(), osmscout::NavigationModule::locationChanged(), osmscout::ArrivalEstimateAgent::Process(), osmscout::BearingAgent::Process(), osmscout::RouteStateAgent::Process(), osmscout::SpeedAgent::Process(), osmscout::PositionAgent::Process(), osmscout::VoiceInstructionAgent::Process(), osmscout::RoutePostprocessor::SuggestedLanesPostprocessor::Process(), osmscout::ElevationChartWidget::reset(), osmscout::QmlRoutingProfile::setPenaltyDifferentType(), osmscout::QmlRoutingProfile::setPenaltySameType(), osmscout::MapWidget::showLocation(), and osmscout::VehicleFollowHandler::vehiclePosition().
time_t osmscout::MkTimeUTC | ( | struct tm * | timeptr | ) |
https://stackoverflow.com/a/9088549/1632737
the utc analogue of mktime, (much like timegm on some systems)
References GetUtcOffset().
Referenced by ParseISO8601TimeString().
size_t osmscout::NumberDigits | ( | const N & | number, |
size_t | base = 10 |
||
) |
References base.
Referenced by StringToNumberSigned().
std::string osmscout::NumberToString | ( | long | value, |
const Locale & | locale | ||
) |
Returns locale-aware string representation of number.
value | |
locale |
References osmscout::Locale::GetThousandsSeparator().
Referenced by FloatToString(), osmscout::EleFeatureValue::GetLabel(), and osmscout::ElevationChartWidget::paint().
References osmscout::Vertex2D::GetX(), and osmscout::Vertex2D::GetY().
|
inline |
References osmscout::MagnificationLevel::Get().
|
inline |
References osmscout::MagnificationLevel::Get().
References osmscout::Vertex2D::GetX(), and osmscout::Vertex2D::GetY().
References osmscout::Vertex2D::GetX(), and osmscout::Vertex2D::GetY().
bool osmscout::operator< | ( | const TileCacheKey & | a, |
const TileCacheKey & | b | ||
) |
QDebug & osmscout::operator<< | ( | QDebug & | out, |
const TileCacheKey & | key | ||
) |
|
inline |
References osmscout::Distance::AsString().
|
inline |
References osmscout::MagnificationLevel::Get().
|
inline |
References osmscout::DBFileOffset::database, and osmscout::DBFileOffset::offset.
|
inline |
References osmscout::DBId::database, and osmscout::DBId::id.
std::ostream & osmscout::operator<< | ( | std::ostream & | stream, |
const StopClock & | stopClock | ||
) |
References osmscout::StopClock::GetMilliseconds().
std::ostream & osmscout::operator<< | ( | std::ostream & | stream, |
const StopClockNano & | stopClock | ||
) |
References osmscout::StopClockNano::GetNanoseconds().
bool osmscout::operator== | ( | const TileCacheKey & | a, |
const TileCacheKey & | b | ||
) |
void osmscout::OptimizeArea | ( | TransBuffer & | buffer, |
TransPolygon::OptimizeMethod | optimize, | ||
double | optimizeErrorTolerance, | ||
TransPolygon::OutputConstraint | constraint | ||
) |
Optimize a already transformed area.
References osmscout::TransBuffer::CalcSize(), DropEqualPoints(), DropRedundantPointsDouglasPeuckerArea(), DropRedundantPointsFast(), DropSimilarPoints(), EnsureSimple(), osmscout::TransPolygon::fast, and osmscout::TransPolygon::simple.
Referenced by TransformArea().
void osmscout::OptimizeWay | ( | TransBuffer & | buffer, |
TransPolygon::OptimizeMethod | optimize, | ||
double | optimizeErrorTolerance, | ||
TransPolygon::OutputConstraint | constraint | ||
) |
Optimize a already transformed way.
References osmscout::TransBuffer::CalcSize(), DropEqualPoints(), DropRedundantPointsDouglasPeuckerWay(), DropRedundantPointsFast(), DropSimilarPoints(), EnsureSimple(), osmscout::TransPolygon::fast, and osmscout::TransPolygon::simple.
Referenced by TransformWay().
References base, laneBackwardLeft, laneBackwardRight, laneBackwardThrough, laneBackwardThroughLeft, laneBackwardThroughRight, Left, MergeToLeft, MergeToRight, Right, SharpLeft, SharpRight, SlightLeft, SlightRight, Through, Through_Left, Through_Right, Through_SharpLeft, Through_SharpRight, Through_SlightLeft, and Through_SlightRight.
Referenced by osmscout::MapPainter::ParseLaneTurns().
bool osmscout::ParseBoolArgument | ( | int | argc, |
char * | argv[], | ||
int & | currentIndex, | ||
bool & | value | ||
) |
References StringToBool().
References base, laneForwardLeft, laneForwardRight, laneForwardThrough, laneForwardThroughLeft, laneForwardThroughRight, Left, MergeToLeft, MergeToRight, Right, SharpLeft, SharpRight, SlightLeft, SlightRight, Through, Through_Left, Through_Right, Through_SharpLeft, Through_SharpRight, Through_SlightLeft, and Through_SlightRight.
Referenced by osmscout::MapPainter::ParseLaneTurns().
bool osmscout::ParseISO8601TimeString | ( | const std::string & | timeStr, |
Timestamp & | timestamp | ||
) |
Parse time string in ISO 8601 format "2017-11-26T13:46:12.124Z" (UTC timezone) to Timestamp (std::chrono::time_point with millisecond accuracy).
Note that format is not locale specific
timeStr | |
timestamp |
References m, and MkTimeUTC().
bool osmscout::ParseSizeTArgument | ( | int | argc, |
char * | argv[], | ||
int & | currentIndex, | ||
size_t & | value | ||
) |
References StringToNumber().
bool osmscout::ParseStringArgument | ( | int | argc, |
char * | argv[], | ||
int & | currentIndex, | ||
std::string & | value | ||
) |
bool osmscout::ParseUInt32Argument | ( | int | argc, |
char * | argv[], | ||
int & | currentIndex, | ||
uint32_t & | value | ||
) |
References StringToNumber().
|
static |
Project a point X,Y onto a parameterized path.
The final point is where you get if you walk on the path forward from the beginning for X units, then stop there and walk another Y units perpendicular to the path at that point. In more detail:
There's two pieces of math involved:
The parametric forms are used to answer the question of "where will I be if I walk a distance of X on this path". The Gradient is used to answer the question of "where will I be if then I stop, rotate left for 90 degrees and walk straight for a distance of Y".
Referenced by TransformPathOntoPath().
QList< QDir > osmscout::PathVectorToQDirList | ( | const std::vector< std::filesystem::path > & | paths | ) |
References osmscout::GeoCoord::GetLat(), osmscout::GeoCoord::GetLon(), and getSegDistSq().
GeoCoord osmscout::PolygonCenter | ( | const Polygon & | polygon, |
const GeoBox & | envelope, | ||
double | precision | ||
) |
References osmscout::Log::Debug(), osmscout::GeoBox::GetCenter(), getCentroidCell(), osmscout::GeoBox::GetHeight(), osmscout::GeoBox::GetMaxLat(), osmscout::GeoBox::GetMaxLon(), osmscout::GeoBox::GetMinCoord(), osmscout::GeoBox::GetMinLat(), osmscout::GeoBox::GetMinLon(), osmscout::GeoBox::GetWidth(), and log.
References GetBoundingBox(), and PolygonCenter().
size_t osmscout::Pow | ( | size_t | a, |
size_t | b | ||
) |
uint osmscout::qHash | ( | const TileCacheKey & | key | ) |
std::vector< std::string > osmscout::QStringListToStringVector | ( | const QStringList & | list | ) |
Referenced by osmscout::MapDownloader::onJobFinished().
bool osmscout::ReadFile | ( | const std::string & | filename, |
std::vector< char > & | content | ||
) |
References osmscout::Log::Error(), ExistsInFilesystem(), osmscout::IOException::GetDescription(), GetFileSize(), and log.
Referenced by osmscout::MapPainterSVG::HasIcon().
|
static |
Referenced by osmscout::MapPainter::DrawContourLines(), and osmscout::MapPainter::DrawHillShading().
|
static |
Referenced by osmscout::MapPainter::DrawContourLines(), and osmscout::MapPainter::DrawHillShading().
|
static |
References EatWhitespace(), and ScanNumber().
Referenced by osmscout::GeoCoord::Parse().
|
static |
Referenced by ScanCoordinate().
|
static |
References AddAddressResult(), BuildStringListFromSubToken(), osmscout::LocationSearchResult::candidate, CleanupSearchPatterns(), osmscout::Log::Debug(), GenerateSearchPatterns(), log, osmscout::LocationSearchResult::match, osmscout::StopClock::ResultString(), and osmscout::StopClock::Stop().
Referenced by SearchForLocationForPostalArea(), and SearchForLocationForRegion().
|
static |
|
static |
References AddLocationResult(), BuildStringListFromSubToken(), osmscout::LocationSearchResult::candidate, CleanupSearchPatterns(), osmscout::Log::Debug(), GenerateSearchPatterns(), log, osmscout::LocationSearchResult::match, osmscout::LocationSearchResult::none, osmscout::LocationSearchResult::results, osmscout::StopClock::ResultString(), SearchForAddressForLocation(), osmscout::StopClock::Stop(), and UTF8StringToUpper().
Referenced by osmscout::LocationService::SearchForLocationByString().
|
static |
References AddPOIResult(), BuildStringListFromSubToken(), osmscout::LocationSearchResult::candidate, CleanupSearchPatterns(), osmscout::Log::Debug(), GenerateSearchPatterns(), log, osmscout::LocationSearchResult::match, and UTF8StringToUpper().
Referenced by osmscout::LocationService::SearchForLocationByString(), and osmscout::LocationService::SearchForPOIByForm().
|
static |
|
static |
bool osmscout::SetThreadName | ( | [[maybe_unused] ] const std::string & | name | ) |
bool osmscout::SetThreadName | ( | const std::string & | name | ) |
Try to set current thread name.
name |
Referenced by osmscout::AsyncWorker::AsyncWorker().
bool osmscout::SetThreadName | ( | std::thread & | thread, |
const std::string & | name | ||
) |
Try to set thread name.
thread | |
name |
|
static |
Referenced by osmscout::RouteDescriptionBuilder::Callback::OnTurn().
|
static |
References osmscout::TransPoint::draw.
Referenced by DropRedundantPointsDouglasPeuckerArea(), and DropRedundantPointsDouglasPeuckerWay().
|
inline |
References sin_pd().
|
inline |
References sin_pd().
|
inline |
References sin_pd().
|
inline |
References ARRAY2V2DF, and POLY_EVAL6.
Referenced by sin_cos_pd(), and sin_pd().
|
inline |
Referenced by GetEllipsoidalDistance(), GetSphericalBearingFinal(), and GetSphericalBearingInitial().
void osmscout::SortInConditionals | ( | const TypeConfig & | typeConfig, |
const std::list< ConditionalStyle< S, A > > & | conditionals, | ||
size_t | maxLevel, | ||
std::vector< std::vector< std::list< StyleSelector< S, A > > > > & | selectors | ||
) |
References osmscout::TypeConfig::GetTypeCount(), and osmscout::TypeConfig::GetTypes().
Referenced by SortInConditionalsBySlot().
void osmscout::SortInConditionalsBySlot | ( | const TypeConfig & | typeConfig, |
const std::list< ConditionalStyle< S, A > > & | conditionals, | ||
size_t | maxLevel, | ||
std::vector< std::vector< std::vector< std::list< StyleSelector< S, A > > > > > & | selectors | ||
) |
References SortInConditionals().
|
static |
std::optional< std::pair< std::string, std::string > > osmscout::SplitStringToPair | ( | const std::string & | str, |
const std::string & | separator | ||
) |
Split string by separator to two parts.
Unlike SplitString with maxSize=2, second element contains the rest of the string after first separator. When no separator found, nullopt is returned.
Referenced by osmscout::OpeningHours::Parse().
bool osmscout::StringToNumberSigned | ( | const std::string & | string, |
N & | number, | ||
size_t | base = 10 |
||
) |
References base, GetDigitValue(), and NumberDigits().
bool osmscout::StringToNumberUnsigned | ( | const std::string & | string, |
N & | number, | ||
size_t | base = 10 |
||
) |
References base, and GetDigitValue().
Referenced by osmscout::TextSearchIndex::Load().
QStringList osmscout::StringVectorToQStringList | ( | const std::vector< std::string > & | v | ) |
Signal< std::thread::id > & osmscout::ThreadExitSignal | ( | ) |
Signal that is emitted on thread exit.
It is not guaranteed that signal will be emitted for all threads, some threads may be still running on program exit. For example detached thread, global scheduler threads, when std::exit is called...
std::string osmscout::TimestampToISO8601TimeString | ( | const Timestamp & | timestamp | ) |
Format Timestamp to string in ISO8601 format "2017-11-26T13:46:12.124Z" for UTC timezone.
timestamp |
Referenced by osmscout::PositionAgent::Process().
QDateTime osmscout::TimestampToQDateTime | ( | const osmscout::Timestamp & | ts | ) |
Referenced by osmscout::InstalledMapsModel::data(), and osmscout::InstalledMapsModel::timeOfMap().
void osmscout::TransformArea | ( | const C & | nodes, |
TransBuffer & | buffer, | ||
const Projection & | projection, | ||
TransPolygon::OptimizeMethod | optimize, | ||
double | optimizeErrorTolerance, | ||
TransPolygon::OutputConstraint | constraint = TransPolygon::noConstraint |
||
) |
Transform form geo to screen coordinates and (optionally) optimize the passed area with the given coordinates.
C | container type for the geo coordinates of the area |
nodes | Area coordinates |
buffer | TransBuffer instance for memory caching |
projection | Projection to use |
optimize | Mode of optimization |
optimizeErrorTolerance | |
constraint |
References osmscout::TransPolygon::none, OptimizeArea(), osmscout::TransBuffer::Reset(), and osmscout::TransBuffer::TransformGeoToPixel().
Referenced by TransformArea(), and TransformBoundingBox().
CoordBufferRange osmscout::TransformArea | ( | const C & | nodes, |
TransBuffer & | transBuffer, | ||
CoordBuffer & | coordBuffer, | ||
const Projection & | projection, | ||
TransPolygon::OptimizeMethod | optimize, | ||
double | optimizeErrorTolerance | ||
) |
Transform the geo coordinates to display coordinates of the given area and copy the resulting coordinates the the given CoordBuffer.
C | Container type for the geo coordinates of the area |
nodes | area coordinates |
transBuffer | TransBuffer instance for memory caching |
coordBuffer | Target CoordBuffer |
projection | Projection to use |
optimize | |
optimizeErrorTolerance |
References CopyPolygonToCoordBuffer(), osmscout::TransBuffer::IsEmpty(), and TransformArea().
void osmscout::TransformBoundingBox | ( | const GeoBox & | boundingBox, |
TransBuffer & | buffer, | ||
const Projection & | projection, | ||
TransPolygon::OptimizeMethod | optimize, | ||
double | optimizeErrorTolerance, | ||
TransPolygon::OutputConstraint | constraint = TransPolygon::noConstraint |
||
) |
Transform form geo to screen coordinates and (optionally) optimize the passed way with the given coordinates.
C | Container type for the geo coordinates of the area |
boundingBox | bounding box |
buffer | TransBuffer instance for memory caching |
projection | Projection to use |
optimize | Mode of optimization |
optimizeErrorTolerance | |
constraint |
References osmscout::GeoBox::GetMaxLat(), osmscout::GeoBox::GetMaxLon(), osmscout::GeoBox::GetMinLat(), osmscout::GeoBox::GetMinLon(), and TransformArea().
Referenced by osmscout::MapPainter::DrawContourLines(), osmscout::MapPainter::DrawHillShading(), and TransformBoundingBox().
CoordBufferRange osmscout::TransformBoundingBox | ( | const GeoBox & | boundingBox, |
TransBuffer & | buffer, | ||
CoordBuffer & | coordBuffer, | ||
const Projection & | projection, | ||
TransPolygon::OptimizeMethod | optimize, | ||
double | optimizeErrorTolerance | ||
) |
Transform the geo coordinates to display coordinates of the given bounding box and copy the resulting coordinates the the given CoordBuffer.
C | Container type for the geo coordinates of the area |
boundingBox | bounding box |
transBuffer | TransBuffer instance for memory caching |
coordBuffer | Target CoordBuffer |
projection | Projection to use |
optimize | |
optimizeErrorTolerance |
References CopyPolygonToCoordBuffer(), osmscout::TransBuffer::IsEmpty(), and TransformBoundingBox().
|
static |
Project a path using a function.
Each point of the path (including Bezier control points) is passed to the function for transformation.
References PathPointTransformer().
Referenced by MapPathOnPath().
void osmscout::TransformWay | ( | const C & | nodes, |
TransBuffer & | buffer, | ||
const Projection & | projection, | ||
TransPolygon::OptimizeMethod | optimize, | ||
double | optimizeErrorTolerance, | ||
TransPolygon::OutputConstraint | constraint = TransPolygon::noConstraint |
||
) |
Transform form geo to screen coordinates and (optionally) optimize the passed way with the given coordinates.
C | container type for the geo coordinates of the area |
nodes | Area coordinates |
buffer | TransBuffer instance for memory caching |
projection | Projection to use |
optimize | Mode of optimization |
optimizeErrorTolerance | |
constraint |
References osmscout::TransPolygon::none, OptimizeWay(), osmscout::TransBuffer::Reset(), and osmscout::TransBuffer::TransformGeoToPixel().
Referenced by osmscout::MapPainter::DrawContourLines(), and TransformWay().
CoordBufferRange osmscout::TransformWay | ( | const C & | nodes, |
TransBuffer & | transBuffer, | ||
CoordBuffer & | coordBuffer, | ||
const Projection & | projection, | ||
TransPolygon::OptimizeMethod | optimize, | ||
double | optimizeErrorTolerance | ||
) |
Transform the geo coordinates to display coordinates of the given way and copy the resulting coordinates the the given CoordBuffer.
C | Container type for the geo coordinates of the area |
nodes | way coordinates |
transBuffer | TransBuffer instance for memory caching |
coordBuffer | Target CoordBuffer |
projection | Projection to use |
optimize | |
optimizeErrorTolerance |
References CopyPolygonToCoordBuffer(), osmscout::TransBuffer::IsEmpty(), and TransformWay().
std::string osmscout::Trim | ( | const std::string & | str, |
char | trimmedChar = ' ' |
||
) |
Trim trimmedChar from begin and end of str.
Referenced by osmscout::OpeningHours::Parse(), and osmscout::EleFeature::Parse().
|
static |
Referenced by osmscout::RouteDescriptionBuilder::Callback::OnTurn().
|
static |
Referenced by osmscout::RouteDescriptionBuilder::Callback::OnTurn().
std::string osmscout::UTF8NormForLookup | ( | const std::string & | text | ) |
Normalise the given std::string containing a UTF8 character sequence for tolerant comparison.
It may be used for string lookup typed by human, for example street name, where string are not binary equals, but are "same" for human - for example "Baker Street" and "Baker street"
Normalized string is converted to lowercase, all whitespaces are converted to standard space and multiple following spaces are collapsed to one.
text | Text to get converted |
References utf8helper::UTF8Normalize().
Referenced by osmscout::SearchRunnable::GetObjectDetails(), and osmscout::TextSearchIndex::Search().
std::string osmscout::UTF8StringToLower | ( | const std::string & | text | ) |
Convert the given std::string containing a UTF8 character sequence to lower case using the translation table implementation.
text | Text to get converted |
References utf8helper::UTF8ToLower().
Referenced by osmscout::ColorFeature::Parse().
std::string osmscout::UTF8StringToUpper | ( | const std::string & | text | ) |
Convert the given std::string containing a UTF8 character sequence to upper case using translation table implementation.
text | Text to get converted |
References utf8helper::UTF8ToUpper().
Referenced by GenerateSearchPatterns(), osmscout::StringMatcherCI::Match(), osmscout::StringMatcherTransliterate::Match(), osmscout::LocationService::SearchForLocationByForm(), osmscout::LocationService::SearchForLocationByString(), SearchForLocationForPostalArea(), SearchForLocationForRegion(), osmscout::LocationService::SearchForPOIByForm(), and SearchForPOIForRegion().
std::string osmscout::UTF8Transliterate | ( | const std::string & | text | ) |
Transliterate non-ascii characters to one or more characters that are similar to the original character.
When there is no transformation available, original character is keep in place (translation table implementation).
text | Text to get converted |
References utf8helper::UTF8Transliterate().
Referenced by osmscout::SearchRunnable::GetObjectDetails(), osmscout::StringMatcherTransliterate::Match(), and osmscout::TextSearchIndex::Search().
QList<T> osmscout::vectorToQList | ( | const std::vector< T > & | vec | ) |
std::string osmscout::vehicleStr | ( | osmscout::Vehicle | vehicle | ) |
References vehicleBicycle, vehicleCar, and vehicleFoot.
Referenced by osmscout::Router::onRouteRequest(), and osmscout::RoutingListModel::setStartAndTarget().
const ALIGN16_BEG double _pd_log_inv_1_32 [2] osmscout::ALIGN16_END |
|
constexpr |
Referenced by Base64Decode(), and Base64Encode().
|
static |
Referenced by osmscout::BorderStyle::GetDescriptor().
const size_t osmscout::CELL_DIMENSION_COUNT = CELL_DIMENSION_MAX+1 |
const size_t osmscout::CELL_DIMENSION_MAX = 25 |
const std::array< CellDimension, CELL_DIMENSION_COUNT > osmscout::cellDimension |
Referenced by CalculateCellLevel(), osmscout::AreaAreaIndex::GetAreasInArea(), osmscout::TileId::GetBoundingBox(), osmscout::TileKey::GetBoundingBox(), osmscout::TileId::GetTile(), and osmscout::TileId::GetTopLeftCoord().
|
constexpr |
|
constexpr |
Referenced by osmscout::LabelLayouter< NativeGlyph, NativeLabel, TextLayouter >::LayoutJob::ProcessLabelContourLabel(), osmscout::LabelLayouter< NativeGlyph, NativeLabel, TextLayouter >::LayoutJob::ProcessLabelInstance(), and osmscout::LabelLayouter< QGlyphRun, QTextLayout, MapPainterQt >::RegisterContourLabel().
|
constexpr |
Referenced by osmscout::AbstractRoutingService< MultiDBRoutingState >::CalculateRoute(), osmscout::FastestPathRoutingProfile::GetCosts(), osmscout::AbstractRoutingService< MultiDBRoutingState >::ResolveRNodeChainToList(), osmscout::AbstractRoutingService< MultiDBRoutingState >::RestrictInitialUTurn(), osmscout::AbstractRoutingService< MultiDBRoutingState >::WalkPaths(), and osmscout::AbstractRoutingService< MultiDBRoutingState >::WalkToOtherDatabases().
|
static |
We rotate in 16 steps.
Referenced by osmscout::MapWidget::rotateLeft(), and osmscout::MapWidget::rotateRight().
|
static |
|
static |
Referenced by osmscout::FillStyle::GetDescriptor().
|
static |
Height of the font in pixel in relation to the given fontSize.
Referenced by osmscout::MapPainterNoOp::GetFontHeight().
|
static |
|
static |
Referenced by osmscout::IconStyle::GetDescriptor().
cairo_user_data_key_t osmscout::imageDataKey |
Referenced by LoadPNG().
|
static |
Referenced by osmscout::PlaneMapRenderer::HandleInitialRenderingRequest().
|
static |
Referenced by osmscout::LineStyle::GetDescriptor().
|
constexpr |
|
static |
|
static |
Referenced by osmscout::PathShieldStyle::GetDescriptor().
|
static |
Referenced by osmscout::PathSymbolStyle::GetDescriptor().
|
static |
Referenced by osmscout::PathTextStyle::GetDescriptor().
|
static |
Referenced by osmscout::TextStyle::GetDescriptor().
|
static |
Referenced by osmscout::MercatorProjection::Set().
|
static |
Referenced by osmscout::PlaneMapRenderer::HandleTileStatusChanged().
|
static |
|
constexpr |
The X flag is set as follows based on the locking steps Step 0 : X is released Step 1 : X is held, but waits for release of S Step 2 : X was released and left available for one of request in wait Step 3 : X is held Step N : X recursive N-3.
Referenced by osmscout::Latch::lock(), osmscout::Latch::lock_shared(), osmscout::Latch::try_lock_shared(), and osmscout::Latch::unlock().
|
constexpr |
Referenced by osmscout::Latch::lock(), osmscout::Latch::lock_shared(), and osmscout::Latch::unlock_shared().
|
constexpr |
Referenced by osmscout::Latch::lock(), osmscout::Latch::lock_shared(), and osmscout::Latch::unlock().
|
constexpr |
Referenced by osmscout::Latch::lock(), and osmscout::Latch::unlock_shared().