|
using | AnnotationID = uint64_t |
|
using | AnnotationIDs = std::vector< AnnotationID > |
|
using | ShapeAnnotationGeometry = variant< LineString< double >, Polygon< double >, MultiLineString< double >, MultiPolygon< double > > |
|
using | Annotation = variant< SymbolAnnotation, LineAnnotation, FillAnnotation > |
|
using | EnumType = uint32_t |
|
using | OfflineRegionDefinition = variant< OfflineTilePyramidRegionDefinition, OfflineGeometryRegionDefinition > |
|
using | OfflineRegionMetadata = std::vector< uint8_t > |
|
using | OfflineRegions = std::vector< OfflineRegion > |
|
using | Clock = std::chrono::steady_clock |
|
using | Seconds = std::chrono::seconds |
|
using | Milliseconds = std::chrono::milliseconds |
|
using | TimePoint = Clock::time_point |
|
using | Duration = Clock::duration |
|
using | Timestamp = std::chrono::time_point< std::chrono::system_clock, Seconds > |
|
template<class T , class E > |
using | expected = nonstd::expected< T, E > |
|
template<class E > |
using | unexpected = nonstd::unexpected_type< E > |
|
using | Value = mapbox::base::Value |
|
using | NullValue = mapbox::base::NullValue |
|
using | PropertyMap = mapbox::base::ValueObject |
|
using | FeatureIdentifier = mapbox::feature::identifier |
|
using | GeoJSONFeature = mapbox::feature::feature< double > |
|
using | FeatureState = mapbox::base::ValueObject |
|
using | FeatureStates = std::unordered_map< std::string, FeatureState > |
|
using | LayerFeatureStates = std::unordered_map< std::string, FeatureStates > |
|
using | FontStack = std::vector< std::string > |
|
using | FontStackHash = std::size_t |
|
using | ScreenCoordinate = mapbox::geometry::point< double > |
|
using | ScreenLineString = mapbox::geometry::line_string< double > |
|
using | ScreenBox = mapbox::geometry::box< double > |
|
using | GeoJSON = mapbox::geojson::geojson |
|
using | FeatureCollection = mapbox::geojson::feature_collection |
|
using | FeatureExtensionValue = mapbox::util::variant< Value, FeatureCollection > |
|
using | EmptyGeometry = mapbox::geometry::empty |
|
template<class T > |
using | Point = mapbox::geometry::point< T > |
|
template<class T > |
using | LineString = mapbox::geometry::line_string< T > |
|
template<class T > |
using | Polygon = mapbox::geometry::polygon< T > |
|
template<class T > |
using | MultiPoint = mapbox::geometry::multi_point< T > |
|
template<class T > |
using | MultiLineString = mapbox::geometry::multi_line_string< T > |
|
template<class T > |
using | MultiPolygon = mapbox::geometry::multi_polygon< T > |
|
template<class T > |
using | LinearRing = mapbox::geometry::linear_ring< T > |
|
template<class T > |
using | Geometry = mapbox::geometry::geometry< T > |
|
using | UnassociatedImage = Image< ImageAlphaMode::Unassociated > |
|
using | PremultipliedImage = Image< ImageAlphaMode::Premultiplied > |
|
using | AlphaImage = Image< ImageAlphaMode::Exclusive > |
|
template<class , class T > |
using | ExpandToType = T |
|
template<typename T > |
using | is_utf16char_like_pointer = std::integral_constant< bool, std::is_pointer_v< T > &&is_utf16char_like< typename std::remove_pointer< T >::type >::value > |
|
template<class TypeList , template< class > class Predicate> |
using | FilteredTypeList = typename detail::TypeFilter< TypeList, Predicate >::Type |
|
template<class... Ts> |
using | TypeListConcat = typename detail::TypeListConcat< Ts... >::Type |
|
template<typename... T> |
using | variant = mapbox::util::variant< T... > |
|
using | vec2 = std::array< double, 2 > |
|
using | vec3 = std::array< double, 3 > |
|
using | vec3f = std::array< float, 3 > |
|
using | vec3i = std::array< int, 3 > |
|
using | vec4 = std::array< double, 4 > |
|
|
enum | MapChange : uint8_t {
MapChangeRegionWillChange = 0
, MapChangeRegionWillChangeAnimated = 1
, MapChangeRegionIsChanging = 2
, MapChangeRegionDidChange = 3
,
MapChangeRegionDidChangeAnimated = 4
, MapChangeWillStartLoadingMap = 5
, MapChangeDidFinishLoadingMap = 6
, MapChangeDidFailLoadingMap = 7
,
MapChangeWillStartRenderingFrame = 8
, MapChangeDidFinishRenderingFrame = 9
, MapChangeDidFinishRenderingFrameFullyRendered = 10
, MapChangeWillStartRenderingMap = 11
,
MapChangeDidFinishRenderingMap = 12
, MapChangeDidFinishRenderingMapFullyRendered = 13
, MapChangeDidFinishLoadingStyle = 14
, MapChangeSourceDidChange = 15
} |
|
enum class | MapLoadError { StyleParseError
, StyleLoadError
, NotFoundError
, UnknownError
} |
|
enum class | MapMode : EnumType { Continuous
, Static
, Tile
} |
|
enum class | ConstrainMode : EnumType { None
, HeightOnly
, WidthAndHeight
} |
|
enum class | ViewportMode : EnumType { Default
, FlippedY
} |
|
enum class | MapDebugOptions : EnumType {
NoDebug = 0
, TileBorders = 1 << 1
, ParseStatus = 1 << 2
, Timestamps = 1 << 3
,
Collision = 1 << 4
, Overdraw = 1 << 5
, StencilClip = 1 << 6
, DepthBuffer = 1 << 7
} |
|
enum | FileSourceType : uint8_t {
Asset
, Database
, FileSystem
, Network
,
Mbtiles
, ResourceLoader
} |
|
enum class | OfflineRegionDownloadState { Inactive
, Active
} |
|
enum class | TileNecessity : bool { Optional = false
, Required = true
} |
|
enum class | EventSeverity : uint8_t { Debug
, Info
, Warning
, Error
} |
|
enum class | Event : uint8_t {
General
, Setup
, Shader
, ParseStyle
,
ParseTile
, Render
, Style
, Database
,
HttpRequest
, Sprite
, Image
, OpenGL
,
JNI
, Android
, Crash
, Glyph
,
Timing
} |
|
enum class | NorthOrientation : uint8_t { Upwards
, Rightwards
, Downwards
, Leftwards
} |
|
enum class | FeatureType : uint8_t { Unknown = 0
, Point = 1
, LineString = 2
, Polygon = 3
} |
|
enum class | ImageAlphaMode { Unassociated
, Premultiplied
, Exclusive
} |
|
|
constexpr bool | operator== (const CameraOptions &a, const CameraOptions &b) |
|
constexpr bool | operator!= (const CameraOptions &a, const CameraOptions &b) |
|
MBGL_CONSTEXPR MapDebugOptions | operator| (MapDebugOptions lhs, MapDebugOptions rhs) |
|
MBGL_CONSTEXPR MapDebugOptions & | operator|= (MapDebugOptions &lhs, MapDebugOptions rhs) |
|
MBGL_CONSTEXPR bool | operator& (MapDebugOptions lhs, MapDebugOptions rhs) |
|
MBGL_CONSTEXPR MapDebugOptions & | operator&= (MapDebugOptions &lhs, MapDebugOptions rhs) |
|
MBGL_CONSTEXPR MapDebugOptions | operator~ (MapDebugOptions value) |
|
std::string | encodeOfflineRegionDefinition (const OfflineRegionDefinition &) |
|
OfflineRegionDefinition | decodeOfflineRegionDefinition (const std::string &) |
|
::std::ostream & | operator<< (::std::ostream &os, const CanonicalTileID &rhs) |
|
::std::ostream & | operator<< (::std::ostream &os, const OverscaledTileID &rhs) |
|
::std::ostream & | operator<< (::std::ostream &os, const UnwrappedTileID &rhs) |
|
template<typename Enum > |
MBGL_CONSTEXPR Enum | operator| (Enum a, Enum b) |
|
template<typename Enum > |
MBGL_CONSTEXPR Enum & | operator|= (Enum &a, Enum b) |
|
template<typename Enum > |
MBGL_CONSTEXPR bool | operator& (Enum a, Enum b) |
|
template<typename Enum > |
MBGL_CONSTEXPR Enum | operator~ (Enum value) |
|
bool | operator== (const Color &colorA, const Color &colorB) |
|
bool | operator!= (const Color &colorA, const Color &colorB) |
|
Color | operator* (const Color &color, float alpha) |
|
template<class T > |
std::optional< T > | numericValue (const Value &value) |
|
std::optional< std::string > | featureIDtoString (const FeatureIdentifier &id) |
|
std::string | fontStackToString (const FontStack &) |
|
std::set< FontStack > | fontStacks (const std::vector< Immutable< style::Layer::Impl >> &) |
|
template<class S , class T > |
Point< S > | convertPoint (const Point< T > &p) |
|
template<class T , typename F > |
auto | forEachPoint (const Geometry< T > &g, F f) |
|
PremultipliedImage | decodeImage (const std::string &) |
|
std::string | encodePNG (const PremultipliedImage &) |
|
template<class T , class... Args> |
Mutable< T > | makeMutable (Args &&... args) |
|
template<class S , class U > |
Mutable< S > | staticMutableCast (const Mutable< U > &u) |
|
template<class S , class U > |
Immutable< S > | staticImmutableCast (const Immutable< U > &u) |
|
template<class T , class Fn > |
void | mutate (Immutable< T > &immutable, Fn &&fn) |
|
template<class T > |
bool | operator== (const Range< T > &a, const Range< T > &b) |
|
template<class T > |
bool | operator!= (const Range< T > &a, const Range< T > &b) |
|
constexpr bool | operator== (const Size &a, const Size &b) |
|
constexpr bool | operator!= (const Size &a, const Size &b) |
|
template<typename T > |
constexpr auto | underlying_type (T t) -> typename std::underlying_type_t< T > |
|
template<class OutPointer , class InChar > |
std::enable_if< is_utf16char_like< InChar >::value &&is_utf16char_like_pointer< OutPointer >::value, OutPointer >::type | utf16char_cast (InChar *in) |
|
template<class T , class Fn >
void mbgl::mutate |
( |
Immutable< T > & |
immutable, |
|
|
Fn && |
fn |
|
) |
| |
Constrained mutation of an immutable reference. Makes a temporarily-mutable copy of the input Immutable using the inner type's copy constructor, runs the given callable on the mutable copy, and then freezes the copy and reassigns it to the input reference.
Note that other Immutables referring to the same inner instance are not affected; they continue to referencing the original immutable instance.
Definition at line 127 of file immutable.hpp.