CartoType C++ API 8.6-17-gb54a9a81b
for Windows, Linux, Qt and other platforms supporting C++ development
|
Namespaces | |
namespace | CharCategoryFlag |
namespace | TransformType |
Typedefs | |
using | PointFP = Point2< double > |
using | Point3FP = Point3< double > |
using | MapObjectArray = std::vector< std::unique_ptr< MapObject > > |
using | FindHandler = std::function< bool(std::unique_ptr< MapObject >)> |
using | ProgressCallBack = std::function< void(double aProgressFraction, double aTimeRemaining)> |
using | FindAsyncCallBack = std::function< void(std::unique_ptr< MapObjectArray > aMapObjectArray)> |
using | FindAsyncGroupCallBack = std::function< void(std::unique_ptr< MapObjectGroupArray > aMapObjectGroupArray)> |
using | RouterAsyncCallBack = std::function< void(Result aError, std::unique_ptr< Route > aRoute)> |
using | TrackGeometry = GeneralGeometry< TrackPoint > |
using | MapObjectGroupArray = std::vector< MapObjectGroup > |
using | StringDictionary = std::map< String, String > |
using | StringTypeDictionary = std::map< String, int > |
using | StyleSheetDataArray = std::vector< StyleSheetData > |
Enumerations | |
enum class | IntersectionPlace { None = 0 , Before , On , After } |
enum class | CoordType { Degree , Display , Screen = Display , Map , MapMeter } |
enum class | PointType { OnCurve , Quadratic , Cubic } |
enum class | FileType { PNG , JPEG , TIFF , CTM1 , CTMS , KML , CTSQL , CTROUTE , GPX , None = -1 } |
enum class | WritableMapType { Memory , SQLite , Count , None = -1 } |
enum class | MapObjectType { Point , Line , Polygon , Array , Count , None = -1 } |
enum class | NoticePosition { TopLeft , TopRight , BottomLeft , BottomRight , Top , Right , Left , Bottom , Center } |
enum class | MapObjectPurpose { General , Tile , Labels } |
enum class | BidiOverride { Neutral , LeftToRight , RightToLeft } |
enum class | BidiParDir { LeftToRightPreferred , RightToLeftPreferred , LeftToRightForced , RightToLeftForced } |
enum class | BitmapType { KBitsPerPixelMask = 63 , KColored = 64 , KPalette = 128 , A1 = 1 , A8 = 8 , A16 = 16 , RGB16 = KColored | 16 , RGB24 = KColored | 24 , RGBA32 = KColored | 32 , P8 = KPalette | 8 } |
enum class | LetterCase { None , Lower , Upper , Title } |
enum class | CharCategory { Lu = CharCategoryFlag::Lu , Ll = CharCategoryFlag::Ll , Lt = CharCategoryFlag::Lt , Lm = CharCategoryFlag::Lm , Lo = CharCategoryFlag::Lo , Mn = CharCategoryFlag::Mn , Mc = CharCategoryFlag::Mc , Me = CharCategoryFlag::Me , Nd = CharCategoryFlag::Nd , Nl = CharCategoryFlag::Nl , No = CharCategoryFlag::No , Pc = CharCategoryFlag::Pc , Pd = CharCategoryFlag::Pd , Ps = CharCategoryFlag::Ps , Pe = CharCategoryFlag::Pe , Pi = CharCategoryFlag::Pi , Pf = CharCategoryFlag::Pf , Po = CharCategoryFlag::Po , Sm = CharCategoryFlag::Sm , Sc = CharCategoryFlag::Sc , Sk = CharCategoryFlag::Sk , So = CharCategoryFlag::So , Zs = CharCategoryFlag::Zs , Zl = CharCategoryFlag::Zl , Zp = CharCategoryFlag::Zp , Cc = CharCategoryFlag::Cc , Cf = CharCategoryFlag::Cf , Cs = CharCategoryFlag::Cs , Co = CharCategoryFlag::Co , Cn = CharCategoryFlag::Cn } |
enum class | BidiType { L = BidiTypeFlag::L , LRE = BidiTypeFlag::LRE , LRO = BidiTypeFlag::LRO , R = BidiTypeFlag::R , AL = BidiTypeFlag::AL , RLE = BidiTypeFlag::RLE , RLO = BidiTypeFlag::RLO , PDF = BidiTypeFlag::PDF , EN = BidiTypeFlag::EN , ES = BidiTypeFlag::ES , ET = BidiTypeFlag::ET , AN = BidiTypeFlag::AN , CS = BidiTypeFlag::CS , NSM = BidiTypeFlag::NSM , BN = BidiTypeFlag::BN , B = BidiTypeFlag::B , S = BidiTypeFlag::S , WS = BidiTypeFlag::WS , ON = BidiTypeFlag::ON } |
enum class | DrawResult { Success , OverlapText , OverlapEdge , MaxTurnExceeded , PathLengthExceeded , GlyphNotFound , TransformFailed } |
enum class | GeoCodeType { None , Position , Address , Building , Farm , Footpath , Cycleway , SkiRoute , WalkingRoute , FerryRoute , Railway , PedestrianRoad , Track , ServiceRoad , ResidentialRoad , UnclassifiedRoad , TertiaryRoad , SecondaryRoad , PrimaryRoad , TrunkRoad , Motorway , HikingRoute , CyclingRoute , LandFeature , WaterFeature , Locality , Hamlet , PostCode , AdminArea10 , AdminArea9 , Neighborhood , Village , Suburb , Island , AdminArea8 , Town , AdminArea7 , City , AdminArea6 , AdminArea5 , AdminArea4 , AdminArea3 , AdminArea2 , Country , AdminArea1 , Continent } |
enum class | FeatureType : uint16_t { Motorway = 0 , MotorwayLink = 1 , TrunkRoad = 2 , TrunkLink = 3 , PrimaryRoad = 4 , PrimaryLink = 5 , SecondaryRoad = 6 , SecondaryLink = 7 , TertiaryRoad = 8 , UnclassifiedRoad = 9 , ResidentialRoad = 10 , Track = 11 , ServiceRoad = 12 , PedestrianRoad = 13 , VehicularFerry = 14 , PassengerFerry = 15 , LivingStreet = 16 , Cycleway = 17 , Path = 18 , Footway = 19 , Bridleway = 20 , Steps = 21 , OtherRoad = 22 , UnpavedRoad = 23 , Railway = 24 , LightRail = 25 , Subway = 26 , AerialWay = 27 , SkiDownhill = 28 , SkiNordic = 29 , Waterway = 30 , UnknownRoute = 31 , UnknownNonRoute = 32 , AdminArea1 = FeatureTypeCode('a','a','a') , AdminArea2 = FeatureTypeCode('a','a','b') , AdminArea3 = FeatureTypeCode('a','a','c') , AdminArea4 = FeatureTypeCode('a','a','d') , AdminArea5 = FeatureTypeCode('a','a','e') , AdminArea6 = FeatureTypeCode('a','a','f') , AdminArea7 = FeatureTypeCode('a','a','g') , AdminArea8 = FeatureTypeCode('a','a','h') , AdminArea9 = FeatureTypeCode('a','a','i') , AdminArea10 = FeatureTypeCode('a','a','j') , Address = FeatureTypeCode('a','d','d') , Aerodrome = FeatureTypeCode('a','e','r') , Airport = FeatureTypeCode('a','i','r') , AirportGate = FeatureTypeCode('a','g','t') , AirportHoldingPosition = FeatureTypeCode('a','h','p') , Allotments = FeatureTypeCode('a','l','l') , AlpineHut = FeatureTypeCode('a','l','p') , AmbulanceStation = FeatureTypeCode('a','m','b') , Apron = FeatureTypeCode('a','p','r') , AerialWayPylon = FeatureTypeCode('a','p','y') , Artwork = FeatureTypeCode('a','r','t') , AerialWayStation = FeatureTypeCode('a','s','t') , AirTerminal = FeatureTypeCode('a','t','e') , Atm = FeatureTypeCode('a','t','m') , Attraction = FeatureTypeCode('a','t','t') , Bar = FeatureTypeCode('b','a','r') , Basin = FeatureTypeCode('b','a','s') , Bay = FeatureTypeCode('b','a','y') , Beach = FeatureTypeCode('b','e','a') , Beacon = FeatureTypeCode('b','e','c') , BedAndBreakfast = FeatureTypeCode('b','e','d') , Bench = FeatureTypeCode('b','e','n') , Bank = FeatureTypeCode('b','n','k') , Boatyard = FeatureTypeCode('b','o','a') , Borough = FeatureTypeCode('b','o','r') , Boundary = FeatureTypeCode('b','o','u') , BicycleParking = FeatureTypeCode('b','p','k') , BicycleRental = FeatureTypeCode('b','r','e') , BareRock = FeatureTypeCode('b','r','c') , Barracks = FeatureTypeCode('b','r','k') , BrownField = FeatureTypeCode('b','r','o') , BusStop = FeatureTypeCode('b','s','p') , BusStation = FeatureTypeCode('b','s','t') , BufferStop = FeatureTypeCode('b','u','f') , Building = FeatureTypeCode('b','u','i') , Bunker = FeatureTypeCode('b','u','n') , Cabin = FeatureTypeCode('c','a','b') , Cafe = FeatureTypeCode('c','a','f') , CampSite = FeatureTypeCode('c','a','m') , Canal = FeatureTypeCode('c','a','n') , CaveEntrance = FeatureTypeCode('c','a','v') , CableCar = FeatureTypeCode('c','c','r') , CableDistributionCabinet = FeatureTypeCode('c','d','c') , Cemetery = FeatureTypeCode('c','e','m') , ChairLift = FeatureTypeCode('c','h','a') , CheckPoint = FeatureTypeCode('c','h','e') , Chalet = FeatureTypeCode('c','h','l') , CivilBoundary = FeatureTypeCode('c','i','b') , Cinema = FeatureTypeCode('c','i','n') , City = FeatureTypeCode('c','i','t') , Cliff = FeatureTypeCode('c','l','f') , Clinic = FeatureTypeCode('c','l','i') , Commercial = FeatureTypeCode('c','m','r') , Coastline = FeatureTypeCode('c','o','a') , College = FeatureTypeCode('c','o','l') , Common = FeatureTypeCode('c','o','m') , Construction = FeatureTypeCode('c','n','s') , Conservation = FeatureTypeCode('c','n','v') , Continent = FeatureTypeCode('c','o','n') , County = FeatureTypeCode('c','o','u') , CarPark = FeatureTypeCode('c','p','k') , CarRental = FeatureTypeCode('c','r','e') , Crossing = FeatureTypeCode('c','r','o') , Country = FeatureTypeCode('c','r','y') , CarSharing = FeatureTypeCode('c','s','h') , CutLine = FeatureTypeCode('c','u','t') , CarWash = FeatureTypeCode('c','w','a') , CaravanSite = FeatureTypeCode('c','v','n') , CyclingRoute = FeatureTypeCode('c','y','r') , Dam = FeatureTypeCode('d','a','m') , DangerArea = FeatureTypeCode('d','a','n') , Dentist = FeatureTypeCode('d','e','n') , Disused = FeatureTypeCode('d','i','s') , Ditch = FeatureTypeCode('d','i','t') , Dock = FeatureTypeCode('d','o','c') , DogPark = FeatureTypeCode('d','o','g') , Drain = FeatureTypeCode('d','r','a') , DragLift = FeatureTypeCode('d','r','g') , Doctors = FeatureTypeCode('d','r','s') , District = FeatureTypeCode('d','s','t') , ElectricVehicleCharging = FeatureTypeCode('e','v','c') , Farm = FeatureTypeCode('f','a','r') , FarmYard = FeatureTypeCode('f','a','y') , Fell = FeatureTypeCode('f','e','l') , FerryTerminal = FeatureTypeCode('f','e','t') , FastFood = FeatureTypeCode('f','f','d') , FireExtinguisher = FeatureTypeCode('f','i','e') , FireFlapper = FeatureTypeCode('f','i','f') , FireHose = FeatureTypeCode('f','i','h') , FireStation = FeatureTypeCode('f','i','s') , FitnessStation = FeatureTypeCode('f','i','t') , FireHydrant = FeatureTypeCode('f','i','y') , Forestry = FeatureTypeCode('f','o','r') , Fishing = FeatureTypeCode('f','s','h') , Fuel = FeatureTypeCode('f','u','e') , Funicular = FeatureTypeCode('f','u','n') , Garages = FeatureTypeCode('g','a','r') , Gate = FeatureTypeCode('g','a','t') , Garden = FeatureTypeCode('g','d','n') , Generator = FeatureTypeCode('g','e','n') , GreenHouse = FeatureTypeCode('g','h','o') , Glacier = FeatureTypeCode('g','l','a') , GolfCourse = FeatureTypeCode('g','o','l') , Gondola = FeatureTypeCode('g','o','n') , GoodsAerialWay = FeatureTypeCode('g','o','o') , Grass = FeatureTypeCode('g','r','a') , GreenField = FeatureTypeCode('g','r','e') , GritBin = FeatureTypeCode('g','r','b') , GraveYard = FeatureTypeCode('g','r','y') , GuestHouse = FeatureTypeCode('g','u','e') , Halt = FeatureTypeCode('h','a','l') , Hamlet = FeatureTypeCode('h','a','m') , Hangar = FeatureTypeCode('h','a','n') , Heath = FeatureTypeCode('h','e','a') , Helipad = FeatureTypeCode('h','e','l') , RailwayHalt = FeatureTypeCode('h','l','t') , HikingRoute = FeatureTypeCode('h','i','k') , HorseRiding = FeatureTypeCode('h','o','r') , Hospital = FeatureTypeCode('h','o','s') , Hotel = FeatureTypeCode('h','o','t') , HorseRidingRoute = FeatureTypeCode('h','r','r') , Hostel = FeatureTypeCode('h','s','t') , IceRink = FeatureTypeCode('i','c','e') , Industrial = FeatureTypeCode('i','n','d') , Information = FeatureTypeCode('i','n','f') , Island = FeatureTypeCode('i','s','l') , IsolatedDwelling = FeatureTypeCode('i','s','o') , Junction = FeatureTypeCode('j','c','t') , Kindergarten = FeatureTypeCode('k','i','n') , LandFill = FeatureTypeCode('l','a','n') , Land = FeatureTypeCode('l','n','d') , LevelCrossing = FeatureTypeCode('l','e','v') , Library = FeatureTypeCode('l','i','b') , Locality = FeatureTypeCode('l','o','c') , LockGate = FeatureTypeCode('l','o','k') , MaritimeBoundary = FeatureTypeCode('m','a','b') , Mall = FeatureTypeCode('m','a','l') , Marsh = FeatureTypeCode('m','a','r') , Meadow = FeatureTypeCode('m','e','a') , Military = FeatureTypeCode('m','i','l') , Marina = FeatureTypeCode('m','n','a') , Motel = FeatureTypeCode('m','o','t') , MinorPowerLine = FeatureTypeCode('m','p','l') , MiniatureGolf = FeatureTypeCode('m','r','g') , MiniatureRailway = FeatureTypeCode('m','r','y') , Mud = FeatureTypeCode('m','u','d') , Municipality = FeatureTypeCode('m','u','n') , Museum = FeatureTypeCode('m','u','s') , NatureReserve = FeatureTypeCode('n','a','t') , NationalPark = FeatureTypeCode('n','a','p') , NavalBase = FeatureTypeCode('n','a','v') , Neighborhood = FeatureTypeCode('n','e','i') , NursingHome = FeatureTypeCode('n','u','r') , Orchard = FeatureTypeCode('o','r','c') , PrecisionApproachPathIndicator = FeatureTypeCode('p','a','p') , Park = FeatureTypeCode('p','a','r') , PublicBuilding = FeatureTypeCode('p','b','u') , PostBox = FeatureTypeCode('p','b','x') , PostCode = FeatureTypeCode('p','c','o') , PicnicTable = FeatureTypeCode('p','c','t') , Peak = FeatureTypeCode('p','e','a') , Pharmacy = FeatureTypeCode('p','h','a') , Phone = FeatureTypeCode('p','h','o') , PicnicSite = FeatureTypeCode('p','i','c') , Pier = FeatureTypeCode('p','i','e') , Pipeline = FeatureTypeCode('p','i','p') , ParkingEntrance = FeatureTypeCode('p','k','e') , Parking = FeatureTypeCode('p','k','g') , ParkingSpace = FeatureTypeCode('p','k','s') , PlantNursery = FeatureTypeCode('p','l','a') , Platform = FeatureTypeCode('p','l','f') , PlaceOfWorship = FeatureTypeCode('p','l','w') , Playground = FeatureTypeCode('p','l','y') , PostOffice = FeatureTypeCode('p','o','f') , Police = FeatureTypeCode('p','o','l') , Position = FeatureTypeCode('p','o','s') , ProtectedArea = FeatureTypeCode('p','r','a') , PowerSubStation = FeatureTypeCode('p','s','s') , Pub = FeatureTypeCode('p','u','b') , PowerLine = FeatureTypeCode('p','w','l') , PowerStation = FeatureTypeCode('p','w','s') , Quarry = FeatureTypeCode('q','a','r') , Quarter = FeatureTypeCode('q','r','t') , Range = FeatureTypeCode('r','a','n') , Rapids = FeatureTypeCode('r','a','p') , Recycling = FeatureTypeCode('r','c','y') , RecreationGround = FeatureTypeCode('r','e','c') , Reef = FeatureTypeCode('r','e','e') , Region = FeatureTypeCode('r','e','g') , Retail = FeatureTypeCode('r','e','t') , Ridge = FeatureTypeCode('r','i','j') , River = FeatureTypeCode('r','i','v') , Rock = FeatureTypeCode('r','o','c') , RoundHouse = FeatureTypeCode('r','o','u') , ResidentialArea = FeatureTypeCode('r','s','d') , Restaurant = FeatureTypeCode('r','s','t') , Reservoir = FeatureTypeCode('r','s','v') , Runway = FeatureTypeCode('r','u','n') , Route = FeatureTypeCode('r','u','t') , RiverBank = FeatureTypeCode('r','v','b') , SaltPond = FeatureTypeCode('s','a','l') , Sand = FeatureTypeCode('s','a','n') , Sauna = FeatureTypeCode('s','a','u') , School = FeatureTypeCode('s','c','h') , Scree = FeatureTypeCode('s','c','r') , Scrub = FeatureTypeCode('s','c','b') , Sea = FeatureTypeCode('s','e','a') , StateEmergencyServiceStation = FeatureTypeCode('s','e','s') , Shop = FeatureTypeCode('s','h','o') , SkiRoute = FeatureTypeCode('s','k','r') , Slipway = FeatureTypeCode('s','l','i') , SportsCenter = FeatureTypeCode('s','p','o') , SportsPitch = FeatureTypeCode('s','p','p') , Spring = FeatureTypeCode('s','p','r') , SportsTrack = FeatureTypeCode('s','p','t') , State = FeatureTypeCode('s','t','a') , Stadium = FeatureTypeCode('s','t','m') , RailwayStation = FeatureTypeCode('s','t','n') , Station = FeatureTypeCode('s','t','n') , Stone = FeatureTypeCode('s','t','o') , StopPosition = FeatureTypeCode('s','t','p') , Stream = FeatureTypeCode('s','t','r') , Strait = FeatureTypeCode('s','t','t') , Suburb = FeatureTypeCode('s','u','b') , Supermarket = FeatureTypeCode('s','u','p') , SurveyPoint = FeatureTypeCode('s','u','r') , SubwayEntrance = FeatureTypeCode('s','w','e') , SwimmingPool = FeatureTypeCode('s','w','i') , Tank = FeatureTypeCode('t','a','n') , Taxi = FeatureTypeCode('t','a','x') , Theatre = FeatureTypeCode('t','h','e') , ThemePark = FeatureTypeCode('t','h','p') , Toilet = FeatureTypeCode('t','o','i') , Town = FeatureTypeCode('t','o','w') , TurningCircle = FeatureTypeCode('t','c','i') , TurningPoint = FeatureTypeCode('t','p','t') , Tram = FeatureTypeCode('t','r','a') , Tree = FeatureTypeCode('t','r','e') , TrafficSignals = FeatureTypeCode('t','r','f') , TrackPoint = FeatureTypeCode('t','r','p') , TreeRow = FeatureTypeCode('t','r','r') , TramStop = FeatureTypeCode('t','r','s') , TurnTable = FeatureTypeCode('t','u','r') , Tower = FeatureTypeCode('t','w','r') , Taxiway = FeatureTypeCode('t','w','y') , University = FeatureTypeCode('u','n','i') , VisualApproachSlopeIndicator = FeatureTypeCode('v','a','s') , VillageGreen = FeatureTypeCode('v','i','g') , Village = FeatureTypeCode('v','i','l') , Vineyard = FeatureTypeCode('v','i','n') , ViewPoint = FeatureTypeCode('v','i','w') , Volcano = FeatureTypeCode('v','o','l') , Waterfall = FeatureTypeCode('w','a','f') , WaterPark = FeatureTypeCode('w','a','p') , Water = FeatureTypeCode('w','a','t') , Weir = FeatureTypeCode('w','e','r') , Wetland = FeatureTypeCode('w','e','t') , Windsock = FeatureTypeCode('w','i','s') , WalkingRoute = FeatureTypeCode('w','l','k') , Wood = FeatureTypeCode('w','o','o') , Works = FeatureTypeCode('w','o','r') , Waypoint = FeatureTypeCode('w','p','t') , WaterTower = FeatureTypeCode('w','t','t') , WaterWell = FeatureTypeCode('w','t','w') , Zoo = FeatureTypeCode('z','o','o') , LegacyBridleway = FeatureTypeCode('b','r','i') , LegacyCycleway = FeatureTypeCode('c','y','c') , LegacyFootway = FeatureTypeCode('f','o','o') , LegacyLightRail = FeatureTypeCode('l','i','r') , LegacyMonorail = FeatureTypeCode('m','o','n') , LegacyNarrowGauge = FeatureTypeCode('n','a','r') , LegacyPreservedRailway = FeatureTypeCode('p','r','y') , LegacyRailway = FeatureTypeCode('r','l','y') , LegacySteps = FeatureTypeCode('s','t','e') , LegacySubway = FeatureTypeCode('s','w','y') , LegacyTram = FeatureTypeCode('t','r','a') , Invalid = INT16_MAX } |
enum class | FeatureDiscriminator { NonRoute = 0 , BridgeRoute = 1 , TunnelRoute = 2 , Route = 3 } |
enum class | FollowMode { None = 0 , Location = KFollowFlagLocation , LocationHeading = KFollowFlagLocation | KFollowFlagHeading , LocationZoom = KFollowFlagLocation | KFollowFlagZoom , LocationHeadingZoom = KFollowFlagLocation | KFollowFlagHeading | KFollowFlagZoom } |
enum class | LineCap { Butt , Round , Square } |
enum class | LineJoin { Round , Bevel , Miter } |
enum class | TextBaseline { Alphabetic , Ideographic , Hanging , Mathematical , Central , Middle , TextBeforeEdge , TextAfterEdge , CentralCaps } |
enum class | Align { Center , Standard , Reverse , Left , Right } |
enum class | PointFormat { Unknown = 0 , Meter = 2 , ScaledDegree = 7 , Meter32nds = 8 } |
enum class | RouterType { Default , StandardAStar , TurnExpandedAStar , StandardContractionHierarchy , TECH } |
enum class | TurnType { None , Ahead , BearRight , Right , SharpRight , Around , SharpLeft , Left , BearLeft } |
enum class | RoundaboutState { None , Enter , Continue , Exit } |
enum class | SideOfRoad { None , Right , Left , Both } |
enum class | RouteProfileType { Drive , Car = Drive , Walk , Cycle , Bicycle = Cycle , Hike , Ski } |
enum class | NavigationState { None , NoPosition , Turn , OffRoute , ReRouteNeeded , ReRouteDone , TurnRound , Arrival } |
enum class | RoadOrientation { None , Forwards , Backwards , Both } |
enum class | LocationRefType { Line , GeoCoordinate , PointAlongLine , PointWithAccessPoint , Circle , Rectangle , Polygon , ClosedLine } |
enum class | ClipType { Inside , MayIntersectAndHasNoCurves , MayIntersectAndHasCurves } |
enum class | ClipOperation { Intersection , Union , Difference , Xor } |
enum class | PathIntersectionType { Unknown , Separate , Intersects , Contains , Contained } |
enum class | PolygonOrientation { None , Clockwise , Anticlockwise } |
enum class | EllipseAngleType { Shortest , Longest , Positive , Negative } |
enum class | AbbreviationType { Any , Start , End , Suffix } |
enum class | StringMatchMethodFlag { Exact = 0 , Prefix = 1 , IgnoreSymbols = 2 , FoldAccents = 4 , Fuzzy = 8 , FoldCase = 16 , IgnoreWhitespace = 32 } |
enum class | StringMatchType { None , Substring , Fuzzy , Phrase , Full } |
Functions | |
int32_t | Round (double aValue) |
double | Round (double aValue, int aFractionDigits) |
double | Strtod (const char *aString, size_t aLength=UINT32_MAX, const char **aEndPtr=nullptr) noexcept |
double | Strtod (const uint16_t *aString, size_t aLength=UINT32_MAX, const uint16_t **aEndPtr=nullptr) noexcept |
double | Atan2 (double aY, double aX) |
const char * | Description () |
const char * | Version () |
const char * | Build () |
double | GreatCircleDistanceInMeters (double aLong1, double aLat1, double aLong2, double aLat2) |
template<class T > | |
void | Reverse (T *aStart, size_t aLength) |
template<class point_t > | |
double | Area (const point_t *aPointArray, size_t aPointCount) |
template<class contour_t > | |
double | Area (const contour_t &aContour) |
double | SphericalPolygonArea (const CoordSet &aCoordSet) noexcept |
double | SphericalPolylineLength (const CoordSet &aCoordSet) noexcept |
double | SphericalPolygonArea (std::function< const PointFP *()> aNextPoint) |
double | SphericalPolylineLength (std::function< const PointFP *()> aNextPoint) |
void | GetSphericalAreaAndLength (std::function< const PointFP *()> aNextPoint, bool aIsPolyline, double *aArea, double *aLength) |
void | GetSphericalAreaAndLength (const CoordSet &aCoordSet, bool aIsPolyline, double *aArea, double *aLength) noexcept |
double | AzimuthInDegrees (double aLong1, double aLat1, double aLong2, double aLat2) noexcept |
PointFP | PointAtAzimuth (const PointFP &aPoint, double aDir, double aDistanceInMeters) noexcept |
std::vector< PointFP > | GreatCircleLine (const PointFP &aStartPoint, const PointFP &aEndPoint, double aDistanceInMeters) |
double | GreatCircleDistanceInMetersUsingEllipsoid (double aLong1, double aLat1, double aLong2, double aLat2) noexcept |
uint8_t | ReadBigEndian (const uint8_t *aP) |
void | WriteBigEndian (uint8_t *aP, uint8_t aValue) |
int16_t | ReadBigEndian (const int16_t *aP) |
void | WriteBigEndian (int16_t *aP, int16_t aValue) |
template<class DataType > | |
double | InterpolatedValue (const DataType *aDataStart, int32_t aWidth, int32_t aHeight, int32_t aStride, int32_t aChannels, double aX, double aY, int aChannel, int32_t aUnknownValue) |
std::string | ErrorString (uint32_t aErrorCode) |
uint32_t constexpr | FeatureTypeCode (int A, int B, int C) |
std::string | FeatureTypeName (FeatureType aType) |
FeatureType | FeatureTypeFromName (const MString &aName) |
bool | FeatureTypeIsRoad (FeatureType aType) |
bool | FeatureTypeIsCity (FeatureType aType) |
bool | FeatureTypeIsPOI (FeatureType aType) |
bool | FeatureTypeIsPath (FeatureType aType) |
bool | FeatureTypeIsLink (FeatureType aType) |
GeoCodeType | GeoCodeTypeFromFeatureType (FeatureType aType) |
FeatureType | MajorRouteType (FeatureType aType) |
const char * | GradientName (int aGradient) |
uint32_t | GradientCode (int16_t aStartHeight, int16_t aEndHeight, int32_t aDistance) |
uint32_t | RoadTypeMask (const MString &aLayer) |
double | OsmSpeedLimit (const MString &aValue) |
String | UKGridReferenceFromMapPoint (const PointFP &aPointInMapMeters, int32_t aDigits) |
String | UKGridReferenceFromDegrees (const PointFP &aPointInDegrees, int32_t aDigits) |
RectFP | MapRectFromUKGridReference (const String &aGridReference) |
PointFP | MapPointFromUKGridReference (const String &aGridReference) |
PointFP | PointInDegreesFromUKGridReference (const String &aGridReference) |
std::string | ReadUrl (const char *aUrl) |
bool | MapObjectUserDataLessThan (const std::unique_ptr< MapObject > &aP, const std::unique_ptr< MapObject > &aQ) |
template<class MTraverser > | |
void | Traverse (MTraverser &aTraverser, const Point *aPoint, size_t aPoints, bool aClosed) |
template<class traverser_t , class point_t > | |
void | Traverse (traverser_t &aTraverser, const point_t *aPoint, size_t aPoints, bool aClosed) |
double | TriangleArea (const Point &aA, const Point &aB, const Point &aC) |
template<class T > | |
size_t | SimplifyContour (T *aPointArray, size_t aPointCount, bool aClosed, double aResolutionArea) |
template<class T > | |
Rect | CBox (T *aPointArray, size_t aPointCount) |
int | FileSeek (FILE *aFile, int64_t aOffset, int aOrigin) |
int64_t | FileTell (FILE *aFile) |
const AbbreviationInfo * | AbbreviationInfoForLocale (const char *aLocale) |
String | CountryToCode (const MString &aCountry) |
String | CodeToCountry (const MString &aCode) |
String | IdToString (uint64_t aId) |
uint64_t | StringToId (const MString &aIdString) |
size_t | Utf32ToUtf8 (uint8_t *aDest, MIter< int32_t > &aIter) |
double | ClampTo32Bit (double aX) |
MapObjectArray | Find (CMapDataBaseArray &aMapDataBaseArray, const FindParam &aFindParam, const ClipRegion &aClip, const ClipRegion &aLocation) |
MapObjectArray | Find (CMapDataBaseSet &aMapDataBaseSet, const FindParam &aFindParam, const ClipRegion &aClip, const ClipRegion &aLocation) |
void | GetPlaceBounds (CMapDataBaseSet *aMapDataBaseSet, const MapObject &aPlace, Outline &aOutline, Rect &aBounds, double &aRadiusSquared) |
bool | StreetIsInPlace (const Outline &aPlaceOutline, const Rect &aPlaceBounds, double aPlaceRadiusSquared, const MapObject &aStreet, const Rect &aStreetBounds) |
MapObjectArray | FindCities (CMapDataBaseSet &aMapDataBaseSet, StringMatchMethod aStringMatchMethod, const MString &aCityName, const ClipRegion &aClip, const AbbreviationDictionary &aAbbreviationDictionary) |
MapObjectArray | FindPostCodes (CMapDataBaseSet &aMapDataBaseSet, const MString &aPostCode, const ClipRegion &aClip) |
void | FindStreetsNearPlace (CMapDataBaseSet &aMapDataBaseSet, FindHandler aFindHandler, const MapObject &aPlace, StringMatchMethod aStringMatchMethod, const MString &aStreetName, const ClipRegion &aClip) |
MapObjectArray | FindStreets (CMapDataBaseArray &aMapDataBaseArray, const FindStreetsParam &aParam, const AbbreviationDictionary &aAbbreviationDictionary) |
void | FindInLayers (CMapDataBaseSet &aMapDataBaseSet, const MString &aLayers, const ClipRegion &aClip, FindHandler aFindHandler, const MString *aCondition) |
void | FindHelper (CMapDataBaseSet &aMapDataBaseSet, FindHandler aFindHandler, const FindParam &aFindParam, const ClipRegion &aClip, TTimePoint aTimeOut) |
void | FindNearby (CMapDataBaseSet &aMapDataBaseSet, FindHandler aFindHandler, MapObjectArray &aMapObjectArray, const FindParam &aFindParam, const ClipRegion &aClip, const ClipRegion &aLocation, TTimePoint aTimeOut) |
void | Find (CMapDataBaseSet &aMapDataBaseSet, const ClipRegion &aClip, FindHandler aFindHandler, const MString *aCondition) |
void | FindText (CMapDataBaseSet &aMapDataBaseSet, FindHandler aFindHandler, const FindTextParam &aParam, TTimePoint aTimeOut) |
template<class point_t > | |
Outline | OutlineInMapCoords (Framework &aFramework, const GeneralGeometry< point_t > &aGeometry) |
void | WriteTrackAsXmlHelper (const TrackGeometry &aTrack, OutputStream &aOutput) |
Contour | Ellipse (const Point &aCenter, double aRX, double aRY, double aEllipseAngle) |
Contour | Circle (const Point &aCenter, double aRadius) |
void | AppendEllipticalArc (Contour &aContour, const Point &aCenter, double aRX, double aRY, double aEllipseAngle, double aStartAngle, double aEndAngle, EllipseAngleType aAngleType, bool aAppendStart) |
void | AppendEllipticalArc (Contour &aContour, const Point &aStart, double aRX, double aRY, double aEllipseAngle, bool aLargeArc, bool aSweep, const Point &aEnd, bool aAppendStart) |
Variables | |
constexpr int32_t | KMaxLabelLength = 1024 |
constexpr int32_t | KEquatorialRadiusInMetres = 6378137 |
constexpr double | KWGS84Flattening = 1.0 / 298.257223563 |
constexpr double | KRadiansToMetres = KEquatorialRadiusInMetres |
constexpr double | KPiDouble = 3.1415926535897932384626433832795 |
constexpr float | KPiFloat = 3.1415926535897932384626433832795f |
constexpr double | KRadiansToDegreesDouble = 180.0 / KPiDouble |
constexpr double | KDegreesToRadiansDouble = KPiDouble / 180.0 |
constexpr double | KDegreesToMetres = KRadiansToMetres * KDegreesToRadiansDouble |
constexpr double | KScaledDegreesToMetres = KDegreesToMetres / 2097152.0 |
constexpr int32_t | KMapUnitsPerMeter = 32 |
constexpr int32_t | KDefaultTextIndexLevels = 3 |
constexpr double | KMinScaleDenominator = 100 |
constexpr double | KMaxScaleDenominator = 1000000000 |
const uint32_t | KBlack = 0xFF000000 |
const uint32_t | KDarkGrey = 0xFF555555 |
const uint32_t | KDarkGray = 0xFF555555 |
const uint32_t | KDarkRed = 0xFF000080 |
const uint32_t | KDarkGreen = 0xFF008000 |
const uint32_t | KDarkYellow = 0xFF008080 |
const uint32_t | KDarkBlue = 0xFF800000 |
const uint32_t | KDarkMagenta = 0xFF800080 |
const uint32_t | KDarkCyan = 0xFF808000 |
const uint32_t | KRed = 0xFF0000FF |
const uint32_t | KGreen = 0xFF00FF00 |
const uint32_t | KYellow = 0xFF00FFFF |
const uint32_t | KBlue = 0xFFFF0000 |
const uint32_t | KMagenta = 0xFFFF00FF |
const uint32_t | KCyan = 0xFFFFFF00 |
const uint32_t | KGrey = 0xFFAAAAAA |
const uint32_t | KGray = KGrey |
const uint32_t | KWhite = 0xFFFFFFFF |
const uint32_t | KTransparentBlack = 0x00000000 |
constexpr int32_t | KEpsgWebMercator = 3857 |
constexpr int32_t | KEpsgPlateCarree = 4326 |
constexpr Result | KErrorNone = 0 |
constexpr Result | KErrorGeneral = 1 |
constexpr Result | KErrorNoMemory = 2 |
constexpr Result | KErrorEndOfData = 3 |
constexpr Result | KErrorTextUnmodifiable = 4 |
constexpr Result | KErrorTextTruncated = 5 |
constexpr Result | KErrorNotFound = 6 |
constexpr Result | KErrorUnimplemented = 7 |
constexpr Result | KErrorInvalidOutline = 8 |
constexpr Result | KErrorIo = 9 |
constexpr Result | KErrorCorrupt = 10 |
constexpr Result | KErrorUnknownDataFormat = 11 |
constexpr Result | KErrorNoInverse = 12 |
constexpr Result | KErrorProjectionOverflow = 13 |
constexpr Result | KErrorCancel = 14 |
constexpr Result | KErrorInvalidArgument = 15 |
constexpr Result | KErrorUnknownVersion = 16 |
constexpr Result | KErrorOverflow = 17 |
constexpr Result | KErrorParallelLines = 19 |
constexpr Result | KErrorNoPalette = 22 |
constexpr Result | KErrorDuplicate = 23 |
constexpr Result | KErrorNoProjection = 24 |
constexpr Result | KErrorPaletteFull = 25 |
constexpr Result | KErrorInvalidDashArray = 26 |
constexpr Result | KErrorNoRoute = 28 |
constexpr Result | KErrorZoomLimitReached = 29 |
constexpr Result | KErrorAlreadyProjected = 30 |
constexpr Result | KErrorConditionsTooDeeplyNested = 31 |
constexpr Result | KErrorNullFont = 32 |
constexpr Result | KErrorInternetIo = 33 |
constexpr Result | KErrorDivideByZero = 34 |
constexpr Result | KErrorTransformFailed = 35 |
constexpr Result | KErrorPngRead = 36 |
constexpr Result | KErrorJpgRead = 37 |
constexpr Result | KErrorNoIntersection = 38 |
constexpr Result | KErrorInterrupt = 39 |
constexpr Result | KErrorMapDataBaseFormatMismatch = 40 |
constexpr Result | KErrorEncryptionKeyTooShort = 41 |
constexpr Result | KErrorNoEncryptionKey = 42 |
constexpr Result | KErrorEmergencyMessage = 43 |
constexpr Result | KErrorAlertMessage = 44 |
constexpr Result | KErrorCriticalMessage = 45 |
constexpr Result | KErrorErrorMessage = 46 |
constexpr Result | KErrorWarningMessage = 47 |
constexpr Result | KErrorNoticeMessage = 48 |
constexpr Result | KErrorInfoMessage = 49 |
constexpr Result | KErrorDebugMessage = 50 |
constexpr Result | KErrorNotNavigating = 51 |
constexpr Result | KErrorNoFramework = 52 |
constexpr Result | KErrorFrameworkAlreadyExists = 53 |
constexpr Result | KErrorUntransliterable = 54 |
constexpr Result | KErrorPngWrite = 55 |
constexpr Result | KErrorReadOnlyMapDataBase = 56 |
constexpr Result | KErrorProj4 = 57 |
constexpr Result | KErrorUnlicensed = 58 |
constexpr Result | KErrorNoRoadsNearStartOfRoute = 59 |
constexpr Result | KErrorNoRoadsNearEndOfRoute = 60 |
constexpr Result | KErrorNoRouteConnectivity = 61 |
constexpr Result | KErrorXmlFeatureNotSupported = 62 |
constexpr Result | KErrorMapNotFound = 63 |
constexpr Result | KErrorFontNotFound = 64 |
constexpr Result | KErrorStyleSheetNotFound = 65 |
constexpr Result | KErrorFeatureInfoIsNotRoute = 66 |
constexpr Result | KErrorFeatureInfoIsRoute = 67 |
constexpr int32_t | KStandardErrorCodeCount = 68 |
constexpr Result | KErrorXmlRangeStart = 0x10000000 |
constexpr Result | KErrorXmlRangeEnd = 0x2AFFFFFF |
constexpr uint32_t | KErrorSQLite = 0x30000000 |
constexpr uint32_t | KFollowFlagLocation = 1 |
constexpr uint32_t | KFollowFlagHeading = 2 |
constexpr uint32_t | KFollowFlagZoom = 4 |
const uint32_t | KLatinScript = 1 |
const uint32_t | KGreekScript = 2 |
const uint32_t | KCyrillicScript = 4 |
const uint32_t | KArmenianScript = 8 |
const uint32_t | KHebrewScript = 0x10 |
const uint32_t | KArabicScript = 0x20 |
const uint32_t | KDevanagariScript = 0x40 |
const uint32_t | KBengaliScript = 0x80 |
const uint32_t | KGurmukhiScript = 0x100 |
const uint32_t | KGujaratiScript = 0x200 |
const uint32_t | KOriyaScript = 0x400 |
const uint32_t | KTamilScript = 0x800 |
const uint32_t | KTeluguScript = 0x1000 |
const uint32_t | KKannadaScript = 0x2000 |
const uint32_t | KMalayalamScript = 0x4000 |
const uint32_t | KSinhalaScript = 0x8000 |
const uint32_t | KThaiScript = 0x10000 |
const uint32_t | KLaoScript = 0x20000 |
const uint32_t | KTibetanScript = 0x40000 |
const uint32_t | KMyanmarScript = 0x80000 |
const uint32_t | KGeorgianScript = 0x100000 |
const uint32_t | KHangulScript = 0x200000 |
const uint32_t | KEthiopicScript = 0x400000 |
const uint32_t | KKhmerScript = 0x800000 |
const uint32_t | KMongolianScript = 0x1000000 |
const uint32_t | KHiraganaScript = 0x2000000 |
const uint32_t | KKatakanaScript = 0x4000000 |
const uint32_t | KBopomofoScript = 0x8000000 |
const uint32_t | KHanScript = 0x10000000 |
const uint32_t | KReservedScript = 0x20000000 |
const uint32_t | KSymbolScript = 0x40000000 |
const uint32_t | KOtherScript = 0x80000000 |
const uint32_t | KBoldStyle = 1 |
const uint32_t | KItalicStyle = 2 |
const uint32_t | KSerifStyle = 4 |
const uint32_t | KCursiveStyle = 8 |
const uint32_t | KFantasyStyle = 16 |
const uint32_t | KMonospaceStyle = 32 |
constexpr int | KStandardTitleCase = 0 |
constexpr int | KLowerTitleCase = 1 |
constexpr int | KUpperTitleCase = 2 |
const double | CT_DBL_MAX = 1.7976931348623158e+308 |
A namespace for the CartoTypeCore library.
using CartoTypeCore::FindAsyncCallBack = typedef std::function<void(std::unique_ptr<MapObjectArray> aMapObjectArray)> |
A type for functions called by the asynchronous Find function.
using CartoTypeCore::FindAsyncGroupCallBack = typedef std::function<void(std::unique_ptr<MapObjectGroupArray> aMapObjectGroupArray)> |
A type for functions called by the asynchronous Find function for map object group arrays.
using CartoTypeCore::FindHandler = typedef std::function<bool(std::unique_ptr<MapObject>)> |
A type for internal functions to handle objects returned by search functions.
using CartoTypeCore::MapObjectArray = typedef std::vector<std::unique_ptr<MapObject> > |
A type for arrays of map objects returned by search functions.
using CartoTypeCore::MapObjectGroupArray = typedef std::vector<MapObjectGroup> |
A type for arrays of map object groups returned by search functions.
using CartoTypeCore::Point3FP = typedef Point3<double> |
A double-precision floating-point 3D point class.
using CartoTypeCore::PointFP = typedef Point2<double> |
A double-precision floating-point 2D point class.
using CartoTypeCore::ProgressCallBack = typedef std::function<void(double aProgressFraction,double aTimeRemaining)> |
A type for callbacks to provide an indication of progress. aProgressFraction is in the range 0...1. aTimeRemaining is in seconds.
using CartoTypeCore::RouterAsyncCallBack = typedef std::function<void(Result aError,std::unique_ptr<Route> aRoute)> |
A type for functions called by the asynchronous routing function.
using CartoTypeCore::StringDictionary = typedef std::map<String, String> |
using CartoTypeCore::StringTypeDictionary = typedef std::map<String,int> |
A type for a class mapping String objects to integers.
using CartoTypeCore::StyleSheetDataArray = typedef std::vector<StyleSheetData> |
A set of style sheet data that may consist of more than one style sheet.
using CartoTypeCore::TrackGeometry = typedef GeneralGeometry<TrackPoint> |
A type for a sequence of track points.
|
strong |
|
strong |
Alignments used for multi-line text.
|
strong |
The override status during bidirectional reordering.
|
strong |
The paragraph direction used during bidirectional reordering.
|
strong |
The bidirectional type of a character as used in the Unicode Bidirectional Algorithm.
|
strong |
An enumerated type for supported bitmap types. The number of bits per pixel is held in the low 6 bits.
|
strong |
The general category of a character as defined in the Unicode Standard (http://www.unicode.org/versions/Unicode5.0.0/ch04.pdf). Each constant is a single bit so that masks can be made by combining them.
|
strong |
Types of clipping done by the general clip function Outline MPath::Clip(ClipOperation aClipOperation,const MPath& aClip) const.
|
strong |
A type to label different relationships a clip rectangle has with a path, to decide what sort of clipping is needed.
|
strong |
Coordinate types.
|
strong |
Result codes for drawing operations.
|
strong |
Flags used for appending ellipses to determine the angle between start and end point or start and end angle.
|
strong |
The feature discriminator stored in a FeatureInfo object.
Enumerator | |
---|---|
NonRoute | Not a route. |
BridgeRoute | A route that is a bridge. |
TunnelRoute | A route that is a tunnel. |
Route | A route that is neither a tunnel nor a bridge. |
|
strong |
Every map object has a feature type. The first 32 feature types are used for routable objects and their values are indexes into tables of speeds and weights in route profiles. Other feature types are constructed from three-letter codes.
All feature type values must fit into 15 bits, and therefore must be in the range 0...32767.
|
strong |
File types of interest to CartoTypeCore.
Enumerator | |
---|---|
PNG | PNG (Portable Network Graphics) image files. |
JPEG | JPEG (Joint Photographic Expert Group) image files. |
TIFF | TIFF (Tagged Image File Format) image files. |
CTM1 | CTM1 (CartoTypeCore Map Data Type 1) map data files. |
CTMS | CTMS (CartoTypeCore Map Data, Serialized) map data files. |
KML | KML (Keyhole Markup Language) map data files. |
CTSQL | CTSQL (CartoTypeCore SQLite format) map data files. |
CTROUTE | CTROUTE (CartoTypeCore XML route) files. |
GPX | GPX (GPS Exchange) files. |
None | Unknown or unspecified file type. |
|
strong |
Flags controlling the way the map follows the user location and heading and automatically zooms.
|
strong |
A type used in addresses obtained by reverse geocoding. It gives a coarse notion of what an object is. Codes are ordered roughly from small to large.
|
strong |
|
strong |
The case of letters and strings in Latin, Greek, Cyrillic and other alphabetic scripts.
|
strong |
Methods of adding caps to the ends of lines created as envelopes of open paths.
|
strong |
|
strong |
The type of a location reference used for traffic information.
|
strong |
|
strong |
An enumerated type for map objects.
|
strong |
States of the navigation system.
|
strong |
Positions for notices like the legend or scale bar. Use ExtendedNoticePosition for greater control.
|
strong |
|
strong |
The format used for points in CTM1 data. These numbers must fit into 8 bits because of the way they are stored in the CTM1 file. The values are discontinuous because several obsolete values have been discarded.
|
strong |
Types used by OutlinePoint.
Enumerator | |
---|---|
OnCurve | A point on the curve. |
Quadratic | A control point for a quadratic (conic) Bezier spline curve. |
Cubic | A control point for a cubic Bezier spline curve. |
|
strong |
|
strong |
The orientation of a path along a road: used in traffic information.
|
strong |
|
strong |
Constants used to select frequently-used route profiles.
|
strong |
Types of router; used when selecting a router type.
|
strong |
The side of the road: used in traffic information.
|
strong |
Flags and constants to tell text searching how to match search terms with found strings.
|
strong |
Different qualities of string match used when comparing map object attributes.
|
strong |
Baselines used for aligning text.
|
strong |
Turn types on a route. Turns at junctions are classified by dividing the full circle into 45-degree segments, except for sharp turns left and right, which encompass everything up to an actual U-turn, and left and right forks, for which there are special rules to avoid classifying them as ahead.
The actual turn angle is also given in the Turn class.
|
strong |
const AbbreviationInfo * CartoTypeCore::AbbreviationInfoForLocale | ( | const char * | aLocale | ) |
Returns the abbreviation and letter-case conversion information for a given locale, or null if information for the locale is not found.
void CartoTypeCore::AppendEllipticalArc | ( | Contour & | aContour, |
const Point & | aCenter, | ||
double | aRX, | ||
double | aRY, | ||
double | aEllipseAngle, | ||
double | aStartAngle, | ||
double | aEndAngle, | ||
EllipseAngleType | aAngleType, | ||
bool | aAppendStart | ||
) |
Append an arc of an ellipse using center parameterization. aCenter is in 64ths of pixels. if aAppendStart is true, the start point is also appended to the contour. Implementation notes: The arc is divided into sections of less than pi/2. For each section three points are appended: two control points and the end point.
void CartoTypeCore::AppendEllipticalArc | ( | Contour & | aContour, |
const Point & | aStart, | ||
double | aRX, | ||
double | aRY, | ||
double | aEllipseAngle, | ||
bool | aLargeArc, | ||
bool | aSweep, | ||
const Point & | aEnd, | ||
bool | aAppendStart | ||
) |
Append an arc of an ellipse using endpoint parameterization. The input points are in 64ths of pixels. If aAppendStart is true, the start point is also appended to the contour.
|
inline |
Returns the area of a polygon represented as a vector of points with members X and Y.
|
inline |
Returns the area of a polygon made of points with members X and Y.
|
inline |
An arctangent function which checks for two zero arguments and returns zero in that case. In the standard library atan2(0,0) is undefined, and on Embarcadero C++ Builder it throws an exception.
|
noexcept |
Gets the azimuth (direction along a great circle line) from one point to another in degrees, given two lat-long points in degrees.
This function uses the WGS84 ellipsoid.
North is 0 and angles increase clockwise.
const char * CartoTypeCore::Build | ( | ) |
Returns the current CartoType build as a string.
Rect CartoTypeCore::CBox | ( | T * | aPointArray, |
size_t | aPointCount | ||
) |
Returns the axis-aligned bounding box of a sequence of points, treating control points as ordinary points.
Create a contour that is a circle. The center is specified in 64ths and the output is also in 64ths. The radius is in whole units.
|
inline |
Clamps a floating point number to the range supported by signed 32-bit integers.
Returns the English-language name of a country as a lower-case string, given its two-letter country code (ISO 3166-1 alpha-2). The letter case of aCode is ignored. Returns the code itself, converted to lower case, if aCode is not found.
Returns the two-letter country code (ISO 3166-1 alpha-2) as a lower-case string, given the English-language name of the country. The letter case of aCountry is ignored. Returns the empty string if aCountry is not found.
const char * CartoTypeCore::Description | ( | ) |
Returns a Git description of the current CartoType version as a string of the form MAJOR.MINOR-BUILD-COMMIT, created by the command 'git describe –tags –long'. The major version is the most recent tag, the minor version is the number of commits since that tag, and the commit is the Git commit name, which is a unambiguous abbreviation of a cryptographic hash of that state of the repository.
Contour CartoTypeCore::Ellipse | ( | const Point & | aCenter, |
double | aRX, | ||
double | aRY, | ||
double | aEllipseAngle | ||
) |
Create a contour that is an ellipse. The center is specified in 64ths of pixels.
std::string CartoTypeCore::ErrorString | ( | uint32_t | aErrorCode | ) |
Returns a short description of an error, given its code.
|
inlineconstexpr |
Constructs a 15-bit feature type code from 3 lower-case letters.
FeatureType CartoTypeCore::FeatureTypeFromName | ( | const MString & | aName | ) |
Given a feature type name, returns a feature type. Three-letter names are taken to be special three-letter codes.
This function is used in makemap import rules and the general expression evaluator for conditions used when searching. It ignores case, spaces and punctuation when comparing names.
bool CartoTypeCore::FeatureTypeIsCity | ( | FeatureType | aType | ) |
Returns true if aType is a city, town, etc.
bool CartoTypeCore::FeatureTypeIsLink | ( | FeatureType | aType | ) |
Returns true if aType is a link: that is, an on or off ramp to or from a higher-level road.
bool CartoTypeCore::FeatureTypeIsPath | ( | FeatureType | aType | ) |
Returns true if aType is a path. Paths include cycleways, steps and ski pistes as well as footpaths and footways.
bool CartoTypeCore::FeatureTypeIsPOI | ( | FeatureType | aType | ) |
Returns true if aType is a point of interest.
bool CartoTypeCore::FeatureTypeIsRoad | ( | FeatureType | aType | ) |
Returns true if aType is a road.
std::string CartoTypeCore::FeatureTypeName | ( | FeatureType | aType | ) |
Returns the name corresponding to a feature type.
|
inline |
An fseek-compatible function for moving to a position in a file, specifying it using a 64-bit signed integer.
|
inline |
An ftell-compatible function for getting the current position in a file, returning a 64-bit signed integer.
MapObjectArray CartoTypeCore::Find | ( | CMapDataBaseArray & | aMapDataBaseArray, |
const FindParam & | aFindParam, | ||
const ClipRegion & | aClip, | ||
const ClipRegion & | aLocation | ||
) |
A low-level general search function, allowing any combination of clip rectangle, choice of layers, choice of attributes, text and string match method, and condition.
aClip contains aFindParam.Clip, converted to map coordinates. aLocation contains aFindParam.iLocation, converted to map coordinates. This low-level function cannot do the conversion itself because it has no access to the current map scale or perspective transform.
void CartoTypeCore::Find | ( | CMapDataBaseSet & | aMapDataBaseSet, |
const ClipRegion & | aClip, | ||
FindHandler | aFindHandler, | ||
const MString * | aCondition | ||
) |
Finds objects in aRect, which is in map coordinates. The objects that are returned are unprojected.
The number of objects returned can be limited by setting aMaxObjects to an appropriate value.
if aCondition is non-null it is a style sheet expression (e.g., "Type==2") which must be satisfied by the objects.
MapObjectArray CartoTypeCore::Find | ( | CMapDataBaseSet & | aMapDataBaseSet, |
const FindParam & | aFindParam, | ||
const ClipRegion & | aClip, | ||
const ClipRegion & | aLocation | ||
) |
A low-level general search function, allowing any combination of clip rectangle, choice of layers, choice of attributes, text and string match method, and condition.
aClip contains aFindParam.Clip, converted to map coordinates. aLocation contains aFindParam.iLocation, converted to map coordinates. This low-level function cannot do the conversion itself because it has no access to the current map scale or perspective transform.
MapObjectArray CartoTypeCore::FindCities | ( | CMapDataBaseSet & | aMapDataBaseSet, |
StringMatchMethod | aStringMatchMethod, | ||
const MString & | aCityName, | ||
const ClipRegion & | aClip, | ||
const AbbreviationDictionary & | aAbbreviationDictionary | ||
) |
Finds cities matching aCityName, which must not be empty.
void CartoTypeCore::FindHelper | ( | CMapDataBaseSet & | aMapDataBaseSet, |
FindHandler | aFindHandler, | ||
const FindParam & | aFindParam, | ||
const ClipRegion & | aClip, | ||
TTimePoint | aTimeOut | ||
) |
An internal function used in the implementation of the general find functions.
void CartoTypeCore::FindInLayers | ( | CMapDataBaseSet & | aMapDataBaseSet, |
const MString & | aLayers, | ||
const ClipRegion & | aClip, | ||
FindHandler | aFindHandler, | ||
const MString * | aCondition | ||
) |
Finds objects in named layers in aRect, which is in map coordinates. The objects that are returned are unprojected.
aLayers is a space or comma separated list of layers. Each layer may contain the wild cards '*' and '?', in which case all matching layers are searched. If a layer ends in '/' it matches itself without the final '/', and any layers starting with 'layer/'. Layers are searched once only even if they match more than one item in the list of layers.
if aCondition is non-null it is a style sheet expression (e.g., "sub_type==2") which must be satisfied by the objects.
void CartoTypeCore::FindNearby | ( | CMapDataBaseSet & | aMapDataBaseSet, |
FindHandler | aFindHandler, | ||
MapObjectArray & | aMapObjectArray, | ||
const FindParam & | aFindParam, | ||
const ClipRegion & | aClip, | ||
const ClipRegion & | aLocation, | ||
TTimePoint | aTimeOut | ||
) |
A special function to handle searches where aFindParam.iLocation is set: that is, finding places nearby.
MapObjectArray CartoTypeCore::FindPostCodes | ( | CMapDataBaseSet & | aMapDataBaseSet, |
const MString & | aPostCode, | ||
const ClipRegion & | aClip | ||
) |
Finds postcodes matching aPostCode, which must not be empty.
MapObjectArray CartoTypeCore::FindStreets | ( | CMapDataBaseArray & | aMapDataBaseArray, |
const FindStreetsParam & | aParam, | ||
const AbbreviationDictionary & | aAbbreviationDictionary | ||
) |
Finds streets and buildings, given a street name, city name, optional building name, and optional postcode.
void CartoTypeCore::FindStreetsNearPlace | ( | CMapDataBaseSet & | aMapDataBaseSet, |
FindHandler | aFindHandler, | ||
const MapObject & | aPlace, | ||
StringMatchMethod | aStringMatchMethod, | ||
const MString & | aStreetName, | ||
const ClipRegion & | aClip | ||
) |
Finds named streets near a given place. If aStreetName is empty, finds all named streets near the place.
void CartoTypeCore::FindText | ( | CMapDataBaseSet & | aMapDataBaseSet, |
FindHandler | aFindHandler, | ||
const FindTextParam & | aParam, | ||
TTimePoint | aTimeOut | ||
) |
Finds objects with the value aText in selected layers and attributes. If aLayers is empty all layers are searched, otherwise only layers matching the named layers are searched. Layer names may contain the wild cards * and ?. If aAttribs is empty all attributes are searched, otherwise only the named attributes are searched. To name the label attribute (the main name of an object) use the empty string.
GeoCodeType CartoTypeCore::GeoCodeTypeFromFeatureType | ( | FeatureType | aType | ) |
Translates a FeatureType to a GeoCode.
void CartoTypeCore::GetPlaceBounds | ( | CMapDataBaseSet * | aMapDataBaseSet, |
const MapObject & | aPlace, | ||
Outline & | aOutline, | ||
Rect & | aBounds, | ||
double & | aRadiusSquared | ||
) |
Gets the outline, bounds and radius of a place. For internal use.
|
noexcept |
Gets the area and length of a polygon, or the length of a polyline, in square metres and metres. The points are defined in degrees of latitude (y) and longitude (x). The polygon or polyline is specified by the points of aCoordSet. The parameter aIsPolyline is true if the points represent a polyline, otherwise the points represent a polygon. The return values aArea and aLength are filled in only if non-null. If aPolyline is true, only aLength is filled in.
void CartoTypeCore::GetSphericalAreaAndLength | ( | std::function< const PointFP *()> | aNextPoint, |
bool | aIsPolyline, | ||
double * | aArea, | ||
double * | aLength | ||
) |
Gets the area and length of a polygon, or the length of a polyline, in square metres and metres. The points are defined in degrees of latitude (y) and longitude (x). The function aNextPoint must return all the points in order then return null to indicate that there are no more points. The parameter aIsPolyline is true if the points represent a polyline, otherwise the points represent a polygon. The return values aArea and aLength are filled in only if non-null. If aPolyline is true, only aLength is filled in.
uint32_t CartoTypeCore::GradientCode | ( | int16_t | aStartHeight, |
int16_t | aEndHeight, | ||
int32_t | aDistance | ||
) |
Returns the gradient code for an arc, given its start and end heights in metres. GetHeight values of INT16_MIN mean 'unknown'.
Gradients are as follows. The thresholds are designed to be useful for cycling. See http://theclimbingcyclist.com/gradients-and-cycling-an-introduction/.
flat = up to 1 in 100 (1%) gentle = up to 1 in 25 (4%) steep = up to 1 in 12.5 (8%) very steep = over 1 in 12.5 (over 8%)
Gradient codes are 0: flat or slightly uphill 1: gentle uphill 2: steep uphill 3: very steep uphill 4: flat or slightly downhill 5: gentle downhill 6: steep downhill 7: very steep downhill
const char * CartoTypeCore::GradientName | ( | int | aGradient | ) |
Returns the name of a gradient range, as used in serialized XML route profiles.
|
inline |
Finds the great-circle distance in metres, assuming a spherical earth, between two lat-long points in degrees.
|
noexcept |
Finds the great-circle distance in meters between two lat-long points in degrees, using the WGS84 ellipsoid.
std::vector< PointFP > CartoTypeCore::GreatCircleLine | ( | const PointFP & | aStartPoint, |
const PointFP & | aEndPoint, | ||
double | aDistanceInMetres | ||
) |
Creates an array of points along a great-circle line from one point to another, specified in degrees, at a certain maximum distance from each other. The resulting points are evenly spaced and include the start and end point.
String CartoTypeCore::IdToString | ( | uint64_t | aId | ) |
Creates a string representing a 64-bit map object ID, encoded as one to four 16-bit characters in big-endian order, from the ID.
double CartoTypeCore::InterpolatedValue | ( | const DataType * | aDataStart, |
int32_t | aWidth, | ||
int32_t | aHeight, | ||
int32_t | aStride, | ||
int32_t | aChannels, | ||
double | aX, | ||
double | aY, | ||
int | aChannel, | ||
int32_t | aUnknownValue | ||
) |
Uses bilinear interpolation to get the value at (aX,aY) from a rectangular table of data. Each data item has aChannels channels, and each channel takes up aWidth * sizeof(DataType) bytes. The value aUnknownValue is ignored when interpolating.
FeatureType CartoTypeCore::MajorRouteType | ( | FeatureType | aType | ) |
Combines different route types into a major type. Used for determining the difficulty or importance of a turn in routing.
|
inline |
A comparison function which compares unique pointers to map objects on their user data. Neither pointer can be null. This function can be used in std::sort, etc.
Converts a UK Ordnance Survey national grid reference (two capital letters followed by an even number of digits) into a point in map meters in the Ordnance Survey projection. The rectangle returned is the center of the square defined by the grid reference.
Returns the point (-1,-1) if the grid reference is invalid.
Converts a UK Ordnance Survey national grid reference (two capital letters followed by an even number of digits) into a rectangle in map meters in the Ordnance Survey projection. The rectangle returned is the square defined by the grid reference. Spaces are ignored, and letters are converted to upper case.
Returns the rectangle (-1,-1,-1,-1) if the grid reference is invalid.
double CartoTypeCore::OsmSpeedLimit | ( | const MString & | aValue | ) |
Converts an OpenStreetMap speed limit expressed as a string (the value of the maxspeed tag) to a value in kph.
The speed limit is either a plain number denoting kph, a number followed by 'mph' denoting miles per hour, or a country code followed by a category as defined in http://wiki.openstreetmap.org/wiki/Speed_limits.
Outline CartoTypeCore::OutlineInMapCoords | ( | Framework & | aFramework, |
const GeneralGeometry< point_t > & | aGeometry | ||
) |
|
noexcept |
Finds the point in degrees at a certain distance and azimuth direction from a starting point in degrees. This function uses the WGS84 ellipsoid.
Converts a UK Ordnance Survey national grid reference (two capital letters followed by an even number of digits) into a point in degrees latitude and longitude (WGS84). The rectangle returned is the center of the square defined by the grid reference.
Returns the point (0,0) if the grid reference is invalid.
|
inline |
Reads a big-endian 16-bit integer from aP.
|
inline |
Reads an 8-bit integer from aP. Used by InterpolatedValue, which requires a function of this name even when endianness is irrelevant.
std::string CartoTypeCore::ReadUrl | ( | const char * | aUrl | ) |
Sends an HTTP request to the specified URL and returns the resulting data.
|
inline |
Reverses an array of objects of type T.
uint32_t CartoTypeCore::RoadTypeMask | ( | const MString & | aLayer | ) |
Returns the road type mask for a given layer; for internal use in providing backward compatibility with pre-version-8 CTM1 files.
|
inline |
Rounds a floating-point value to the nearest integer.
|
inline |
Rounds a number to a certain number of fractional digits.
For example, if aFractionDigits is 0, it rounds to the nearest integer, and if it is 2, to two decimal places. Negative numbers of fractional digits round to powers of 10; e.g., -3 rounds to the nearest 1000. Unlike the single-argument version of Round, it returns a double, and handles numbers outside the integer range.
size_t CartoTypeCore::SimplifyContour | ( | T * | aPointArray, |
size_t | aPointCount, | ||
bool | aClosed, | ||
double | aResolutionArea | ||
) |
A templated function to simplify a contour of any type. Returns the new number of points, after simplification.
Simplification consists in removing all points with an area less than aResolutionArea. A point's area is the area of the triangle made by the point and its two neighbours.
The start and end of an open contour are not removed. Closed contours may be reduced to nothing.
|
noexcept |
Gets the area of a polygon in square metres. The polygon is defined in degrees of latitude (y) and longitude (x).
double CartoTypeCore::SphericalPolygonArea | ( | std::function< const PointFP *()> | aNextPoint | ) |
Gets the area of a polygon in square metres. The polygon is defined in degrees of latitude (y) and longitude (x). The function aNextPoint must return all the points of the polygon in order then return null to indicate that there are no more points.
|
noexcept |
Gets the length of a line, in meters, defined by points of latitude (y) and longitude (x), using great-circle distances.
double CartoTypeCore::SphericalPolylineLength | ( | std::function< const PointFP *()> | aNextPoint | ) |
Gets the length of a polyline in square metres. The polyline is defined in degrees of latitude (y) and longitude (x). The function aNextPoint must return all the points of the polyline in order then return null to indicate that there are no more points.
bool CartoTypeCore::StreetIsInPlace | ( | const Outline & | aPlaceOutline, |
const Rect & | aPlaceBounds, | ||
double | aPlaceRadiusSquared, | ||
const MapObject & | aStreet, | ||
const Rect & | aStreetBounds | ||
) |
Returns true if a street is in a place, using bounds returned by GetPlaceBounds. For internal use.
uint64_t CartoTypeCore::StringToId | ( | const MString & | aIdString | ) |
Converts a string representing a 64-bit map object ID, encoded as one to four 16-bit characters in big-endian order, to the ID.
|
noexcept |
A non-locale-dependent version of the standard library strtod function.
Converts a string to a floating-point number and optionally returns a pointer to the position after the portion of the string converted. The decimal point is always a full stop, unlike the standard library function, which uses that of the current locale (e.g., a comma in the German locale.)
If aLength is UINT32_MAX the string must be null-terminated.
|
noexcept |
A non-locale-dependent version of the standard library strtod function, but for UTF-16 characters.
Converts a string to a floating-point number and optionally returns a pointer to the position after the portion of the string converted. The decimal point is always a full stop, unlike the standard library function, which uses that of the current locale (e.g., a comma in the German locale.)
If aLength is UINT32_MAX the string must be null-terminated.
void CartoTypeCore::Traverse | ( | MTraverser & | aTraverser, |
const Point * | aPoint, | ||
size_t | aPoints, | ||
bool | aClosed | ||
) |
Traverses a sequence of Point objects, extracting lines and curves and calling functions to process them.
The functions called are
To start a new contour, move to aPoint without drawing a line and set the current point to aPoint:
void MoveTo(const Point& aPoint)
To draw a line from the current point to aPoint and set the current point to aPoint:
void LineTo(const Point& aPoint)
void CartoTypeCore::Traverse | ( | traverser_t & | aTraverser, |
const point_t * | aPoint, | ||
size_t | aPoints, | ||
bool | aClosed | ||
) |
Traverses a sequence of outline point objects, extracting lines and curves and calling functions to process them.
The functions called are
To start a new contour, move to aPoint without drawing a line and set the current point to aPoint:
void MoveTo(const Point& aPoint)
To draw a line from the current point to aPoint and set the current point to aPoint:
void LineTo(const Point& aPoint)
To draw a quadratic spline from the current point to aPoint2, using aPoint1 as the off-curve control point, and set the current point to aPoint2:
void QuadraticTo(const Point& aPoint1,const Point& aPoint2)
To draw a cubic spline from the current point to aPoint3, using aPoint1 and aPoint2 as the off-curve control points, and set the current point to aPoint3:
void CubicTo(const Point& aPoint1,const Point& aPoint2,const Point& aPoint3)
Returns the area of a triangle made from the points aA, aB, aC.
String CartoTypeCore::UKGridReferenceFromDegrees | ( | const PointFP & | aPointInDegrees, |
int32_t | aDigits | ||
) |
Converts a point in degrees latitude and longitude (WGS84) into a UK Ordnance Survey national grid reference, using aDigits as the number of digits per coordinate; this value is clamped to the range 0...5. Five-digit references are accurate to a meter.
Returns an empty string if the point is outside the UK national grid bounds.
String CartoTypeCore::UKGridReferenceFromMapPoint | ( | const PointFP & | aPointInMapMeters, |
int32_t | aDigits | ||
) |
Converts a point in map meters in the Ordnance Survey projection into a UK Ordnance Survey national grid reference, using aDigits as the number of digits per coordinate; this value is clamped to the range 0...5. Five-digit references are accurate to a meter.
Returns an empty string if the point is outside the UK national grid bounds.
size_t CartoTypeCore::Utf32ToUtf8 | ( | uint8_t * | aDest, |
MIter< int32_t > & | aIter | ||
) |
Converts UTF32 text to Utf8, returning the number of bytes needed. If aDest is null do not write to aDest but still return the number of bytes needed.
const char * CartoTypeCore::Version | ( | ) |
Returns the current CartoType version as a string of the form MAJOR.MINOR.
|
inline |
Writes a big-endian 16-bit integer to aP.
|
inline |
Writes an 8-bit integer to aP. Used by InterpolatedValue, which requires a function of this name even when endianness is irrelevant.
void CartoTypeCore::WriteTrackAsXmlHelper | ( | const TrackGeometry & | aTrack, |
OutputStream & | aOutput | ||
) |
An internal function to write a track in GPX format.
const double CartoTypeCore::CT_DBL_MAX = 1.7976931348623158e+308 |
This CartoTypeCore-specific version of DBL_MAX is supplied to avoid the bug in C++ Builder, which defines DBL_MAX as a very small number. It uses a different name from DBL_MAX in case DBL_MAX is defined as a macro.
const uint32_t CartoTypeCore::KArabicScript = 0x20 |
A bit flag used in typeface matching: the Arabic script.
const uint32_t CartoTypeCore::KArmenianScript = 8 |
A bit flag used in typeface matching: the Armenian script.
const uint32_t CartoTypeCore::KBengaliScript = 0x80 |
A bit flag used in typeface matching: the Bengali script.
const uint32_t CartoTypeCore::KBlack = 0xFF000000 |
Opaque black.
const uint32_t CartoTypeCore::KBlue = 0xFFFF0000 |
Opaque blue.
const uint32_t CartoTypeCore::KBoldStyle = 1 |
Constants used to refer to styles in TypefaceAttrib, etc. These are flags used in a 32-bit word. The bit flag used to select bold face in TypefaceAttrib::Style, etc.
const uint32_t CartoTypeCore::KBopomofoScript = 0x8000000 |
A bit flag used in typeface matching: the Bopomofo script.
const uint32_t CartoTypeCore::KCursiveStyle = 8 |
The bit flag used to select a cursive font in TypefaceAttrib::Style, etc.
const uint32_t CartoTypeCore::KCyan = 0xFFFFFF00 |
Opaque cyan.
const uint32_t CartoTypeCore::KCyrillicScript = 4 |
A bit flag used in typeface matching: the Cyrillic script.
const uint32_t CartoTypeCore::KDarkBlue = 0xFF800000 |
Opaque dark blue.
const uint32_t CartoTypeCore::KDarkCyan = 0xFF808000 |
Opaque dark cyan.
const uint32_t CartoTypeCore::KDarkGray = 0xFF555555 |
Opaque dark gray.
const uint32_t CartoTypeCore::KDarkGreen = 0xFF008000 |
Opaque dark green.
const uint32_t CartoTypeCore::KDarkGrey = 0xFF555555 |
Opaque dark grey.
const uint32_t CartoTypeCore::KDarkMagenta = 0xFF800080 |
Opaque dark magenta.
const uint32_t CartoTypeCore::KDarkRed = 0xFF000080 |
Opaque dark red.
const uint32_t CartoTypeCore::KDarkYellow = 0xFF008080 |
Opaque dark yellow.
|
constexpr |
The standard number of levels of the text index to load into RAM when loading a CTM1 file. This value, 3, allows fast text searching at the cost of a few tens of megabytes of RAM. Text searching is much slower if fewer than 3 levels are loaded.
|
constexpr |
A factor to convert degrees to metres, using the semi-major axis (equatorial radius) used by the WGS 84 datum.
|
constexpr |
A factor to convert degrees to radians: the number of radians in a degree.
const uint32_t CartoTypeCore::KDevanagariScript = 0x40 |
A bit flag used in typeface matching: the Devanagari script.
|
constexpr |
The EPSG code for the Plate Carree projection. Used by TTileParam.
|
constexpr |
The EPSG code for the Web Mercator projection. Used by TTileParam.
|
constexpr |
A factor to convert radians to metres for the Mercator and other projections. It is the semi-major axis (equatorial radius) used by the WGS 84 datum (see http://en.wikipedia.org/wiki/WGS84).
|
constexpr |
A code for standard alert messages.
|
constexpr |
There was an attempt to project a map object that had already been projected.
|
constexpr |
The code KErrorCancel is returned to cancel an asynchronous operation that uses callbacks. The callback or virtual function returns this code. the caller must terminate further processing on receipt of any error, but this one indicates that there has been no actual error, but the handler has canceled the operation.
|
constexpr |
Conditions are too deeply nested in the style sheet.
|
constexpr |
Use KErrorCorrupt when illegal values are found when reading data from a file or other serialized form.
|
constexpr |
A code for standard critical messages.
|
constexpr |
A code for standard debug messages.
|
constexpr |
Division by zero in an interpreted expression.
|
constexpr |
An attempt was made to insert a duplicate object into a collection class that does not allow duplicates.
|
constexpr |
A code for standard emergency messages.
|
constexpr |
A key supplied for encryption was too short.
|
constexpr |
KErrorEndOfData is returned by iterators and streams when no more data is available. It may be treated as an error or not depending on the circumstances.
|
constexpr |
A code for standard error messages.
|
constexpr |
An attempt was made to set a route attribute on a feature info that is not a route.
|
constexpr |
An attempt was made to set a non-route attribute on a feature info that is a route.
|
constexpr |
A font file was not found.
|
constexpr |
The global framework object already exists.
|
constexpr |
Use KErrorGeneral where an error has occurred but no other CartoTypeCore error is applicable. For example, this error code can be used when FreeType returns an error code for illegal TrueType hinting instructions.
|
constexpr |
A code for standard information messages.
|
constexpr |
An attempt to read data from the internet failed.
|
constexpr |
An operation was interrupted, for example by another thread writing to a shared flag.
|
constexpr |
This error is returned when an invalid argument has been given to a function.
|
constexpr |
The dash array for drawing strokes is invalid.
|
constexpr |
If the graphics system detects an invalid outline, such as one that starts with a cubic control point, it returns KErrorInvalidOutline.
|
constexpr |
The code KErrorIo should be used for unexpected read or write errors on files or other data streams. This is for where you attempt to read data that should be there, but the OS says it's unavailable (e.g., someone has taken the CD out of the drive or the network is down).
|
constexpr |
Reading a bitmap from JPG format failed.
|
constexpr |
There was an attempt to use map databases of incompatible formats (TMapGrid values containing point format, datum and axis orientations) to draw a map or find objects in a map.
|
constexpr |
A map file was not found.
|
constexpr |
No encryption key has been set.
|
constexpr |
The global framework object does not exist.
|
constexpr |
An object did not intersect a specified region.
|
constexpr |
This error is returned by transformation inversion if the transformation has no inverse.
|
constexpr |
Use KErrorNoMemory when an attempted memory allocation fails.
|
constexpr |
No error; a successful result.
|
constexpr |
An attempt was made to draw a bitmap needing a color palette but no palette was provided.
|
constexpr |
The projection for converting latitude and longitude to map coordinates is unknown or unavailable.
|
constexpr |
No route could be created because there were no roads near the end point of a route section.
|
constexpr |
No route could be created because there were no roads near the start point of a route section.
|
constexpr |
A route was needed by the navigation system but no route was available.
|
constexpr |
No route could be created because the start and end point were not connected.
|
constexpr |
KErrorNotFound is returned whenever a resource like a file is not found, or a search fails. It may be treated as an error or not depending on the circumstances.
|
constexpr |
A code for standard notice messages.
|
constexpr |
A function has been called which is available only when navigating.
|
constexpr |
There was an attempt to use a null font for drawing text.
|
constexpr |
This error is returned by the base library when reading data or calculations result in overflow.
|
constexpr |
A palette is full and no new entries can be added.
|
constexpr |
The error code returned by line intersection algorithms when the lines are parallel.
|
constexpr |
Reading a bitmap from PNG format failed.
|
constexpr |
Writing a bitmap to PNG format failed.
|
constexpr |
There was an error in the PROJ.4 projection library error other than a projection overflow.
|
constexpr |
This error is returned by the projection system if the projection causes overflow.
|
constexpr |
There was an attempt to write to a read-only map database.
|
constexpr |
The base of error codes for returning SQLite errors. The SQLite error code is placed in the lower two bytes.
|
constexpr |
A style sheet was not found.
|
constexpr |
KErrorTextTruncated is returned when text inserted into a string derived from MString is too long for a fixed-size buffer.
|
constexpr |
KErrorTextUnmodifiable is returned when an attempt is made to modify an unmodifiable string represented by a class derived from MString.
|
constexpr |
A transform failed because an argument or result was out of range.
|
constexpr |
The code KErrorUnimplemented is used for functions that have not yet been implemented, or for circumstances or options within functions that remain unimplemented because they are deemed to be either rarely or never useful.
|
constexpr |
This error is returned by database accessors, typeface accessors, etc., to indicate that this data format is unknown to a particular accessor. It is not really an error but tells the caller to try the next accessor in the list.
|
constexpr |
This error is returned by a data reader when it cannot deal with the data version.
|
constexpr |
A function was called from the unlicensed version of CartoTypeCore that is available only in the licensed version.
|
constexpr |
A string was not transliterable.
|
constexpr |
A code for standard warning messages.
|
constexpr |
An unsupported feature was requested from the XML parser.
|
constexpr |
The end of the range of errors in XML parsing or in the style sheet format.
|
constexpr |
The start of the range of errors in XML parsing or in the style sheet format, such as a syntactically incorrect dimension or color. The top byte is 0x10 for style sheet errors, or in the range 0x11 to 0x2A for Expat XML parser error codes.
The low three bytes give the error location: one byte for the column number (clamped to 0...255) two bytes for the line number (clamped to 0...65535).
|
constexpr |
There was an attempt to zoom beyond the legal zoom limits for a map.
const uint32_t CartoTypeCore::KEthiopicScript = 0x400000 |
A bit flag used in typeface matching: the Ethiopic script.
const uint32_t CartoTypeCore::KFantasyStyle = 16 |
The bit flag used to select a 'fantasy' font (as defined in http://www.w3.org/TR/REC-CSS2/fonts.html#generic-font-families) in TypefaceAttrib::Style, etc.
|
constexpr |
A flag to rotate the map to the user's heading.
|
constexpr |
A flag to make the center of the map follow the user's location.
|
constexpr |
A flag to set the map to a suitable zoom level for the user's speed.
const uint32_t CartoTypeCore::KGeorgianScript = 0x100000 |
A bit flag used in typeface matching: the Georgian script.
const uint32_t CartoTypeCore::KGray = KGrey |
Opaque gray.
const uint32_t CartoTypeCore::KGreekScript = 2 |
A bit flag used in typeface matching: the Greek script.
const uint32_t CartoTypeCore::KGreen = 0xFF00FF00 |
Opaque green.
const uint32_t CartoTypeCore::KGrey = 0xFFAAAAAA |
Opaque grey.
const uint32_t CartoTypeCore::KGujaratiScript = 0x200 |
A bit flag used in typeface matching: the Gujarati script.
const uint32_t CartoTypeCore::KGurmukhiScript = 0x100 |
A bit flag used in typeface matching: the Gurmukhi script.
const uint32_t CartoTypeCore::KHangulScript = 0x200000 |
A bit flag used in typeface matching: the Hangul script.
const uint32_t CartoTypeCore::KHanScript = 0x10000000 |
A bit flag used in typeface matching: the Han script.
const uint32_t CartoTypeCore::KHebrewScript = 0x10 |
A bit flag used in typeface matching: the Hebrew script.
const uint32_t CartoTypeCore::KHiraganaScript = 0x2000000 |
A bit flag used in typeface matching: the Japanese Hiragana script.
const uint32_t CartoTypeCore::KItalicStyle = 2 |
The bit flag used to select italics in styles in TypefaceAttrib::Style, etc.
const uint32_t CartoTypeCore::KKannadaScript = 0x2000 |
A bit flag used in typeface matching: the Kannada script.
const uint32_t CartoTypeCore::KKatakanaScript = 0x4000000 |
A bit flag used in typeface matching: the Japanese Katakana script.
const uint32_t CartoTypeCore::KKhmerScript = 0x800000 |
A bit flag used in typeface matching: the Khmer script.
const uint32_t CartoTypeCore::KLaoScript = 0x20000 |
A bit flag used in typeface matching: the Lao script.
const uint32_t CartoTypeCore::KLatinScript = 1 |
A bit flag used in typeface matching: the Latin script.
|
constexpr |
A constant for the title case dictionary passed to MString::SetCase. When setting text to title case, do not capitalize the first letter unless the word is initial. Used for particles like 'on', 'of', etc. and their upper-case variants.
const uint32_t CartoTypeCore::KMagenta = 0xFFFF00FF |
Opaque magenta.
const uint32_t CartoTypeCore::KMalayalamScript = 0x4000 |
A bit flag used in typeface matching: the Malayalam script.
|
constexpr |
Number of map units per projected meter. Map units are used for the coordinates of map objects.
|
constexpr |
The maximum length for a map label in characters. The large size allows the use of complex multi-line labels. There has to be a fixed maximum length because of the fixed size of the glyph cache (see CEngine::EGlyphLogEntries).
|
constexpr |
The maximum legal map scale denominator.
|
constexpr |
The minimum legal map scale denominator.
const uint32_t CartoTypeCore::KMongolianScript = 0x1000000 |
A bit flag used in typeface matching: the Mongolian script.
const uint32_t CartoTypeCore::KMonospaceStyle = 32 |
The bit flag used to select a monospace font in TypefaceAttrib::Style, etc.
const uint32_t CartoTypeCore::KMyanmarScript = 0x80000 |
A bit flag used in typeface matching: the Myanmar script.
const uint32_t CartoTypeCore::KOriyaScript = 0x400 |
A bit flag used in typeface matching: the Oriya script.
const uint32_t CartoTypeCore::KOtherScript = 0x80000000 |
A bit flag used in typeface matching: other scripts.
|
constexpr |
The value of pi as a double-precision floating-point number.
|
constexpr |
The value of pi as a single-precision floating-point number.
|
constexpr |
A factor to convert radians to degrees: the number of degrees in a radian.
|
constexpr |
A factor to convert radians to metres for the Mercator and other projections. It is the semi-major axis (equatorial radius) used by the WGS 84 datum (see http://en.wikipedia.org/wiki/WGS84). A synonym of KEquatorialRadiusInMetres.
const uint32_t CartoTypeCore::KRed = 0xFF0000FF |
Opaque red.
const uint32_t CartoTypeCore::KReservedScript = 0x20000000 |
A bit flag used in typeface matching: this value is reserved and must not be used.
|
constexpr |
A factor to convert scaled degrees, represented in 11.21 fixed-point format, to metres, using the semi-major axis (equatorial radius) used by the WGS 84 datum.
const uint32_t CartoTypeCore::KSerifStyle = 4 |
The bit flag used to select a serif font in TypefaceAttrib::Style, etc.
const uint32_t CartoTypeCore::KSinhalaScript = 0x8000 |
A bit flag used in typeface matching: the Sinhala script.
|
constexpr |
The number of standard error codes.
|
constexpr |
A constant for the title case dictionary passed to MString::SetCase. No special title case treatment. This constant must be zero.
const uint32_t CartoTypeCore::KSymbolScript = 0x40000000 |
A bit flag used in typeface matching: Symbols and other non-alphabetic characters.
const uint32_t CartoTypeCore::KTamilScript = 0x800 |
A bit flag used in typeface matching: the Tamil script.
const uint32_t CartoTypeCore::KTeluguScript = 0x1000 |
A bit flag used in typeface matching: the Telugu script.
const uint32_t CartoTypeCore::KThaiScript = 0x10000 |
A bit flag used in typeface matching: the Thai script.
const uint32_t CartoTypeCore::KTibetanScript = 0x40000 |
A bit flag used in typeface matching: the Tibetan script.
const uint32_t CartoTypeCore::KTransparentBlack = 0x00000000 |
The 'null color' transparent black.
|
constexpr |
A constant for the title case dictionary passed to MString::SetCase. When setting text to title case, leave these strings as they are (they are already upper-case). Used for acronyms like US, roman numerals like II, etc.
|
constexpr |
The flattening constant used by the WGS84 reference ellipsoid.
const uint32_t CartoTypeCore::KWhite = 0xFFFFFFFF |
Opaque white.
const uint32_t CartoTypeCore::KYellow = 0xFF00FFFF |
Opaque yellow.