API Documentation
Loading...
Searching...
No Matches
NumberParser Class Reference

#include <NumberParser.hpp>

Static Public Member Functions

template<class t_char_type >
static uint04 HexDigitToDecimal (t_char_type in)
 
template<class t_char_type >
static uint01 HexOctetToDecimal (const t_char_type *in)
 
template<class t_type >
static t_type parse (const char *in, const char **out=nullptr, t_type Invalid_Value=Constant< t_type >::Invalid, bool check_overflow=true)
 
template<class t_int_type , typename t_type >
static t_type parseFloat (const char *c, const char **out_s, t_type Invalid_Value, bool check_overflow)
 
static uint04 parseHex (const char *in, const char **out=nullptr)
 
template<class t_type >
static constexpr t_type parseUInt (const char *in, const char **out, t_type Invalid_Value, bool check_overflow)
 

Member Function Documentation

◆ HexDigitToDecimal()

template<class t_char_type >
static uint04 HexDigitToDecimal ( t_char_type in)
inlinestatic

◆ HexOctetToDecimal()

template<class t_char_type >
static uint01 HexOctetToDecimal ( const t_char_type * in)
inlinestatic

◆ parse()

template<class t_type >
static t_type parse ( const char * in,
const char ** out = nullptr,
t_type Invalid_Value = Constant<t_type>::Invalid,
bool check_overflow = true )
inlinestatic

◆ parseFloat()

template<class t_int_type , typename t_type >
static t_type parseFloat ( const char * c,
const char ** out_s,
t_type Invalid_Value,
bool check_overflow )
inlinestatic

◆ parseHex()

static uint04 parseHex ( const char * in,
const char ** out = nullptr )
inlinestatic

◆ parseUInt()

template<class t_type >
static constexpr t_type parseUInt ( const char * in,
const char ** out,
t_type Invalid_Value,
bool check_overflow )
inlinestaticconstexpr

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