[#BloombergLP-bdlb-NumericParseUtil-parseSignedInteger-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/NumericParseUtil.adoc[NumericParseUtil]::parseSignedInteger :relfileprefix: ../../../ :mrdocs: `parseSignedInteger` overloads == Synopses Declared in `<bdlb_numericparseutil.h>` Parse a signed integer within `[minValue .. maxValue]` from a string. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdlb/NumericParseUtil/parseSignedInteger-0f.adoc[parseSignedInteger]( xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64]* result, std::string_view const& inputString, int base, xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] const minValue, xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] const maxValue); ---- [.small]#xref:BloombergLP/bdlb/NumericParseUtil/parseSignedInteger-0f.adoc[_» more..._]# Parse a bounded signed integer from a string, also returning the suffix. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdlb/NumericParseUtil/parseSignedInteger-00.adoc[parseSignedInteger]( xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64]* result, std::string_view* remainder, std::string_view const& inputString, int base, xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] const minValue, xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] const maxValue); ---- [.small]#xref:BloombergLP/bdlb/NumericParseUtil/parseSignedInteger-00.adoc[_» more..._]# == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *result* | location to store the parsed value | *inputString* | text to parse | *base* | numeric base in `[2 .. 36]` | *minValue* | lowest acceptable parsed value (must be negative) | *maxValue* | highest acceptable parsed value (must be positive) | *remainder* | unparsed suffix of `inputString` after a successful parse (unchanged on failure) |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#