MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mbgl::style::StyleProperty Class Reference

Generic representation of a style property. More...

#include <style_property.hpp>

Public Types

enum class  Kind : uint8_t { Undefined , Constant , Expression , Transition }
 

Public Member Functions

 StyleProperty (Value value_, Kind kind_)
 
 StyleProperty ()=default
 
const ValuegetValue () const
 
ValuegetValue ()
 
Kind getKind () const
 

Detailed Description

Generic representation of a style property.

Definition at line 11 of file style_property.hpp.

Member Enumeration Documentation

◆ Kind

enum mbgl::style::StyleProperty::Kind : uint8_t
strong
Enumerator
Undefined 
Constant 
Expression 
Transition 

Definition at line 13 of file style_property.hpp.

Constructor & Destructor Documentation

◆ StyleProperty() [1/2]

mbgl::style::StyleProperty::StyleProperty ( Value  value_,
Kind  kind_ 
)
inline

Definition at line 14 of file style_property.hpp.

◆ StyleProperty() [2/2]

mbgl::style::StyleProperty::StyleProperty ( )
default

Member Function Documentation

◆ getKind()

Kind mbgl::style::StyleProperty::getKind ( ) const
inline

Definition at line 18 of file style_property.hpp.

◆ getValue() [1/2]

Value& mbgl::style::StyleProperty::getValue ( )
inline

Definition at line 17 of file style_property.hpp.

◆ getValue() [2/2]

const Value& mbgl::style::StyleProperty::getValue ( ) const
inline

Definition at line 16 of file style_property.hpp.


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