.TH "std::num_get< _CharT, _InIter >" 3cxx "Thu Aug 2 2012" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::num_get< _CharT, _InIter > \- .SH SYNOPSIS .br .PP .PP Inherits \fBstd::locale::facet\fP\&. .SS "Public Types" .PP .RI "\fB\fP" .br .in +1c .in +1c .ti -1c .RI "typedef _CharT \fBchar_type\fP" .br .ti -1c .RI "typedef _InIter \fBiter_type\fP" .br .in -1c .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBiter_type\fP \fBget\fP (\fBiter_type\fP __in, \fBiter_type\fP __end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, bool &__v) const " .br .ti -1c .RI "\fBiter_type\fP \fBget\fP (\fBiter_type\fP __in, \fBiter_type\fP __end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, void *&__v) const " .br .ti -1c .RI "\fBnum_get\fP (size_t __refs=0)" .br .in -1c .PP .RI "\fB\fP" .br .in +1c .in +1c .ti -1c .RI "\fBiter_type\fP \fBget\fP (\fBiter_type\fP __in, \fBiter_type\fP __end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, long &__v) const " .br .ti -1c .RI "\fBiter_type\fP \fBget\fP (\fBiter_type\fP __in, \fBiter_type\fP __end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, unsigned short &__v) const " .br .ti -1c .RI "\fBiter_type\fP \fBget\fP (\fBiter_type\fP __in, \fBiter_type\fP __end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, unsigned int &__v) const " .br .ti -1c .RI "\fBiter_type\fP \fBget\fP (\fBiter_type\fP __in, \fBiter_type\fP __end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, unsigned long &__v) const " .br .ti -1c .RI "\fBiter_type\fP \fBget\fP (\fBiter_type\fP __in, \fBiter_type\fP __end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, long long &__v) const " .br .ti -1c .RI "\fBiter_type\fP \fBget\fP (\fBiter_type\fP __in, \fBiter_type\fP __end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, unsigned long long &__v) const " .br .in -1c .in -1c .PP .RI "\fB\fP" .br .in +1c .in +1c .ti -1c .RI "\fBiter_type\fP \fBget\fP (\fBiter_type\fP __in, \fBiter_type\fP __end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, float &__v) const " .br .ti -1c .RI "\fBiter_type\fP \fBget\fP (\fBiter_type\fP __in, \fBiter_type\fP __end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, double &__v) const " .br .ti -1c .RI "\fBiter_type\fP \fBget\fP (\fBiter_type\fP __in, \fBiter_type\fP __end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, long double &__v) const " .br .in -1c .in -1c .SS "Static Public Attributes" .in +1c .ti -1c .RI "static \fBlocale::id\fP \fBid\fP" .br .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "\fBiter_type\fP \fB_M_extract_float\fP (\fBiter_type\fP, \fBiter_type\fP, \fBios_base\fP &, \fBios_base::iostate\fP &, \fBstring\fP &) const " .br .ti -1c .RI "template \fBiter_type\fP \fB_M_extract_int\fP (\fBiter_type\fP, \fBiter_type\fP, \fBios_base\fP &, \fBios_base::iostate\fP &, _ValueT &) const " .br .ti -1c .RI "template __gnu_cxx::__enable_if .br < __is_char< _CharT2 > .br ::__value, int >::__type \fB_M_find\fP (const _CharT2 *, size_t __len, _CharT2 __c) const " .br .ti -1c .RI "template __gnu_cxx::__enable_if .br .br ::__value, int >::__type \fB_M_find\fP (const _CharT2 *__zero, size_t __len, _CharT2 __c) const " .br .ti -1c .RI "virtual \fB~num_get\fP ()" .br .in -1c .PP .RI "\fB\fP" .br .in +1c .in +1c .ti -1c .RI "virtual \fBiter_type\fP \fBdo_get\fP (\fBiter_type\fP, \fBiter_type\fP, \fBios_base\fP &, \fBios_base::iostate\fP &, bool &) const " .br .ti -1c .RI "virtual \fBiter_type\fP \fBdo_get\fP (\fBiter_type\fP __beg, \fBiter_type\fP __end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, long &__v) const " .br .ti -1c .RI "virtual \fBiter_type\fP \fBdo_get\fP (\fBiter_type\fP __beg, \fBiter_type\fP __end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, unsigned short &__v) const " .br .ti -1c .RI "virtual \fBiter_type\fP \fBdo_get\fP (\fBiter_type\fP __beg, \fBiter_type\fP __end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, unsigned int &__v) const " .br .ti -1c .RI "virtual \fBiter_type\fP \fBdo_get\fP (\fBiter_type\fP __beg, \fBiter_type\fP __end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, unsigned long &__v) const " .br .ti -1c .RI "virtual \fBiter_type\fP \fBdo_get\fP (\fBiter_type\fP __beg, \fBiter_type\fP __end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, long long &__v) const " .br .ti -1c .RI "virtual \fBiter_type\fP \fBdo_get\fP (\fBiter_type\fP __beg, \fBiter_type\fP __end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, unsigned long long &__v) const " .br .ti -1c .RI "virtual \fBiter_type\fP \fBdo_get\fP (\fBiter_type\fP, \fBiter_type\fP, \fBios_base\fP &, \fBios_base::iostate\fP &__err, float &) const " .br .ti -1c .RI "virtual \fBiter_type\fP \fBdo_get\fP (\fBiter_type\fP, \fBiter_type\fP, \fBios_base\fP &, \fBios_base::iostate\fP &__err, double &) const " .br .ti -1c .RI "virtual \fBiter_type\fP \fBdo_get\fP (\fBiter_type\fP, \fBiter_type\fP, \fBios_base\fP &, \fBios_base::iostate\fP &__err, long double &) const " .br .ti -1c .RI "virtual \fBiter_type\fP \fBdo_get\fP (\fBiter_type\fP, \fBiter_type\fP, \fBios_base\fP &, \fBios_base::iostate\fP &__err, void *&) const " .br .in -1c .in -1c .SS "Static Protected Member Functions" .in +1c .ti -1c .RI "static __c_locale \fB_S_clone_c_locale\fP (__c_locale &__cloc)" .br .ti -1c .RI "static void \fB_S_create_c_locale\fP (__c_locale &__cloc, const char *__s, __c_locale __old=0)" .br .ti -1c .RI "static void \fB_S_destroy_c_locale\fP (__c_locale &__cloc)" .br .ti -1c .RI "static __c_locale \fB_S_get_c_locale\fP ()" .br .ti -1c .RI "static const char * \fB_S_get_c_name\fP ()" .br .in -1c .SH "Detailed Description" .PP .SS "templateclass std::num_get< _CharT, _InIter >" Facet for parsing number strings\&. This facet encapsulates the code to parse and return a number from a string\&. It is used by the istream numeric extraction operators\&. .PP The \fBnum_get\fP template uses protected virtual functions to provide the actual results\&. The public accessors forward the call to the virtual functions\&. These virtual functions are hooks for developers to implement the behavior they require from the \fBnum_get\fP facet\&. .PP Definition at line 1908 of file locale_facets\&.h\&. .SH "Member Typedef Documentation" .PP .SS "template typedef _CharT \fBstd::num_get\fP< _CharT, _InIter >::\fBchar_type\fP" .PP Public typedefs\&. .PP Definition at line 1914 of file locale_facets\&.h\&. .SS "template typedef _InIter \fBstd::num_get\fP< _CharT, _InIter >::\fBiter_type\fP" .PP Public typedefs\&. .PP Definition at line 1915 of file locale_facets\&.h\&. .SH "Constructor & Destructor Documentation" .PP .SS "template \fBstd::num_get\fP< _CharT, _InIter >::\fBnum_get\fP (size_t__refs = \fC0\fP)\fC [inline]\fP, \fC [explicit]\fP" .PP Constructor performs initialization\&. This is the constructor provided by the standard\&. .PP \fBParameters:\fP .RS 4 \fIrefs\fP Passed to the base facet class\&. .RE .PP .PP Definition at line 1929 of file locale_facets\&.h\&. .SS "template virtual \fBstd::num_get\fP< _CharT, _InIter >::~\fBnum_get\fP ()\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP" .PP Destructor\&. .PP Definition at line 2098 of file locale_facets\&.h\&. .SH "Member Function Documentation" .PP .SS "template _InIter \fBstd::num_get\fP< _CharT, _InIter >::do_get (\fBiter_type\fP__beg, \fBiter_type\fP__end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, bool &__v) const\fC [protected]\fP, \fC [virtual]\fP" .PP Numeric parsing\&. Parses the input stream into the variable \fIv\fP\&. This function is a hook for derived classes to change the value returned\&. .PP \fBSee Also:\fP .RS 4 \fBget()\fP for more details\&. .RE .PP \fBParameters:\fP .RS 4 \fIin\fP Start of input stream\&. .br \fIend\fP End of input stream\&. .br \fIio\fP Source of locale and flags\&. .br \fIerr\fP Error flags to set\&. .br \fIv\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 575 of file locale_facets\&.tcc\&. .PP References std::ios_base::_M_getloc(), std::boolalpha(), and std::ios_base::flags()\&. .SS "template virtual \fBiter_type\fP \fBstd::num_get\fP< _CharT, _InIter >::do_get (\fBiter_type\fP__beg, \fBiter_type\fP__end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, long &__v) const\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP" .PP Numeric parsing\&. Parses the input stream into the variable \fIv\fP\&. This function is a hook for derived classes to change the value returned\&. .PP \fBSee Also:\fP .RS 4 \fBget()\fP for more details\&. .RE .PP \fBParameters:\fP .RS 4 \fIin\fP Start of input stream\&. .br \fIend\fP End of input stream\&. .br \fIio\fP Source of locale and flags\&. .br \fIerr\fP Error flags to set\&. .br \fIv\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2166 of file locale_facets\&.h\&. .SS "template virtual \fBiter_type\fP \fBstd::num_get\fP< _CharT, _InIter >::do_get (\fBiter_type\fP__beg, \fBiter_type\fP__end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, unsigned short &__v) const\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP" .PP Numeric parsing\&. Parses the input stream into the variable \fIv\fP\&. This function is a hook for derived classes to change the value returned\&. .PP \fBSee Also:\fP .RS 4 \fBget()\fP for more details\&. .RE .PP \fBParameters:\fP .RS 4 \fIin\fP Start of input stream\&. .br \fIend\fP End of input stream\&. .br \fIio\fP Source of locale and flags\&. .br \fIerr\fP Error flags to set\&. .br \fIv\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2171 of file locale_facets\&.h\&. .SS "template virtual \fBiter_type\fP \fBstd::num_get\fP< _CharT, _InIter >::do_get (\fBiter_type\fP__beg, \fBiter_type\fP__end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, unsigned int &__v) const\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP" .PP Numeric parsing\&. Parses the input stream into the variable \fIv\fP\&. This function is a hook for derived classes to change the value returned\&. .PP \fBSee Also:\fP .RS 4 \fBget()\fP for more details\&. .RE .PP \fBParameters:\fP .RS 4 \fIin\fP Start of input stream\&. .br \fIend\fP End of input stream\&. .br \fIio\fP Source of locale and flags\&. .br \fIerr\fP Error flags to set\&. .br \fIv\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2176 of file locale_facets\&.h\&. .SS "template virtual \fBiter_type\fP \fBstd::num_get\fP< _CharT, _InIter >::do_get (\fBiter_type\fP__beg, \fBiter_type\fP__end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, unsigned long &__v) const\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP" .PP Numeric parsing\&. Parses the input stream into the variable \fIv\fP\&. This function is a hook for derived classes to change the value returned\&. .PP \fBSee Also:\fP .RS 4 \fBget()\fP for more details\&. .RE .PP \fBParameters:\fP .RS 4 \fIin\fP Start of input stream\&. .br \fIend\fP End of input stream\&. .br \fIio\fP Source of locale and flags\&. .br \fIerr\fP Error flags to set\&. .br \fIv\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2181 of file locale_facets\&.h\&. .SS "template virtual \fBiter_type\fP \fBstd::num_get\fP< _CharT, _InIter >::do_get (\fBiter_type\fP__beg, \fBiter_type\fP__end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, long long &__v) const\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP" .PP Numeric parsing\&. Parses the input stream into the variable \fIv\fP\&. This function is a hook for derived classes to change the value returned\&. .PP \fBSee Also:\fP .RS 4 \fBget()\fP for more details\&. .RE .PP \fBParameters:\fP .RS 4 \fIin\fP Start of input stream\&. .br \fIend\fP End of input stream\&. .br \fIio\fP Source of locale and flags\&. .br \fIerr\fP Error flags to set\&. .br \fIv\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2187 of file locale_facets\&.h\&. .SS "template virtual \fBiter_type\fP \fBstd::num_get\fP< _CharT, _InIter >::do_get (\fBiter_type\fP__beg, \fBiter_type\fP__end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, unsigned long long &__v) const\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP" .PP Numeric parsing\&. Parses the input stream into the variable \fIv\fP\&. This function is a hook for derived classes to change the value returned\&. .PP \fBSee Also:\fP .RS 4 \fBget()\fP for more details\&. .RE .PP \fBParameters:\fP .RS 4 \fIin\fP Start of input stream\&. .br \fIend\fP End of input stream\&. .br \fIio\fP Source of locale and flags\&. .br \fIerr\fP Error flags to set\&. .br \fIv\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2192 of file locale_facets\&.h\&. .SS "template _InIter \fBstd::num_get\fP< _CharT, _InIter >::do_get (\fBiter_type\fP__beg, \fBiter_type\fP__end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, float &__v) const\fC [protected]\fP, \fC [virtual]\fP" .PP Numeric parsing\&. Parses the input stream into the variable \fIv\fP\&. This function is a hook for derived classes to change the value returned\&. .PP \fBSee Also:\fP .RS 4 \fBget()\fP for more details\&. .RE .PP \fBParameters:\fP .RS 4 \fIin\fP Start of input stream\&. .br \fIend\fP End of input stream\&. .br \fIio\fP Source of locale and flags\&. .br \fIerr\fP Error flags to set\&. .br \fIv\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 671 of file locale_facets\&.tcc\&. .PP References std::basic_string< _CharT, _Traits, _Alloc >::c_str(), and std::basic_string< _CharT, _Traits, _Alloc >::reserve()\&. .SS "template _InIter \fBstd::num_get\fP< _CharT, _InIter >::do_get (\fBiter_type\fP__beg, \fBiter_type\fP__end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, double &__v) const\fC [protected]\fP, \fC [virtual]\fP" .PP Numeric parsing\&. Parses the input stream into the variable \fIv\fP\&. This function is a hook for derived classes to change the value returned\&. .PP \fBSee Also:\fP .RS 4 \fBget()\fP for more details\&. .RE .PP \fBParameters:\fP .RS 4 \fIin\fP Start of input stream\&. .br \fIend\fP End of input stream\&. .br \fIio\fP Source of locale and flags\&. .br \fIerr\fP Error flags to set\&. .br \fIv\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 686 of file locale_facets\&.tcc\&. .PP References std::basic_string< _CharT, _Traits, _Alloc >::c_str(), and std::basic_string< _CharT, _Traits, _Alloc >::reserve()\&. .SS "template _InIter \fBstd::num_get\fP< _CharT, _InIter >::do_get (\fBiter_type\fP__beg, \fBiter_type\fP__end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, long double &__v) const\fC [protected]\fP, \fC [virtual]\fP" .PP Numeric parsing\&. Parses the input stream into the variable \fIv\fP\&. This function is a hook for derived classes to change the value returned\&. .PP \fBSee Also:\fP .RS 4 \fBget()\fP for more details\&. .RE .PP \fBParameters:\fP .RS 4 \fIin\fP Start of input stream\&. .br \fIend\fP End of input stream\&. .br \fIio\fP Source of locale and flags\&. .br \fIerr\fP Error flags to set\&. .br \fIv\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 718 of file locale_facets\&.tcc\&. .PP References std::basic_string< _CharT, _Traits, _Alloc >::c_str(), and std::basic_string< _CharT, _Traits, _Alloc >::reserve()\&. .SS "template _InIter \fBstd::num_get\fP< _CharT, _InIter >::do_get (\fBiter_type\fP__beg, \fBiter_type\fP__end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, void *&__v) const\fC [protected]\fP, \fC [virtual]\fP" .PP Numeric parsing\&. Parses the input stream into the variable \fIv\fP\&. This function is a hook for derived classes to change the value returned\&. .PP \fBSee Also:\fP .RS 4 \fBget()\fP for more details\&. .RE .PP \fBParameters:\fP .RS 4 \fIin\fP Start of input stream\&. .br \fIend\fP End of input stream\&. .br \fIio\fP Source of locale and flags\&. .br \fIerr\fP Error flags to set\&. .br \fIv\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 733 of file locale_facets\&.tcc\&. .PP References std::ios_base::flags(), and std::hex()\&. .SS "template \fBiter_type\fP \fBstd::num_get\fP< _CharT, _InIter >::get (\fBiter_type\fP__in, \fBiter_type\fP__end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, bool &__v) const\fC [inline]\fP" .PP Numeric parsing\&. Parses the input stream into the bool \fIv\fP\&. It does so by calling \fBnum_get::do_get()\fP\&. .PP If \fBios_base::boolalpha\fP is set, attempts to read ctype::truename() or ctype::falsename()\&. Sets \fIv\fP to true or false if successful\&. Sets err to \fBios_base::failbit\fP if reading the string fails\&. Sets err to \fBios_base::eofbit\fP if the stream is emptied\&. .PP If \fBios_base::boolalpha\fP is not set, proceeds as with reading a long, except if the value is 1, sets \fIv\fP to true, if the value is 0, sets \fIv\fP to false, and otherwise set err to \fBios_base::failbit\fP\&. .PP \fBParameters:\fP .RS 4 \fIin\fP Start of input stream\&. .br \fIend\fP End of input stream\&. .br \fIio\fP Source of locale and flags\&. .br \fIerr\fP Error flags to set\&. .br \fIv\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 1955 of file locale_facets\&.h\&. .SS "template \fBiter_type\fP \fBstd::num_get\fP< _CharT, _InIter >::get (\fBiter_type\fP__in, \fBiter_type\fP__end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, long &__v) const\fC [inline]\fP" .PP Numeric parsing\&. Parses the input stream into the integral variable \fIv\fP\&. It does so by calling \fBnum_get::do_get()\fP\&. .PP Parsing is affected by the flag settings in \fIio\fP\&. .PP The basic parse is affected by the value of io\&.flags() & \fBios_base::basefield\fP\&. If equal to \fBios_base::oct\fP, parses like the scanf o specifier\&. Else if equal to \fBios_base::hex\fP, 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\&. .PP Digit grouping is interpreted according to \fBnumpunct::grouping()\fP and \fBnumpunct::thousands_sep()\fP\&. If the pattern of digit groups isn't consistent, sets err to \fBios_base::failbit\fP\&. .PP If parsing the string yields a valid value for \fIv\fP, \fIv\fP is set\&. Otherwise, sets err to \fBios_base::failbit\fP and leaves \fIv\fP unaltered\&. Sets err to \fBios_base::eofbit\fP if the stream is emptied\&. .PP \fBParameters:\fP .RS 4 \fIin\fP Start of input stream\&. .br \fIend\fP End of input stream\&. .br \fIio\fP Source of locale and flags\&. .br \fIerr\fP Error flags to set\&. .br \fIv\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 1991 of file locale_facets\&.h\&. .SS "template \fBiter_type\fP \fBstd::num_get\fP< _CharT, _InIter >::get (\fBiter_type\fP__in, \fBiter_type\fP__end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, unsigned short &__v) const\fC [inline]\fP" .PP Numeric parsing\&. Parses the input stream into the integral variable \fIv\fP\&. It does so by calling \fBnum_get::do_get()\fP\&. .PP Parsing is affected by the flag settings in \fIio\fP\&. .PP The basic parse is affected by the value of io\&.flags() & \fBios_base::basefield\fP\&. If equal to \fBios_base::oct\fP, parses like the scanf o specifier\&. Else if equal to \fBios_base::hex\fP, 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\&. .PP Digit grouping is interpreted according to \fBnumpunct::grouping()\fP and \fBnumpunct::thousands_sep()\fP\&. If the pattern of digit groups isn't consistent, sets err to \fBios_base::failbit\fP\&. .PP If parsing the string yields a valid value for \fIv\fP, \fIv\fP is set\&. Otherwise, sets err to \fBios_base::failbit\fP and leaves \fIv\fP unaltered\&. Sets err to \fBios_base::eofbit\fP if the stream is emptied\&. .PP \fBParameters:\fP .RS 4 \fIin\fP Start of input stream\&. .br \fIend\fP End of input stream\&. .br \fIio\fP Source of locale and flags\&. .br \fIerr\fP Error flags to set\&. .br \fIv\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 1996 of file locale_facets\&.h\&. .SS "template \fBiter_type\fP \fBstd::num_get\fP< _CharT, _InIter >::get (\fBiter_type\fP__in, \fBiter_type\fP__end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, unsigned int &__v) const\fC [inline]\fP" .PP Numeric parsing\&. Parses the input stream into the integral variable \fIv\fP\&. It does so by calling \fBnum_get::do_get()\fP\&. .PP Parsing is affected by the flag settings in \fIio\fP\&. .PP The basic parse is affected by the value of io\&.flags() & \fBios_base::basefield\fP\&. If equal to \fBios_base::oct\fP, parses like the scanf o specifier\&. Else if equal to \fBios_base::hex\fP, 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\&. .PP Digit grouping is interpreted according to \fBnumpunct::grouping()\fP and \fBnumpunct::thousands_sep()\fP\&. If the pattern of digit groups isn't consistent, sets err to \fBios_base::failbit\fP\&. .PP If parsing the string yields a valid value for \fIv\fP, \fIv\fP is set\&. Otherwise, sets err to \fBios_base::failbit\fP and leaves \fIv\fP unaltered\&. Sets err to \fBios_base::eofbit\fP if the stream is emptied\&. .PP \fBParameters:\fP .RS 4 \fIin\fP Start of input stream\&. .br \fIend\fP End of input stream\&. .br \fIio\fP Source of locale and flags\&. .br \fIerr\fP Error flags to set\&. .br \fIv\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2001 of file locale_facets\&.h\&. .SS "template \fBiter_type\fP \fBstd::num_get\fP< _CharT, _InIter >::get (\fBiter_type\fP__in, \fBiter_type\fP__end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, unsigned long &__v) const\fC [inline]\fP" .PP Numeric parsing\&. Parses the input stream into the integral variable \fIv\fP\&. It does so by calling \fBnum_get::do_get()\fP\&. .PP Parsing is affected by the flag settings in \fIio\fP\&. .PP The basic parse is affected by the value of io\&.flags() & \fBios_base::basefield\fP\&. If equal to \fBios_base::oct\fP, parses like the scanf o specifier\&. Else if equal to \fBios_base::hex\fP, 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\&. .PP Digit grouping is interpreted according to \fBnumpunct::grouping()\fP and \fBnumpunct::thousands_sep()\fP\&. If the pattern of digit groups isn't consistent, sets err to \fBios_base::failbit\fP\&. .PP If parsing the string yields a valid value for \fIv\fP, \fIv\fP is set\&. Otherwise, sets err to \fBios_base::failbit\fP and leaves \fIv\fP unaltered\&. Sets err to \fBios_base::eofbit\fP if the stream is emptied\&. .PP \fBParameters:\fP .RS 4 \fIin\fP Start of input stream\&. .br \fIend\fP End of input stream\&. .br \fIio\fP Source of locale and flags\&. .br \fIerr\fP Error flags to set\&. .br \fIv\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2006 of file locale_facets\&.h\&. .SS "template \fBiter_type\fP \fBstd::num_get\fP< _CharT, _InIter >::get (\fBiter_type\fP__in, \fBiter_type\fP__end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, long long &__v) const\fC [inline]\fP" .PP Numeric parsing\&. Parses the input stream into the integral variable \fIv\fP\&. It does so by calling \fBnum_get::do_get()\fP\&. .PP Parsing is affected by the flag settings in \fIio\fP\&. .PP The basic parse is affected by the value of io\&.flags() & \fBios_base::basefield\fP\&. If equal to \fBios_base::oct\fP, parses like the scanf o specifier\&. Else if equal to \fBios_base::hex\fP, 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\&. .PP Digit grouping is interpreted according to \fBnumpunct::grouping()\fP and \fBnumpunct::thousands_sep()\fP\&. If the pattern of digit groups isn't consistent, sets err to \fBios_base::failbit\fP\&. .PP If parsing the string yields a valid value for \fIv\fP, \fIv\fP is set\&. Otherwise, sets err to \fBios_base::failbit\fP and leaves \fIv\fP unaltered\&. Sets err to \fBios_base::eofbit\fP if the stream is emptied\&. .PP \fBParameters:\fP .RS 4 \fIin\fP Start of input stream\&. .br \fIend\fP End of input stream\&. .br \fIio\fP Source of locale and flags\&. .br \fIerr\fP Error flags to set\&. .br \fIv\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2012 of file locale_facets\&.h\&. .SS "template \fBiter_type\fP \fBstd::num_get\fP< _CharT, _InIter >::get (\fBiter_type\fP__in, \fBiter_type\fP__end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, unsigned long long &__v) const\fC [inline]\fP" .PP Numeric parsing\&. Parses the input stream into the integral variable \fIv\fP\&. It does so by calling \fBnum_get::do_get()\fP\&. .PP Parsing is affected by the flag settings in \fIio\fP\&. .PP The basic parse is affected by the value of io\&.flags() & \fBios_base::basefield\fP\&. If equal to \fBios_base::oct\fP, parses like the scanf o specifier\&. Else if equal to \fBios_base::hex\fP, 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\&. .PP Digit grouping is interpreted according to \fBnumpunct::grouping()\fP and \fBnumpunct::thousands_sep()\fP\&. If the pattern of digit groups isn't consistent, sets err to \fBios_base::failbit\fP\&. .PP If parsing the string yields a valid value for \fIv\fP, \fIv\fP is set\&. Otherwise, sets err to \fBios_base::failbit\fP and leaves \fIv\fP unaltered\&. Sets err to \fBios_base::eofbit\fP if the stream is emptied\&. .PP \fBParameters:\fP .RS 4 \fIin\fP Start of input stream\&. .br \fIend\fP End of input stream\&. .br \fIio\fP Source of locale and flags\&. .br \fIerr\fP Error flags to set\&. .br \fIv\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2017 of file locale_facets\&.h\&. .SS "template \fBiter_type\fP \fBstd::num_get\fP< _CharT, _InIter >::get (\fBiter_type\fP__in, \fBiter_type\fP__end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, float &__v) const\fC [inline]\fP" .PP Numeric parsing\&. Parses the input stream into the integral variable \fIv\fP\&. It does so by calling \fBnum_get::do_get()\fP\&. .PP The input characters are parsed like the scanf g specifier\&. The matching type length modifier is also used\&. .PP The decimal point character used is \fBnumpunct::decimal_point()\fP\&. Digit grouping is interpreted according to \fBnumpunct::grouping()\fP and \fBnumpunct::thousands_sep()\fP\&. If the pattern of digit groups isn't consistent, sets err to \fBios_base::failbit\fP\&. .PP If parsing the string yields a valid value for \fIv\fP, \fIv\fP is set\&. Otherwise, sets err to \fBios_base::failbit\fP and leaves \fIv\fP unaltered\&. Sets err to \fBios_base::eofbit\fP if the stream is emptied\&. .PP \fBParameters:\fP .RS 4 \fIin\fP Start of input stream\&. .br \fIend\fP End of input stream\&. .br \fIio\fP Source of locale and flags\&. .br \fIerr\fP Error flags to set\&. .br \fIv\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2050 of file locale_facets\&.h\&. .SS "template \fBiter_type\fP \fBstd::num_get\fP< _CharT, _InIter >::get (\fBiter_type\fP__in, \fBiter_type\fP__end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, double &__v) const\fC [inline]\fP" .PP Numeric parsing\&. Parses the input stream into the integral variable \fIv\fP\&. It does so by calling \fBnum_get::do_get()\fP\&. .PP The input characters are parsed like the scanf g specifier\&. The matching type length modifier is also used\&. .PP The decimal point character used is \fBnumpunct::decimal_point()\fP\&. Digit grouping is interpreted according to \fBnumpunct::grouping()\fP and \fBnumpunct::thousands_sep()\fP\&. If the pattern of digit groups isn't consistent, sets err to \fBios_base::failbit\fP\&. .PP If parsing the string yields a valid value for \fIv\fP, \fIv\fP is set\&. Otherwise, sets err to \fBios_base::failbit\fP and leaves \fIv\fP unaltered\&. Sets err to \fBios_base::eofbit\fP if the stream is emptied\&. .PP \fBParameters:\fP .RS 4 \fIin\fP Start of input stream\&. .br \fIend\fP End of input stream\&. .br \fIio\fP Source of locale and flags\&. .br \fIerr\fP Error flags to set\&. .br \fIv\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2055 of file locale_facets\&.h\&. .SS "template \fBiter_type\fP \fBstd::num_get\fP< _CharT, _InIter >::get (\fBiter_type\fP__in, \fBiter_type\fP__end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, long double &__v) const\fC [inline]\fP" .PP Numeric parsing\&. Parses the input stream into the integral variable \fIv\fP\&. It does so by calling \fBnum_get::do_get()\fP\&. .PP The input characters are parsed like the scanf g specifier\&. The matching type length modifier is also used\&. .PP The decimal point character used is \fBnumpunct::decimal_point()\fP\&. Digit grouping is interpreted according to \fBnumpunct::grouping()\fP and \fBnumpunct::thousands_sep()\fP\&. If the pattern of digit groups isn't consistent, sets err to \fBios_base::failbit\fP\&. .PP If parsing the string yields a valid value for \fIv\fP, \fIv\fP is set\&. Otherwise, sets err to \fBios_base::failbit\fP and leaves \fIv\fP unaltered\&. Sets err to \fBios_base::eofbit\fP if the stream is emptied\&. .PP \fBParameters:\fP .RS 4 \fIin\fP Start of input stream\&. .br \fIend\fP End of input stream\&. .br \fIio\fP Source of locale and flags\&. .br \fIerr\fP Error flags to set\&. .br \fIv\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2060 of file locale_facets\&.h\&. .SS "template \fBiter_type\fP \fBstd::num_get\fP< _CharT, _InIter >::get (\fBiter_type\fP__in, \fBiter_type\fP__end, \fBios_base\fP &__io, \fBios_base::iostate\fP &__err, void *&__v) const\fC [inline]\fP" .PP Numeric parsing\&. Parses the input stream into the pointer variable \fIv\fP\&. It does so by calling \fBnum_get::do_get()\fP\&. .PP The input characters are parsed like the scanf p specifier\&. .PP Digit grouping is interpreted according to \fBnumpunct::grouping()\fP and \fBnumpunct::thousands_sep()\fP\&. If the pattern of digit groups isn't consistent, sets err to \fBios_base::failbit\fP\&. .PP Note that the digit grouping effect for pointers is a bit ambiguous in the standard and shouldn't be relied on\&. See DR 344\&. .PP If parsing the string yields a valid value for \fIv\fP, \fIv\fP is set\&. Otherwise, sets err to \fBios_base::failbit\fP and leaves \fIv\fP unaltered\&. Sets err to \fBios_base::eofbit\fP if the stream is emptied\&. .PP \fBParameters:\fP .RS 4 \fIin\fP Start of input stream\&. .br \fIend\fP End of input stream\&. .br \fIio\fP Source of locale and flags\&. .br \fIerr\fP Error flags to set\&. .br \fIv\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2092 of file locale_facets\&.h\&. .SH "Member Data Documentation" .PP .SS "template \fBlocale::id\fP \fBstd::num_get\fP< _CharT, _InIter >::id\fC [static]\fP" .PP Numpunct facet id\&. .PP Definition at line 1919 of file locale_facets\&.h\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.