template<typename_CharT,typename_InIter>virtualiter_typestd::num_get<_CharT,_InIter>::do_get(iter_type__beg,iter_type__end,ios_base&__io,ios_base::iostate&__err,long&__v)const[inline],[protected],[virtual]
Numeric parsing. Parses the input stream into the variable v. This function is a hook for derived classes
to change the value returned.
Seealso
get() for more details.
Parameters__beg Start of input stream.
__end End of input stream.
__io Source of locale and flags.
__err Error flags to set.
__v Value to format and insert.
Returns
Iterator after reading.
template<typename_CharT,typename_InIter>virtualiter_typestd::num_get<_CharT,_InIter>::do_get(iter_type__beg,iter_type__end,ios_base&__io,ios_base::iostate&__err,longlong&__v)const[inline],[protected],[virtual]
Numeric parsing. Parses the input stream into the variable v. This function is a hook for derived classes
to change the value returned.
Seealso
get() for more details.
Parameters__beg Start of input stream.
__end End of input stream.
__io Source of locale and flags.
__err Error flags to set.
__v Value to format and insert.
Returns
Iterator after reading.
template<typename_CharT,typename_InIter>virtualiter_typestd::num_get<_CharT,_InIter>::do_get(iter_type__beg,iter_type__end,ios_base&__io,ios_base::iostate&__err,unsignedint&__v)const[inline],[protected],[virtual]
Numeric parsing. Parses the input stream into the variable v. This function is a hook for derived classes
to change the value returned.
Seealso
get() for more details.
Parameters__beg Start of input stream.
__end End of input stream.
__io Source of locale and flags.
__err Error flags to set.
__v Value to format and insert.
Returns
Iterator after reading.
template<typename_CharT,typename_InIter>virtualiter_typestd::num_get<_CharT,_InIter>::do_get(iter_type__beg,iter_type__end,ios_base&__io,ios_base::iostate&__err,unsignedlong&__v)const[inline],[protected],[virtual]
Numeric parsing. Parses the input stream into the variable v. This function is a hook for derived classes
to change the value returned.
Seealso
get() for more details.
Parameters__beg Start of input stream.
__end End of input stream.
__io Source of locale and flags.
__err Error flags to set.
__v Value to format and insert.
Returns
Iterator after reading.
template<typename_CharT,typename_InIter>virtualiter_typestd::num_get<_CharT,_InIter>::do_get(iter_type__beg,iter_type__end,ios_base&__io,ios_base::iostate&__err,unsignedlonglong&__v)const[inline],[protected],[virtual]
Numeric parsing. Parses the input stream into the variable v. This function is a hook for derived classes
to change the value returned.
Seealso
get() for more details.
Parameters__beg Start of input stream.
__end End of input stream.
__io Source of locale and flags.
__err Error flags to set.
__v Value to format and insert.
Returns
Iterator after reading.
template<typename_CharT,typename_InIter>virtualiter_typestd::num_get<_CharT,_InIter>::do_get(iter_type__beg,iter_type__end,ios_base&__io,ios_base::iostate&__err,unsignedshort&__v)const[inline],[protected],[virtual]
Numeric parsing. Parses the input stream into the variable v. This function is a hook for derived classes
to change the value returned.
Seealso
get() for more details.
Parameters__beg Start of input stream.
__end End of input stream.
__io Source of locale and flags.
__err Error flags to set.
__v Value to format and insert.
Returns
Iterator after reading.
template<typename_CharT,typename_InIter>_InIterstd::num_get<_CharT,_InIter>::do_get(iter_type__beg,iter_type__end,ios_base&__io,ios_base::iostate&__err,bool&__v)const[protected],[virtual]
Numeric parsing. Parses the input stream into the variable v. This function is a hook for derived classes
to change the value returned.
Seealso
get() for more details.
Parameters__beg Start of input stream.
__end End of input stream.
__io Source of locale and flags.
__err Error flags to set.
__v Value to format and insert.
Returns
Iterator after reading.
References std::ios_base::boolalpha, std::ios_base::eofbit, std::ios_base::failbit, and
std::ios_base::goodbit.
Referenced by std::num_get<_CharT,_InIter>::get(), std::num_get<_CharT,_InIter>::get(),
std::num_get<_CharT,_InIter>::get(), std::num_get<_CharT,_InIter>::get(), std::num_get<_CharT,_InIter>::get(), std::num_get<_CharT,_InIter>::get(), std::num_get<_CharT,_InIter>::get(),
std::num_get<_CharT,_InIter>::get(), std::num_get<_CharT,_InIter>::get(), std::num_get<_CharT,_InIter>::get(), and std::num_get<_CharT,_InIter>::get().
template<typename_CharT,typename_InIter>_InIterstd::num_get<_CharT,_InIter>::do_get(iter_type__beg,iter_type__end,ios_base&__io,ios_base::iostate&__err,double&__v)const[protected],[virtual]
Numeric parsing. Parses the input stream into the variable v. This function is a hook for derived classes
to change the value returned.
Seealso
get() for more details.
Parameters__beg Start of input stream.
__end End of input stream.
__io Source of locale and flags.
__err Error flags to set.
__v Value to format and insert.
Returns
Iterator after reading.
References std::ios_base::eofbit.
template<typename_CharT,typename_InIter>_InIterstd::num_get<_CharT,_InIter>::do_get(iter_type__beg,iter_type__end,ios_base&__io,ios_base::iostate&__err,float&__v)const[protected],[virtual]
Numeric parsing. Parses the input stream into the variable v. This function is a hook for derived classes
to change the value returned.
Seealso
get() for more details.
Parameters__beg Start of input stream.
__end End of input stream.
__io Source of locale and flags.
__err Error flags to set.
__v Value to format and insert.
Returns
Iterator after reading.
References std::ios_base::eofbit.
template<typename_CharT,typename_InIter>_InIterstd::num_get<_CharT,_InIter>::do_get(iter_type__beg,iter_type__end,ios_base&__io,ios_base::iostate&__err,longdouble&__v)const[protected],[virtual]
Numeric parsing. Parses the input stream into the variable v. This function is a hook for derived classes
to change the value returned.
Seealso
get() for more details.
Parameters__beg Start of input stream.
__end End of input stream.
__io Source of locale and flags.
__err Error flags to set.
__v Value to format and insert.
Returns
Iterator after reading.
References std::ios_base::eofbit.
template<typename_CharT,typename_InIter>_InIterstd::num_get<_CharT,_InIter>::do_get(iter_type__beg,iter_type__end,ios_base&__io,ios_base::iostate&__err,void*&__v)const[protected],[virtual]
Numeric parsing. Parses the input stream into the variable v. This function is a hook for derived classes
to change the value returned.
Seealso
get() for more details.
Parameters__beg Start of input stream.
__end End of input stream.
__io Source of locale and flags.
__err Error flags to set.
__v Value to format and insert.
Returns
Iterator after reading.
References std::ios_base::basefield, and std::ios_base::hex.
template<typename_CharT,typename_InIter>iter_typestd::num_get<_CharT,_InIter>::get(iter_type__in,iter_type__end,ios_base&__io,ios_base::iostate&__err,bool&__v)const[inline]
Numeric parsing. Parses the input stream into the bool v. It does so by calling num_get::do_get().
If ios_base::boolalpha is set, attempts to read ctype<CharT>::truename() or ctype<CharT>::falsename().
Sets v to true or false if successful. Sets err to ios_base::failbit if reading the string fails. Sets
err to ios_base::eofbit if the stream is emptied.
If ios_base::boolalpha is not set, proceeds as with reading a long, except if the value is 1, sets v to
true, if the value is 0, sets v to false, and otherwise set err to ios_base::failbit.
Parameters__in Start of input stream.
__end End of input stream.
__io Source of locale and flags.
__err Error flags to set.
__v Value to format and insert.
Returns
Iterator after reading.
References std::num_get<_CharT,_InIter>::do_get().
template<typename_CharT,typename_InIter>iter_typestd::num_get<_CharT,_InIter>::get(iter_type__in,iter_type__end,ios_base&__io,ios_base::iostate&__err,double&__v)const[inline]
Numeric parsing. Parses the input stream into the integral variable v. It does so by calling
num_get::do_get().
The input characters are parsed like the scanf g specifier. The matching type length modifier is also
used.
The decimal point character used is numpunct::decimal_point(). Digit grouping is interpreted according to
numpunct::grouping() and numpunct::thousands_sep(). If the pattern of digit groups isn't consistent, sets
err to ios_base::failbit.
If parsing the string yields a valid value for v, v is set. Otherwise, sets err to ios_base::failbit and
leaves v unaltered. Sets err to ios_base::eofbit if the stream is emptied.
Parameters__in Start of input stream.
__end End of input stream.
__io Source of locale and flags.
__err Error flags to set.
__v Value to format and insert.
Returns
Iterator after reading.
References std::num_get<_CharT,_InIter>::do_get().
template<typename_CharT,typename_InIter>iter_typestd::num_get<_CharT,_InIter>::get(iter_type__in,iter_type__end,ios_base&__io,ios_base::iostate&__err,float&__v)const[inline]
Numeric parsing. Parses the input stream into the integral variable v. It does so by calling
num_get::do_get().
The input characters are parsed like the scanf g specifier. The matching type length modifier is also
used.
The decimal point character used is numpunct::decimal_point(). Digit grouping is interpreted according to
numpunct::grouping() and numpunct::thousands_sep(). If the pattern of digit groups isn't consistent, sets
err to ios_base::failbit.
If parsing the string yields a valid value for v, v is set. Otherwise, sets err to ios_base::failbit and
leaves v unaltered. Sets err to ios_base::eofbit if the stream is emptied.
Parameters__in Start of input stream.
__end End of input stream.
__io Source of locale and flags.
__err Error flags to set.
__v Value to format and insert.
Returns
Iterator after reading.
References std::num_get<_CharT,_InIter>::do_get().
template<typename_CharT,typename_InIter>iter_typestd::num_get<_CharT,_InIter>::get(iter_type__in,iter_type__end,ios_base&__io,ios_base::iostate&__err,long&__v)const[inline]
Numeric parsing. Parses the input stream into the integral variable v. It does so by calling
num_get::do_get().
Parsing is affected by the flag settings in io.
The basic parse is affected by the value of io.flags() & ios_base::basefield. If equal to ios_base::oct,
parses like the scanf o specifier. Else if equal to ios_base::hex, parses like X specifier. Else if
basefield equal to 0, parses like the i specifier. Otherwise, parses like d for signed and u for unsigned
types. The matching type length modifier is also used.
Digit grouping is interpreted according to numpunct::grouping() and numpunct::thousands_sep(). If the
pattern of digit groups isn't consistent, sets err to ios_base::failbit.
If parsing the string yields a valid value for v, v is set. Otherwise, sets err to ios_base::failbit and
leaves v unaltered. Sets err to ios_base::eofbit if the stream is emptied.
Parameters__in Start of input stream.
__end End of input stream.
__io Source of locale and flags.
__err Error flags to set.
__v Value to format and insert.
Returns
Iterator after reading.
References std::num_get<_CharT,_InIter>::do_get().
template<typename_CharT,typename_InIter>iter_typestd::num_get<_CharT,_InIter>::get(iter_type__in,iter_type__end,ios_base&__io,ios_base::iostate&__err,longdouble&__v)const[inline]
Numeric parsing. Parses the input stream into the integral variable v. It does so by calling
num_get::do_get().
The input characters are parsed like the scanf g specifier. The matching type length modifier is also
used.
The decimal point character used is numpunct::decimal_point(). Digit grouping is interpreted according to
numpunct::grouping() and numpunct::thousands_sep(). If the pattern of digit groups isn't consistent, sets
err to ios_base::failbit.
If parsing the string yields a valid value for v, v is set. Otherwise, sets err to ios_base::failbit and
leaves v unaltered. Sets err to ios_base::eofbit if the stream is emptied.
Parameters__in Start of input stream.
__end End of input stream.
__io Source of locale and flags.
__err Error flags to set.
__v Value to format and insert.
Returns
Iterator after reading.
References std::num_get<_CharT,_InIter>::do_get().
template<typename_CharT,typename_InIter>iter_typestd::num_get<_CharT,_InIter>::get(iter_type__in,iter_type__end,ios_base&__io,ios_base::iostate&__err,longlong&__v)const[inline]
Numeric parsing. Parses the input stream into the integral variable v. It does so by calling
num_get::do_get().
Parsing is affected by the flag settings in io.
The basic parse is affected by the value of io.flags() & ios_base::basefield. If equal to ios_base::oct,
parses like the scanf o specifier. Else if equal to ios_base::hex, parses like X specifier. Else if
basefield equal to 0, parses like the i specifier. Otherwise, parses like d for signed and u for unsigned
types. The matching type length modifier is also used.
Digit grouping is interpreted according to numpunct::grouping() and numpunct::thousands_sep(). If the
pattern of digit groups isn't consistent, sets err to ios_base::failbit.
If parsing the string yields a valid value for v, v is set. Otherwise, sets err to ios_base::failbit and
leaves v unaltered. Sets err to ios_base::eofbit if the stream is emptied.
Parameters__in Start of input stream.
__end End of input stream.
__io Source of locale and flags.
__err Error flags to set.
__v Value to format and insert.
Returns
Iterator after reading.
References std::num_get<_CharT,_InIter>::do_get().
template<typename_CharT,typename_InIter>iter_typestd::num_get<_CharT,_InIter>::get(iter_type__in,iter_type__end,ios_base&__io,ios_base::iostate&__err,unsignedint&__v)const[inline]
Numeric parsing. Parses the input stream into the integral variable v. It does so by calling
num_get::do_get().
Parsing is affected by the flag settings in io.
The basic parse is affected by the value of io.flags() & ios_base::basefield. If equal to ios_base::oct,
parses like the scanf o specifier. Else if equal to ios_base::hex, parses like X specifier. Else if
basefield equal to 0, parses like the i specifier. Otherwise, parses like d for signed and u for unsigned
types. The matching type length modifier is also used.
Digit grouping is interpreted according to numpunct::grouping() and numpunct::thousands_sep(). If the
pattern of digit groups isn't consistent, sets err to ios_base::failbit.
If parsing the string yields a valid value for v, v is set. Otherwise, sets err to ios_base::failbit and
leaves v unaltered. Sets err to ios_base::eofbit if the stream is emptied.
Parameters__in Start of input stream.
__end End of input stream.
__io Source of locale and flags.
__err Error flags to set.
__v Value to format and insert.
Returns
Iterator after reading.
References std::num_get<_CharT,_InIter>::do_get().
template<typename_CharT,typename_InIter>iter_typestd::num_get<_CharT,_InIter>::get(iter_type__in,iter_type__end,ios_base&__io,ios_base::iostate&__err,unsignedlong&__v)const[inline]
Numeric parsing. Parses the input stream into the integral variable v. It does so by calling
num_get::do_get().
Parsing is affected by the flag settings in io.
The basic parse is affected by the value of io.flags() & ios_base::basefield. If equal to ios_base::oct,
parses like the scanf o specifier. Else if equal to ios_base::hex, parses like X specifier. Else if
basefield equal to 0, parses like the i specifier. Otherwise, parses like d for signed and u for unsigned
types. The matching type length modifier is also used.
Digit grouping is interpreted according to numpunct::grouping() and numpunct::thousands_sep(). If the
pattern of digit groups isn't consistent, sets err to ios_base::failbit.
If parsing the string yields a valid value for v, v is set. Otherwise, sets err to ios_base::failbit and
leaves v unaltered. Sets err to ios_base::eofbit if the stream is emptied.
Parameters__in Start of input stream.
__end End of input stream.
__io Source of locale and flags.
__err Error flags to set.
__v Value to format and insert.
Returns
Iterator after reading.
References std::num_get<_CharT,_InIter>::do_get().
template<typename_CharT,typename_InIter>iter_typestd::num_get<_CharT,_InIter>::get(iter_type__in,iter_type__end,ios_base&__io,ios_base::iostate&__err,unsignedlonglong&__v)const[inline]
Numeric parsing. Parses the input stream into the integral variable v. It does so by calling
num_get::do_get().
Parsing is affected by the flag settings in io.
The basic parse is affected by the value of io.flags() & ios_base::basefield. If equal to ios_base::oct,
parses like the scanf o specifier. Else if equal to ios_base::hex, parses like X specifier. Else if
basefield equal to 0, parses like the i specifier. Otherwise, parses like d for signed and u for unsigned
types. The matching type length modifier is also used.
Digit grouping is interpreted according to numpunct::grouping() and numpunct::thousands_sep(). If the
pattern of digit groups isn't consistent, sets err to ios_base::failbit.
If parsing the string yields a valid value for v, v is set. Otherwise, sets err to ios_base::failbit and
leaves v unaltered. Sets err to ios_base::eofbit if the stream is emptied.
Parameters__in Start of input stream.
__end End of input stream.
__io Source of locale and flags.
__err Error flags to set.
__v Value to format and insert.
Returns
Iterator after reading.
References std::num_get<_CharT,_InIter>::do_get().
template<typename_CharT,typename_InIter>iter_typestd::num_get<_CharT,_InIter>::get(iter_type__in,iter_type__end,ios_base&__io,ios_base::iostate&__err,unsignedshort&__v)const[inline]
Numeric parsing. Parses the input stream into the integral variable v. It does so by calling
num_get::do_get().
Parsing is affected by the flag settings in io.
The basic parse is affected by the value of io.flags() & ios_base::basefield. If equal to ios_base::oct,
parses like the scanf o specifier. Else if equal to ios_base::hex, parses like X specifier. Else if
basefield equal to 0, parses like the i specifier. Otherwise, parses like d for signed and u for unsigned
types. The matching type length modifier is also used.
Digit grouping is interpreted according to numpunct::grouping() and numpunct::thousands_sep(). If the
pattern of digit groups isn't consistent, sets err to ios_base::failbit.
If parsing the string yields a valid value for v, v is set. Otherwise, sets err to ios_base::failbit and
leaves v unaltered. Sets err to ios_base::eofbit if the stream is emptied.
Parameters__in Start of input stream.
__end End of input stream.
__io Source of locale and flags.
__err Error flags to set.
__v Value to format and insert.
Returns
Iterator after reading.
References std::num_get<_CharT,_InIter>::do_get().
template<typename_CharT,typename_InIter>iter_typestd::num_get<_CharT,_InIter>::get(iter_type__in,iter_type__end,ios_base&__io,ios_base::iostate&__err,void*&__v)const[inline]
Numeric parsing. Parses the input stream into the pointer variable v. It does so by calling
num_get::do_get().
The input characters are parsed like the scanf p specifier.
Digit grouping is interpreted according to numpunct::grouping() and numpunct::thousands_sep(). If the
pattern of digit groups isn't consistent, sets err to ios_base::failbit.
Note that the digit grouping effect for pointers is a bit ambiguous in the standard and shouldn't be
relied on. See DR 344.
If parsing the string yields a valid value for v, v is set. Otherwise, sets err to ios_base::failbit and
leaves v unaltered. Sets err to ios_base::eofbit if the stream is emptied.
Parameters__in Start of input stream.
__end End of input stream.
__io Source of locale and flags.
__err Error flags to set.
__v Value to format and insert.
Returns
Iterator after reading.
References std::num_get<_CharT,_InIter>::do_get().