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

#include <NumberParser.hpp>

Static Public Member Functions

template<class t_type >
static t_type _parse (const char *in, const char **out, t_type NaN_Value, bool check_overflow)
 
template<class t_type >
static t_type parse (const char *in, const char **out=nullptr, t_type NaN_Value=Constant< t_type >::NaN, bool check_overflow=true)
 
template<class t_type >
static constexpr t_type parseUInt (const char *in, const char **out, t_type NaN_Value, bool check_overflow)
 
template<class t_int_type , typename t_type >
static t_type parseFloat (const char *c, const char **out_s, t_type NaN_Value, bool check_overflow)
 
template<>
static uint01 _parse (const char *in, const char **out, uint01 NaN_Value, bool check_overflow)
 
template<>
static uint02 _parse (const char *in, const char **out, uint02 NaN_Value, bool check_overflow)
 
template<>
static uint04 _parse (const char *in, const char **out, uint04 NaN_Value, bool check_overflow)
 
template<>
static uint08 _parse (const char *in, const char **out, uint08 NaN_Value, bool check_overflow)
 
template<>
static sint01 _parse (const char *in, const char **out, sint01 NaN_Value, bool check_overflow)
 
template<>
static sint02 _parse (const char *in, const char **out, sint02 NaN_Value, bool check_overflow)
 
template<>
static sint04 _parse (const char *in, const char **out, sint04 NaN_Value, bool check_overflow)
 
template<>
static sint08 _parse (const char *in, const char **out, sint08 NaN_Value, bool check_overflow)
 
template<>
static fltp04 _parse (const char *in, const char **out, fltp04 NaN_Value, bool check_overflow)
 
template<>
static fltp08 _parse (const char *in, const char **out, fltp08 NaN_Value, bool check_overflow)
 
static uint04 parseOctal (const char *in, const char **out=nullptr)
 
static uint04 parseHex (const char *in, const char **out=nullptr)
 
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_char_type >
static uint04 strtoul_cppstyle (const t_char_type *in, const t_char_type **out=nullptr)
 
template<>
static Angle< sint04_parse (const char *in, const char **out, Angle< sint04 > NaN_Value, bool check_overflow)
 
template<>
static Angle< fltp08_parse (const char *in, const char **out, Angle< fltp08 > NaN_Value, bool check_overflow)
 
template<>
static Angle< fltp04_parse (const char *in, const char **out, Angle< fltp04 > NaN_Value, bool check_overflow)
 

Member Function Documentation

◆ _parse() [1/14]

template<>
static Angle< fltp04 > _parse ( const char * in,
const char ** out,
Angle< fltp04 > NaN_Value,
bool check_overflow )
inlinestatic

◆ _parse() [2/14]

template<>
static Angle< fltp08 > _parse ( const char * in,
const char ** out,
Angle< fltp08 > NaN_Value,
bool check_overflow )
inlinestatic

◆ _parse() [3/14]

template<>
static Angle< sint04 > _parse ( const char * in,
const char ** out,
Angle< sint04 > NaN_Value,
bool check_overflow )
inlinestatic

◆ _parse() [4/14]

template<>
static fltp04 _parse ( const char * in,
const char ** out,
fltp04 NaN_Value,
bool check_overflow )
inlinestatic

◆ _parse() [5/14]

template<>
static fltp08 _parse ( const char * in,
const char ** out,
fltp08 NaN_Value,
bool check_overflow )
inlinestatic

◆ _parse() [6/14]

template<>
static sint01 _parse ( const char * in,
const char ** out,
sint01 NaN_Value,
bool check_overflow )
inlinestatic

◆ _parse() [7/14]

template<>
static sint02 _parse ( const char * in,
const char ** out,
sint02 NaN_Value,
bool check_overflow )
inlinestatic

◆ _parse() [8/14]

template<>
static sint04 _parse ( const char * in,
const char ** out,
sint04 NaN_Value,
bool check_overflow )
inlinestatic

◆ _parse() [9/14]

template<>
static sint08 _parse ( const char * in,
const char ** out,
sint08 NaN_Value,
bool check_overflow )
inlinestatic

◆ _parse() [10/14]

template<class t_type >
static t_type _parse ( const char * in,
const char ** out,
t_type NaN_Value,
bool check_overflow )
static

◆ _parse() [11/14]

template<>
static uint01 _parse ( const char * in,
const char ** out,
uint01 NaN_Value,
bool check_overflow )
inlinestatic

◆ _parse() [12/14]

template<>
static uint02 _parse ( const char * in,
const char ** out,
uint02 NaN_Value,
bool check_overflow )
inlinestatic

◆ _parse() [13/14]

template<>
static uint04 _parse ( const char * in,
const char ** out,
uint04 NaN_Value,
bool check_overflow )
inlinestatic

◆ _parse() [14/14]

template<>
static uint08 _parse ( const char * in,
const char ** out,
uint08 NaN_Value,
bool check_overflow )
inlinestatic

◆ 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 NaN_Value = Constant<t_type>::NaN,
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 NaN_Value,
bool check_overflow )
inlinestatic

◆ parseHex()

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

◆ parseOctal()

static uint04 parseOctal ( 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 NaN_Value,
bool check_overflow )
inlinestaticconstexpr

◆ strtoul_cppstyle()

template<class t_char_type >
static uint04 strtoul_cppstyle ( const t_char_type * in,
const t_char_type ** out = nullptr )
inlinestatic

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