10#if !defined (HPP_ALIB_STRINGS_SUBSTRING)
14#if !defined (HPP_ALIB_STRINGS_DETAIL_NUMBERCONVERSION)
25namespace alib {
namespace strings {
27template<
typename TChar>
34 ConsumeChars<false>( idx );
40template<
typename TChar>
43 if ( numberFormat ==
nullptr )
50 ConsumeChars<false>( idx );
56template<
typename TChar>
59 if ( numberFormat ==
nullptr )
66 ConsumeChars<false>( idx );
72template<
typename TChar>
75 if ( numberFormat ==
nullptr )
82 ConsumeChars<false>( idx );
88template<
typename TChar>
91 if ( numberFormat ==
nullptr )
98 ConsumeChars<false>( idx );
104template<
typename TChar>
107 if ( numberFormat ==
nullptr )
114 ConsumeChars<false>( idx );
120template<
typename TChar>
124 if ( numberFormat ==
nullptr )
131 ConsumeChars<false>( idx );
ALIB_API bool consumeDecDigitsImpl(uint64_t &result)
ALIB_API bool consumeBinImpl(uint64_t &result, TNumberFormat< TChar > *numberFormat)
ALIB_API bool ConsumeFloat(double &result, TNumberFormat< TChar > *numberFormat=nullptr)
ALIB_API bool consumeHexImpl(uint64_t &result, TNumberFormat< TChar > *numberFormat)
ALIB_API bool consumeIntImpl(int64_t &result, TNumberFormat< TChar > *numberFormat)
ALIB_API bool consumeDecImpl(uint64_t &result, TNumberFormat< TChar > *numberFormat)
ALIB_API bool consumeOctImpl(uint64_t &result, TNumberFormat< TChar > *numberFormat)
ALIB_API uint64_t ParseOct(const TString< TChar > &src, integer &idx, const TNumberFormat< TChar > &nf)
ALIB_API int64_t ParseInt(const TString< TChar > &src, integer &idx, const TNumberFormat< TChar > &nf)
ALIB_API uint64_t ParseHex(const TString< TChar > &src, integer &idx, const TNumberFormat< TChar > &nf)
ALIB_API uint64_t ParseBin(const TString< TChar > &src, integer &idx, const TNumberFormat< TChar > &nf)
uint64_t ParseDecDigits(const TString< TChar > &src, integer &idx)
ALIB_API double ParseFloat(const TString< TChar > &src, integer &idx, const TNumberFormat< TChar > &nf)
ALIB_API uint64_t ParseDec(const TString< TChar > &src, integer &idx, const TNumberFormat< TChar > &nf)
lang::integer integer
Type alias in namespace alib.