.TH "std::num_get< _CharT, _InIter >" 3cxx "Sun Jan 6 2013" "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 "\fBnum_get\fP (size_t __refs=0)" .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, 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 .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 "virtual \fB~num_get\fP ()" .br .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 .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 &, 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 &, 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 &, 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 &, 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) throw ()" .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 () throw ()" .br .ti -1c .RI "static __c_locale \fB_S_lc_ctype_c_locale\fP (__c_locale __cloc, const char *__s)" .br .in -1c .SH "Detailed Description" .PP .SS "templateclass std::num_get< _CharT, _InIter >" Primary class template \fBnum_get\fP\&. .PP This facet encapsulates the code to parse and return a number from a string\&. It is used by the istream numeric extraction operators\&. 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 1917 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 1923 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 1924 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 \fI__refs\fP Passed to the base facet class\&. .RE .PP .PP Definition at line 1938 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 2107 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 \fI__beg\fP Start of input stream\&. .br \fI__end\fP End of input stream\&. .br \fI__io\fP Source of locale and flags\&. .br \fI__err\fP Error flags to set\&. .br \fI__v\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 592 of file locale_facets\&.tcc\&. .PP References std::ios_base::_M_getloc(), std::ios_base::boolalpha, std::ios_base::eofbit, std::ios_base::failbit, std::ios_base::flags(), and std::ios_base::goodbit\&. .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 \fI__beg\fP Start of input stream\&. .br \fI__end\fP End of input stream\&. .br \fI__io\fP Source of locale and flags\&. .br \fI__err\fP Error flags to set\&. .br \fI__v\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2175 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 \fI__beg\fP Start of input stream\&. .br \fI__end\fP End of input stream\&. .br \fI__io\fP Source of locale and flags\&. .br \fI__err\fP Error flags to set\&. .br \fI__v\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2180 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 \fI__beg\fP Start of input stream\&. .br \fI__end\fP End of input stream\&. .br \fI__io\fP Source of locale and flags\&. .br \fI__err\fP Error flags to set\&. .br \fI__v\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2185 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 \fI__beg\fP Start of input stream\&. .br \fI__end\fP End of input stream\&. .br \fI__io\fP Source of locale and flags\&. .br \fI__err\fP Error flags to set\&. .br \fI__v\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2190 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 \fI__beg\fP Start of input stream\&. .br \fI__end\fP End of input stream\&. .br \fI__io\fP Source of locale and flags\&. .br \fI__err\fP Error flags to set\&. .br \fI__v\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2196 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 \fI__beg\fP Start of input stream\&. .br \fI__end\fP End of input stream\&. .br \fI__io\fP Source of locale and flags\&. .br \fI__err\fP Error flags to set\&. .br \fI__v\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2201 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 \fI__beg\fP Start of input stream\&. .br \fI__end\fP End of input stream\&. .br \fI__io\fP Source of locale and flags\&. .br \fI__err\fP Error flags to set\&. .br \fI__v\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 688 of file locale_facets\&.tcc\&. .PP References std::basic_string< _CharT, _Traits, _Alloc >::c_str(), std::ios_base::eofbit, 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 \fI__beg\fP Start of input stream\&. .br \fI__end\fP End of input stream\&. .br \fI__io\fP Source of locale and flags\&. .br \fI__err\fP Error flags to set\&. .br \fI__v\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 703 of file locale_facets\&.tcc\&. .PP References std::basic_string< _CharT, _Traits, _Alloc >::c_str(), std::ios_base::eofbit, 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 \fI__beg\fP Start of input stream\&. .br \fI__end\fP End of input stream\&. .br \fI__io\fP Source of locale and flags\&. .br \fI__err\fP Error flags to set\&. .br \fI__v\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 735 of file locale_facets\&.tcc\&. .PP References std::basic_string< _CharT, _Traits, _Alloc >::c_str(), std::ios_base::eofbit, 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 \fI__beg\fP Start of input stream\&. .br \fI__end\fP End of input stream\&. .br \fI__io\fP Source of locale and flags\&. .br \fI__err\fP Error flags to set\&. .br \fI__v\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 750 of file locale_facets\&.tcc\&. .PP References std::ios_base::basefield, std::ios_base::flags(), and std::ios_base::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 \fI__in\fP Start of input stream\&. .br \fI__end\fP End of input stream\&. .br \fI__io\fP Source of locale and flags\&. .br \fI__err\fP Error flags to set\&. .br \fI__v\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 1964 of file locale_facets\&.h\&. .PP Referenced by std::basic_istream< _CharT, _Traits >::operator>>()\&. .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 \fI__in\fP Start of input stream\&. .br \fI__end\fP End of input stream\&. .br \fI__io\fP Source of locale and flags\&. .br \fI__err\fP Error flags to set\&. .br \fI__v\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2000 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 \fI__in\fP Start of input stream\&. .br \fI__end\fP End of input stream\&. .br \fI__io\fP Source of locale and flags\&. .br \fI__err\fP Error flags to set\&. .br \fI__v\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2005 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 \fI__in\fP Start of input stream\&. .br \fI__end\fP End of input stream\&. .br \fI__io\fP Source of locale and flags\&. .br \fI__err\fP Error flags to set\&. .br \fI__v\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2010 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 \fI__in\fP Start of input stream\&. .br \fI__end\fP End of input stream\&. .br \fI__io\fP Source of locale and flags\&. .br \fI__err\fP Error flags to set\&. .br \fI__v\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2015 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 \fI__in\fP Start of input stream\&. .br \fI__end\fP End of input stream\&. .br \fI__io\fP Source of locale and flags\&. .br \fI__err\fP Error flags to set\&. .br \fI__v\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2021 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 \fI__in\fP Start of input stream\&. .br \fI__end\fP End of input stream\&. .br \fI__io\fP Source of locale and flags\&. .br \fI__err\fP Error flags to set\&. .br \fI__v\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2026 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 \fI__in\fP Start of input stream\&. .br \fI__end\fP End of input stream\&. .br \fI__io\fP Source of locale and flags\&. .br \fI__err\fP Error flags to set\&. .br \fI__v\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2059 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 \fI__in\fP Start of input stream\&. .br \fI__end\fP End of input stream\&. .br \fI__io\fP Source of locale and flags\&. .br \fI__err\fP Error flags to set\&. .br \fI__v\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2064 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 \fI__in\fP Start of input stream\&. .br \fI__end\fP End of input stream\&. .br \fI__io\fP Source of locale and flags\&. .br \fI__err\fP Error flags to set\&. .br \fI__v\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2069 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 \fI__in\fP Start of input stream\&. .br \fI__end\fP End of input stream\&. .br \fI__io\fP Source of locale and flags\&. .br \fI__err\fP Error flags to set\&. .br \fI__v\fP Value to format and insert\&. .RE .PP \fBReturns:\fP .RS 4 Iterator after reading\&. .RE .PP .PP Definition at line 2101 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 1928 of file locale_facets\&.h\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.