Audacity 3.2.0
|
Define functions to convert numeric types to string representation. More...
Go to the source code of this file.
Namespaces | |
namespace | anonymous_namespace{FromChars.cpp} |
Functions | |
unsigned | anonymous_namespace{FromChars.cpp}::digitToInt (char c) noexcept |
template<typename T > | |
bool | anonymous_namespace{FromChars.cpp}::safeMul10Add (T &result, T a, T b) |
template<typename ResultType > | |
FromCharsResult | anonymous_namespace{FromChars.cpp}::FastStringToInt (const char *first, const char *last, ResultType &value, bool isNegative) noexcept |
template<typename ResultType > | |
FromCharsResult | anonymous_namespace{FromChars.cpp}::IntFromChars (const char *buffer, const char *last, ResultType &value) noexcept |
FromCharsResult | FromChars (const char *buffer, const char *last, float &value) noexcept |
Parse a string into a single precision floating point value, always uses the dot as decimal. More... | |
FromCharsResult | FromChars (const char *buffer, const char *last, double &value) noexcept |
Parse a string into a single precision floating point value, always uses the dot as decimal. More... | |
FromCharsResult | FromChars (const char *buffer, const char *last, short &value) noexcept |
Parse a string into a signed 16-bit integer value. More... | |
FromCharsResult | FromChars (const char *buffer, const char *last, unsigned short &value) noexcept |
Parse a string into an unsigned 16-bit integer value. More... | |
FromCharsResult | FromChars (const char *buffer, const char *last, int &value) noexcept |
Parse a string into a signed 32-bit integer value. More... | |
FromCharsResult | FromChars (const char *buffer, const char *last, unsigned int &value) noexcept |
Parse a string into an unsigned 32-bit integer value. More... | |
FromCharsResult | FromChars (const char *buffer, const char *last, long &value) noexcept |
Parse a string into a signed long integer value. More... | |
FromCharsResult | FromChars (const char *buffer, const char *last, unsigned long &value) noexcept |
Parse a string into an unsigned long integer value. More... | |
FromCharsResult | FromChars (const char *buffer, const char *last, long long &value) noexcept |
Parse a string into a signed 64-bit integer value. More... | |
FromCharsResult | FromChars (const char *buffer, const char *last, unsigned long long &value) noexcept |
Parse a string into an unsigned 64-bit integer value. More... | |
FromCharsResult | FromChars (const char *buffer, const char *last, bool &value) noexcept |
Parse a string into a boolean value. String must be "0" or "1". More... | |
Define functions to convert numeric types to string representation.
Audacity: A Digital Audio Editor
Dmitry Vedenko
Definition in file FromChars.cpp.
|
noexcept |
Parse a string into a boolean value. String must be "0" or "1".
Definition at line 206 of file FromChars.cpp.
|
noexcept |
Parse a string into a single precision floating point value, always uses the dot as decimal.
Definition at line 159 of file FromChars.cpp.
References fast_float::from_chars().
|
noexcept |
Parse a string into a single precision floating point value, always uses the dot as decimal.
Definition at line 153 of file FromChars.cpp.
References fast_float::from_chars().
Referenced by anonymous_namespace{ImportMP3_MPG123.cpp}::GetId3v2Genre(), ProjectFileIO::GetValue(), audacity::cloud::audiocom::sync::anonymous_namespace{WavPackCompressor.cpp}::Importer::Importer(), audacity::cloud::audiocom::sync::anonymous_namespace{ResumedSnaphotUploadOperation.cpp}::IsUrlExpired(), XMLAttributeValueView::TryGet(), and XMLAttributeValueView::TryGetInteger().
|
noexcept |
Parse a string into a signed 32-bit integer value.
Definition at line 175 of file FromChars.cpp.
References anonymous_namespace{FromChars.cpp}::IntFromChars().
|
noexcept |
Parse a string into a signed long integer value.
Definition at line 185 of file FromChars.cpp.
References anonymous_namespace{FromChars.cpp}::IntFromChars().
|
noexcept |
Parse a string into a signed 64-bit integer value.
Definition at line 195 of file FromChars.cpp.
References anonymous_namespace{FromChars.cpp}::IntFromChars().
|
noexcept |
Parse a string into a signed 16-bit integer value.
Definition at line 165 of file FromChars.cpp.
References anonymous_namespace{FromChars.cpp}::IntFromChars().
|
noexcept |
Parse a string into an unsigned 32-bit integer value.
Definition at line 180 of file FromChars.cpp.
References anonymous_namespace{FromChars.cpp}::IntFromChars().
|
noexcept |
Parse a string into an unsigned long integer value.
Definition at line 190 of file FromChars.cpp.
References anonymous_namespace{FromChars.cpp}::IntFromChars().
|
noexcept |
Parse a string into an unsigned 64-bit integer value.
Definition at line 200 of file FromChars.cpp.
References anonymous_namespace{FromChars.cpp}::IntFromChars().
|
noexcept |
Parse a string into an unsigned 16-bit integer value.
Definition at line 170 of file FromChars.cpp.
References anonymous_namespace{FromChars.cpp}::IntFromChars().