ALib C++ Library
Library Version: 2412 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
numberconversion.hpp File Reference

Description:

This header file is part of module ALib Strings of the ALib C++ Library.

© 2013-2024 A-Worx GmbH, Germany. Published under Boost Software License.

Definition in file numberconversion.hpp.

Include dependency graph for numberconversion.hpp:

Go to the source code of this file.

Namespaces

namespace  alib
 
namespace  alib::strings
 
namespace  alib::strings::detail
 This is a detail namespace of module ALib Strings.
 

Functions

template<typename TChar >
ALIB_API uint64_t ParseBin (const TString< TChar > &src, integer &idx, const TNumberFormat< TChar > &nf)
 
template<typename TChar >
ALIB_API uint64_t ParseDec (const TString< TChar > &src, integer &idx, const TNumberFormat< TChar > &nf)
 
template<typename TChar >
uint64_t ParseDecDigits (const TString< TChar > &src, integer &idx)
 
template<typename TChar >
ALIB_API double ParseFloat (const TString< TChar > &src, integer &idx, const TNumberFormat< TChar > &nf)
 
template<typename TChar >
ALIB_API uint64_t ParseHex (const TString< TChar > &src, integer &idx, const TNumberFormat< TChar > &nf)
 
template<typename TChar >
ALIB_API int64_t ParseInt (const TString< TChar > &src, integer &idx, const TNumberFormat< TChar > &nf)
 
template<typename TChar >
ALIB_API uint64_t ParseOct (const TString< TChar > &src, integer &idx, const TNumberFormat< TChar > &nf)
 
template<typename TChar >
ALIB_API integer WriteBin (uint64_t value, TChar *buffer, integer idx, int minWidth, const TNumberFormat< TChar > &nf)
 
template<typename TChar >
ALIB_API integer WriteDecSigned (int64_t value, TChar *buffer, integer idx, int minWidth, const TNumberFormat< TChar > &nf)
 
template<typename TChar >
ALIB_API integer WriteDecUnsigned (uint64_t value, TChar *buffer, integer idx, int minWidth, const TNumberFormat< TChar > &nf)
 
template<typename TChar >
ALIB_API integer WriteFloat (double value, TChar *buffer, integer idx, int minWidth, const TNumberFormat< TChar > &nf)
 
template<typename TChar >
ALIB_API integer WriteHex (uint64_t value, TChar *buffer, integer idx, int minWidth, const TNumberFormat< TChar > &nf)
 
template<typename TChar >
ALIB_API integer WriteOct (uint64_t value, TChar *buffer, integer idx, int minWidth, const TNumberFormat< TChar > &nf)