Evo C++ Library v0.5.1
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
LogLevelEnum Struct Reference

#include <evo/logger.h>

Detailed Description

LogLevel enum helper created with EVO_ENUM_REMAP().

Public Types

typedef EnumMapIterator< LogLevelEnumIter
 
typedef LogLevel Type
 

Static Public Member Functions

static LogLevel get_enum (const evo::SubString &key)
 
static LogLevel get_enum (int val)
 
static int get_int (LogLevel val)
 
static const LogLevelget_remap_array ()
 
static const SizeTget_reverse_remap_array ()
 
static SubString get_string (LogLevel val)
 
static const evo::SubStringMapListmap ()
 

Static Public Attributes

static const LogLevel FIRST = LOG_LEVEL_ALERT
 
static const LogLevel LAST = LOG_LEVEL_DEBUG_LOW
 
static const LogLevel UNKNOWN = LOG_LEVEL_DISABLED
 

Member Typedef Documentation

◆ Iter

◆ Type

typedef LogLevel Type

Member Function Documentation

◆ get_enum() [1/2]

static LogLevel get_enum ( const evo::SubString key)
inlinestatic

◆ get_enum() [2/2]

static LogLevel get_enum ( int  val)
inlinestatic

◆ get_int()

static int get_int ( LogLevel  val)
inlinestatic

◆ get_remap_array()

static const LogLevel* get_remap_array ( )
inlinestatic

◆ get_reverse_remap_array()

static const SizeT* get_reverse_remap_array ( )
inlinestatic

◆ get_string()

static SubString get_string ( LogLevel  val)
inlinestatic

◆ map()

static const evo::SubStringMapList& map ( )
inlinestatic

Member Data Documentation

◆ FIRST

const LogLevel FIRST = LOG_LEVEL_ALERT
static

◆ LAST

const LogLevel LAST = LOG_LEVEL_DEBUG_LOW
static

◆ UNKNOWN

const LogLevel UNKNOWN = LOG_LEVEL_DISABLED
static

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