8#ifndef INCLUDED_BDLB_NUMERICPARSEUTIL
9#define INCLUDED_BDLB_NUMERICPARSEUTIL
230#include <bdlscm_version.h>
235#include <bsl_string.h>
236#include <bsl_string_view.h>
389 static int parseUint(
unsigned int *result,
562 return parseInt(result, &rest, inputString, base);
573 return parseInt64(result, &rest, inputString, base);
584 return parseShort(result, &rest, inputString, base);
595 return parseUint(result, &rest, inputString, base);
606 return parseUint64(result, &rest, inputString, base);
617 return parseUshort(result, &rest, inputString, base);
631 result, &rest, inputString, base, minValue, maxValue);
659 result, &rest, inputString, base, maxValue, maxNumDigits);
Definition bslstl_stringview.h:441
std::size_t size_type
Definition bslstl_stringview.h:457
#define BSLS_ASSERT(X)
Definition bsls_assert.h:1804
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition bdlb_algorithmworkaroundutil.h:74
Definition bdlb_numericparseutil.h:247
static int parseUint64(bsls::Types::Uint64 *result, const bsl::string_view &inputString, int base=10)
Definition bdlb_numericparseutil.h:599
bsl::string_view::size_type size_type
Shorter name for readability.
Definition bdlb_numericparseutil.h:253
static int parseShort(short *result, bsl::string_view *remainder, const bsl::string_view &inputString, int base=10)
static int parseDouble(double *result, bsl::string_view *remainder, const bsl::string_view &inputString)
static int parseUint64(bsls::Types::Uint64 *result, bsl::string_view *remainder, const bsl::string_view &inputString, int base=10)
static int parseUnsignedInteger(bsls::Types::Uint64 *result, const bsl::string_view &inputString, int base, const bsls::Types::Uint64 maxValue)
Definition bdlb_numericparseutil.h:635
static int parseUshort(unsigned short *result, const bsl::string_view &inputString, int base=10)
Definition bdlb_numericparseutil.h:610
static int parseInt64(bsls::Types::Int64 *result, const bsl::string_view &inputString, int base=10)
Definition bdlb_numericparseutil.h:566
static int parseDouble(double *result, const bsl::string_view &inputString)
Definition bdlb_numericparseutil.h:545
static int parseInt(int *result, const bsl::string_view &inputString, int base=10)
Definition bdlb_numericparseutil.h:555
static int parseUshort(unsigned short *result, bsl::string_view *remainder, const bsl::string_view &inputString, int base=10)
static int parseUnsignedInteger(bsls::Types::Uint64 *result, bsl::string_view *remainder, const bsl::string_view &inputString, int base, const bsls::Types::Uint64 maxValue, int maxNumDigits)
static int parseUint(unsigned int *result, bsl::string_view *remainder, const bsl::string_view &inputString, int base=10)
static int parseUint(unsigned int *result, const bsl::string_view &inputString, int base=10)
Definition bdlb_numericparseutil.h:588
static int characterToDigit(char character, int base)
static int parseInt64(bsls::Types::Int64 *result, bsl::string_view *remainder, const bsl::string_view &inputString, int base=10)
static int parseInt(int *result, bsl::string_view *remainder, const bsl::string_view &inputString, int base=10)
static int parseShort(short *result, const bsl::string_view &inputString, int base=10)
Definition bdlb_numericparseutil.h:577
static int parseUnsignedInteger(bsls::Types::Uint64 *result, bsl::string_view *remainder, const bsl::string_view &inputString, int base, const bsls::Types::Uint64 maxValue)
static int parseSignedInteger(bsls::Types::Int64 *result, const bsl::string_view &inputString, int base, const bsls::Types::Int64 minValue, const bsls::Types::Int64 maxValue)
Definition bdlb_numericparseutil.h:621
static int parseSignedInteger(bsls::Types::Int64 *result, bsl::string_view *remainder, const bsl::string_view &inputString, int base, const bsls::Types::Int64 minValue, const bsls::Types::Int64 maxValue)
unsigned long long Uint64
Definition bsls_types.h:137
long long Int64
Definition bsls_types.h:132