MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mbgl::style::expression::Value Struct Reference

#include <value.hpp>

Inheritance diagram for mbgl::style::expression::Value:

Public Member Functions

VARIANT_INLINE Value ()
 
template<typename T >
VARIANT_INLINE Value (T &&val)
 

Static Public Member Functions

static uint64_t maxSafeInteger ()
 
static bool isSafeInteger (uint64_t x)
 
static bool isSafeInteger (int64_t x)
 
static bool isSafeInteger (double x)
 

Detailed Description

Definition at line 35 of file value.hpp.

Constructor & Destructor Documentation

◆ Value() [1/2]

VARIANT_INLINE mbgl::style::expression::Value::Value ( )
inline

Definition at line 38 of file value.hpp.

◆ Value() [2/2]

template<typename T >
VARIANT_INLINE mbgl::style::expression::Value::Value ( T &&  val)
inline

Definition at line 41 of file value.hpp.

Member Function Documentation

◆ isSafeInteger() [1/3]

static bool mbgl::style::expression::Value::isSafeInteger ( double  x)
inlinestatic

Definition at line 50 of file value.hpp.

◆ isSafeInteger() [2/3]

static bool mbgl::style::expression::Value::isSafeInteger ( int64_t  x)
inlinestatic

Definition at line 47 of file value.hpp.

◆ isSafeInteger() [3/3]

static bool mbgl::style::expression::Value::isSafeInteger ( uint64_t  x)
inlinestatic

Definition at line 46 of file value.hpp.

◆ maxSafeInteger()

static uint64_t mbgl::style::expression::Value::maxSafeInteger ( )
inlinestatic

Definition at line 44 of file value.hpp.


The documentation for this struct was generated from the following file: