MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mbgl::Enum< T > Class Template Reference

#include <enum.hpp>

Public Types

using Type = T
 

Static Public Member Functions

static const char * toString (T)
 
static std::optional< T > toEnum (const std::string &)
 

Detailed Description

template<typename T>
class mbgl::Enum< T >

Definition at line 11 of file enum.hpp.

Member Typedef Documentation

◆ Type

template<typename T >
using mbgl::Enum< T >::Type = T

Definition at line 13 of file enum.hpp.

Member Function Documentation

◆ toEnum()

template<typename T >
static std::optional<T> mbgl::Enum< T >::toEnum ( const std::string &  )
static

◆ toString()

template<typename T >
static const char* mbgl::Enum< T >::toString ( )
static

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