.TH "std::num_get< _CharT, _InIter >" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::num_get< _CharT, _InIter > \- Primary class template num_get\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBstd::locale::facet\fP\&. .SS "Public Types" .PP .RI "\fB\fP" .br .in +1c .in +1c .ti -1c .RI "\fBtypedef\fP _CharT \fBchar_type\fP" .br .RI "Public typedefs\&. " .ti -1c .RI "\fBtypedef\fP \fB_InIter\fP \fBiter_type\fP" .br .RI "Public typedefs\&. " .in -1c .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBnum_get\fP (size_t \fB__refs\fP=0)" .br .RI "Constructor performs initialization\&. " .ti -1c .RI "template<\fBtypename\fP \fB_ValueT\fP > \fB_InIter\fP \fB_M_extract_int\fP (\fB_InIter\fP \fB__beg\fP, \fB_InIter\fP __end, \fBios_base\fP &\fB__io\fP, \fBios_base::iostate\fP &\fB__err\fP, \fB_ValueT\fP &\fB__v\fP) const" .br .ti -1c .RI "\fBiter_type\fP \fBget\fP (\fBiter_type\fP \fB__in\fP, \fBiter_type\fP __end, \fBios_base\fP &\fB__io\fP, \fBios_base::iostate\fP &\fB__err\fP, bool &\fB__v\fP) const" .br .RI "Numeric parsing\&. " .ti -1c .RI "\fBiter_type\fP \fBget\fP (\fBiter_type\fP \fB__in\fP, \fBiter_type\fP __end, \fBios_base\fP &\fB__io\fP, \fBios_base::iostate\fP &\fB__err\fP, \fBvoid\fP *&\fB__v\fP) const" .br .RI "Numeric parsing\&. " .in -1c .PP .RI "\fB\fP" .br .in +1c .in +1c .ti -1c .RI "\fBiter_type\fP \fBget\fP (\fBiter_type\fP \fB__in\fP, \fBiter_type\fP __end, \fBios_base\fP &\fB__io\fP, \fBios_base::iostate\fP &\fB__err\fP, long &\fB__v\fP) const" .br .RI "Numeric parsing\&. " .ti -1c .RI "\fBiter_type\fP \fBget\fP (\fBiter_type\fP \fB__in\fP, \fBiter_type\fP __end, \fBios_base\fP &\fB__io\fP, \fBios_base::iostate\fP &\fB__err\fP, unsigned short &\fB__v\fP) const" .br .RI "Numeric parsing\&. " .ti -1c .RI "\fBiter_type\fP \fBget\fP (\fBiter_type\fP \fB__in\fP, \fBiter_type\fP __end, \fBios_base\fP &\fB__io\fP, \fBios_base::iostate\fP &\fB__err\fP, unsigned int &\fB__v\fP) const" .br .RI "Numeric parsing\&. " .ti -1c .RI "\fBiter_type\fP \fBget\fP (\fBiter_type\fP \fB__in\fP, \fBiter_type\fP __end, \fBios_base\fP &\fB__io\fP, \fBios_base::iostate\fP &\fB__err\fP, unsigned long &\fB__v\fP) const" .br .RI "Numeric parsing\&. " .ti -1c .RI "\fBiter_type\fP \fBget\fP (\fBiter_type\fP \fB__in\fP, \fBiter_type\fP __end, \fBios_base\fP &\fB__io\fP, \fBios_base::iostate\fP &\fB__err\fP, long long &\fB__v\fP) const" .br .RI "Numeric parsing\&. " .ti -1c .RI "\fBiter_type\fP \fBget\fP (\fBiter_type\fP \fB__in\fP, \fBiter_type\fP __end, \fBios_base\fP &\fB__io\fP, \fBios_base::iostate\fP &\fB__err\fP, unsigned long long &\fB__v\fP) const" .br .RI "Numeric parsing\&. " .in -1c .in -1c .PP .RI "\fB\fP" .br .in +1c .in +1c .ti -1c .RI "\fBiter_type\fP \fBget\fP (\fBiter_type\fP \fB__in\fP, \fBiter_type\fP __end, \fBios_base\fP &\fB__io\fP, \fBios_base::iostate\fP &\fB__err\fP, float &\fB__v\fP) const" .br .RI "Numeric parsing\&. " .ti -1c .RI "\fBiter_type\fP \fBget\fP (\fBiter_type\fP \fB__in\fP, \fBiter_type\fP __end, \fBios_base\fP &\fB__io\fP, \fBios_base::iostate\fP &\fB__err\fP, double &\fB__v\fP) const" .br .RI "Numeric parsing\&. " .ti -1c .RI "\fBiter_type\fP \fBget\fP (\fBiter_type\fP \fB__in\fP, \fBiter_type\fP __end, \fBios_base\fP &\fB__io\fP, \fBios_base::iostate\fP &\fB__err\fP, long double &\fB__v\fP) const" .br .RI "Numeric parsing\&. " .in -1c .in -1c .SS "Static Public Attributes" .in +1c .ti -1c .RI "\fBstatic\fP \fBlocale::id\fP \fBid\fP" .br .RI "Numpunct facet id\&. " .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "\fBvirtual\fP \fB~num_get\fP ()" .br .RI "Destructor\&. " .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<\fBtypename\fP \fB_ValueT\fP > \fBiter_type\fP \fB_M_extract_int\fP (\fBiter_type\fP, \fBiter_type\fP, \fBios_base\fP &, \fBios_base::iostate\fP &, \fB_ValueT\fP &) const" .br .ti -1c .RI "template<\fBtypename\fP \fB_CharT2\fP > __gnu_cxx::__enable_if< __is_char< \fB_CharT2\fP >::__value, int >::__type \fB_M_find\fP (const \fB_CharT2\fP *, size_t \fB__len\fP, \fB_CharT2\fP __c) const" .br .ti -1c .RI "template<\fBtypename\fP \fB_CharT2\fP > __gnu_cxx::__enable_if::__value, int >::__type \fB_M_find\fP (const \fB_CharT2\fP *\fB__zero\fP, size_t \fB__len\fP, \fB_CharT2\fP __c) const" .br .in -1c .PP .RI "\fB\fP" .br .in +1c .in +1c .ti -1c .RI "\fBvirtual\fP \fBiter_type\fP \fBdo_get\fP (\fBiter_type\fP, \fBiter_type\fP, \fBios_base\fP &, \fBios_base::iostate\fP &, bool &) const" .br .RI "Numeric parsing\&. " .ti -1c .RI "\fBvirtual\fP \fBiter_type\fP \fBdo_get\fP (\fBiter_type\fP \fB__beg\fP, \fBiter_type\fP __end, \fBios_base\fP &\fB__io\fP, \fBios_base::iostate\fP &\fB__err\fP, long &\fB__v\fP) const" .br .RI "Numeric parsing\&. " .ti -1c .RI "\fBvirtual\fP \fBiter_type\fP \fBdo_get\fP (\fBiter_type\fP \fB__beg\fP, \fBiter_type\fP __end, \fBios_base\fP &\fB__io\fP, \fBios_base::iostate\fP &\fB__err\fP, unsigned short &\fB__v\fP) const" .br .RI "Numeric parsing\&. " .ti -1c .RI "\fBvirtual\fP \fBiter_type\fP \fBdo_get\fP (\fBiter_type\fP \fB__beg\fP, \fBiter_type\fP __end, \fBios_base\fP &\fB__io\fP, \fBios_base::iostate\fP &\fB__err\fP, unsigned int &\fB__v\fP) const" .br .RI "Numeric parsing\&. " .ti -1c .RI "\fBvirtual\fP \fBiter_type\fP \fBdo_get\fP (\fBiter_type\fP \fB__beg\fP, \fBiter_type\fP __end, \fBios_base\fP &\fB__io\fP, \fBios_base::iostate\fP &\fB__err\fP, unsigned long &\fB__v\fP) const" .br .RI "Numeric parsing\&. " .ti -1c .RI "\fBvirtual\fP \fBiter_type\fP \fBdo_get\fP (\fBiter_type\fP \fB__beg\fP, \fBiter_type\fP __end, \fBios_base\fP &\fB__io\fP, \fBios_base::iostate\fP &\fB__err\fP, long long &\fB__v\fP) const" .br .RI "Numeric parsing\&. " .ti -1c .RI "\fBvirtual\fP \fBiter_type\fP \fBdo_get\fP (\fBiter_type\fP \fB__beg\fP, \fBiter_type\fP __end, \fBios_base\fP &\fB__io\fP, \fBios_base::iostate\fP &\fB__err\fP, unsigned long long &\fB__v\fP) const" .br .RI "Numeric parsing\&. " .ti -1c .RI "\fBvirtual\fP \fBiter_type\fP \fBdo_get\fP (\fBiter_type\fP, \fBiter_type\fP, \fBios_base\fP &, \fBios_base::iostate\fP &, float &) const" .br .RI "Numeric parsing\&. " .ti -1c .RI "\fBvirtual\fP \fBiter_type\fP \fBdo_get\fP (\fBiter_type\fP, \fBiter_type\fP, \fBios_base\fP &, \fBios_base::iostate\fP &, double &) const" .br .RI "Numeric parsing\&. " .ti -1c .RI "\fBvirtual\fP \fBiter_type\fP \fBdo_get\fP (\fBiter_type\fP, \fBiter_type\fP, \fBios_base\fP &, \fBios_base::iostate\fP &, long double &) const" .br .RI "Numeric parsing\&. " .ti -1c .RI "\fBvirtual\fP \fBiter_type\fP \fBdo_get\fP (\fBiter_type\fP, \fBiter_type\fP, \fBios_base\fP &, \fBios_base::iostate\fP &, \fBvoid\fP *&) const" .br .RI "Numeric parsing\&. " .in -1c .in -1c .SS "Static Protected Member Functions" .in +1c .ti -1c .RI "\fBstatic\fP __c_locale \fB_S_clone_c_locale\fP (__c_locale &\fB__cloc\fP) \fBthrow\fP ()" .br .ti -1c .RI "\fBstatic\fP \fBvoid\fP \fB_S_create_c_locale\fP (__c_locale &\fB__cloc\fP, const char *\fB__s\fP, __c_locale \fB__old\fP=0)" .br .ti -1c .RI "\fBstatic\fP \fBvoid\fP \fB_S_destroy_c_locale\fP (__c_locale &\fB__cloc\fP)" .br .ti -1c .RI "\fBstatic\fP __c_locale \fB_S_get_c_locale\fP ()" .br .ti -1c .RI "\fBstatic\fP const char * \fB_S_get_c_name\fP () \fBthrow\fP ()" .br .ti -1c .RI "\fBstatic\fP __c_locale \fB_S_lc_ctype_c_locale\fP (__c_locale \fB__cloc\fP, const char *\fB__s\fP)" .br .in -1c .SH "Detailed Description" .PP .SS "template<\fBtypename\fP _CharT, \fBtypename\fP \fB_InIter\fP> .br class std::num_get< _CharT, _InIter >"Primary class template num_get\&. 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 num_get 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 num_get facet\&. .SH "Member Typedef Documentation" .PP .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fBtypedef\fP _CharT \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::char_type" .PP Public typedefs\&. .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fBtypedef\fP \fB_InIter\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::iter_type" .PP Public typedefs\&. .SH "Constructor & Destructor Documentation" .PP .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::num_get (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 .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fBvirtual\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::~\fBnum_get\fP ()\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP" .PP Destructor\&. .SH "Member Function Documentation" .PP .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fBvirtual\fP \fBiter_type\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::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 get() 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 .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fBvirtual\fP \fBiter_type\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::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 get() 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 .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fBvirtual\fP \fBiter_type\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::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 get() 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 .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fBvirtual\fP \fBiter_type\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::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 get() 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 .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fBvirtual\fP \fBiter_type\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::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 get() 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 .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fBvirtual\fP \fBiter_type\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::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 get() 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 .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fB_InIter\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::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 get() 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 References \fBstd::ios_base::boolalpha\fP, \fBstd::ios_base::eofbit\fP, \fBstd::ios_base::failbit\fP, and \fBstd::ios_base::goodbit\fP\&. .PP Referenced by \fBstd::num_get< _CharT, _InIter >::get()\fP, \fBstd::num_get< _CharT, _InIter >::get()\fP, \fBstd::num_get< _CharT, _InIter >::get()\fP, \fBstd::num_get< _CharT, _InIter >::get()\fP, \fBstd::num_get< _CharT, _InIter >::get()\fP, \fBstd::num_get< _CharT, _InIter >::get()\fP, \fBstd::num_get< _CharT, _InIter >::get()\fP, \fBstd::num_get< _CharT, _InIter >::get()\fP, \fBstd::num_get< _CharT, _InIter >::get()\fP, \fBstd::num_get< _CharT, _InIter >::get()\fP, and \fBstd::num_get< _CharT, _InIter >::get()\fP\&. .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fB_InIter\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::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 get() 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 References \fBstd::ios_base::eofbit\fP\&. .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fB_InIter\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::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 get() 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 References \fBstd::ios_base::eofbit\fP\&. .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fB_InIter\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::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 get() 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 References \fBstd::ios_base::eofbit\fP\&. .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fB_InIter\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::do_get (\fBiter_type\fP __beg, \fBiter_type\fP __end, \fBios_base\fP & __io, \fBios_base::iostate\fP & __err, \fBvoid\fP *& __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 get() 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 References \fBstd::ios_base::basefield\fP, and \fBstd::ios_base::hex\fP\&. .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fBiter_type\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::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 num_get::do_get()\&. .PP If ios_base::boolalpha is set, attempts to read ctype::truename() or ctype::falsename()\&. Sets \fIv\fP 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\&. .PP If ios_base::boolalpha 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 ios_base::failbit\&. .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 References \fBstd::num_get< _CharT, _InIter >::do_get()\fP\&. .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fBiter_type\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::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 num_get::do_get()\&. .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 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\&. .PP If parsing the string yields a valid value for \fIv\fP, \fIv\fP is set\&. Otherwise, sets err to ios_base::failbit and leaves \fIv\fP unaltered\&. Sets err to ios_base::eofbit 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 References \fBstd::num_get< _CharT, _InIter >::do_get()\fP\&. .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fBiter_type\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::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 num_get::do_get()\&. .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 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\&. .PP If parsing the string yields a valid value for \fIv\fP, \fIv\fP is set\&. Otherwise, sets err to ios_base::failbit and leaves \fIv\fP unaltered\&. Sets err to ios_base::eofbit 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 References \fBstd::num_get< _CharT, _InIter >::do_get()\fP\&. .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fBiter_type\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::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 num_get::do_get()\&. .PP Parsing is affected by the flag settings in \fIio\fP\&. .PP 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\&. .PP 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\&. .PP If parsing the string yields a valid value for \fIv\fP, \fIv\fP is set\&. Otherwise, sets err to ios_base::failbit and leaves \fIv\fP unaltered\&. Sets err to ios_base::eofbit 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 References \fBstd::num_get< _CharT, _InIter >::do_get()\fP\&. .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fBiter_type\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::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 num_get::do_get()\&. .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 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\&. .PP If parsing the string yields a valid value for \fIv\fP, \fIv\fP is set\&. Otherwise, sets err to ios_base::failbit and leaves \fIv\fP unaltered\&. Sets err to ios_base::eofbit 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 References \fBstd::num_get< _CharT, _InIter >::do_get()\fP\&. .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fBiter_type\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::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 num_get::do_get()\&. .PP Parsing is affected by the flag settings in \fIio\fP\&. .PP 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\&. .PP 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\&. .PP If parsing the string yields a valid value for \fIv\fP, \fIv\fP is set\&. Otherwise, sets err to ios_base::failbit and leaves \fIv\fP unaltered\&. Sets err to ios_base::eofbit 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 References \fBstd::num_get< _CharT, _InIter >::do_get()\fP\&. .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fBiter_type\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::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 num_get::do_get()\&. .PP Parsing is affected by the flag settings in \fIio\fP\&. .PP 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\&. .PP 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\&. .PP If parsing the string yields a valid value for \fIv\fP, \fIv\fP is set\&. Otherwise, sets err to ios_base::failbit and leaves \fIv\fP unaltered\&. Sets err to ios_base::eofbit 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 References \fBstd::num_get< _CharT, _InIter >::do_get()\fP\&. .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fBiter_type\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::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 num_get::do_get()\&. .PP Parsing is affected by the flag settings in \fIio\fP\&. .PP 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\&. .PP 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\&. .PP If parsing the string yields a valid value for \fIv\fP, \fIv\fP is set\&. Otherwise, sets err to ios_base::failbit and leaves \fIv\fP unaltered\&. Sets err to ios_base::eofbit 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 References \fBstd::num_get< _CharT, _InIter >::do_get()\fP\&. .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fBiter_type\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::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 num_get::do_get()\&. .PP Parsing is affected by the flag settings in \fIio\fP\&. .PP 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\&. .PP 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\&. .PP If parsing the string yields a valid value for \fIv\fP, \fIv\fP is set\&. Otherwise, sets err to ios_base::failbit and leaves \fIv\fP unaltered\&. Sets err to ios_base::eofbit 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 References \fBstd::num_get< _CharT, _InIter >::do_get()\fP\&. .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fBiter_type\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::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 num_get::do_get()\&. .PP Parsing is affected by the flag settings in \fIio\fP\&. .PP 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\&. .PP 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\&. .PP If parsing the string yields a valid value for \fIv\fP, \fIv\fP is set\&. Otherwise, sets err to ios_base::failbit and leaves \fIv\fP unaltered\&. Sets err to ios_base::eofbit 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 References \fBstd::num_get< _CharT, _InIter >::do_get()\fP\&. .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fBiter_type\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::get (\fBiter_type\fP __in, \fBiter_type\fP __end, \fBios_base\fP & __io, \fBios_base::iostate\fP & __err, \fBvoid\fP *& __v) const\fC [inline]\fP" .PP Numeric parsing\&. Parses the input stream into the pointer variable \fIv\fP\&. It does so by calling num_get::do_get()\&. .PP The input characters are parsed like the scanf p specifier\&. .PP 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\&. .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 ios_base::failbit and leaves \fIv\fP unaltered\&. Sets err to ios_base::eofbit 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 References \fBstd::num_get< _CharT, _InIter >::do_get()\fP\&. .SH "Member Data Documentation" .PP .SS "template<\fBtypename\fP _CharT , \fBtypename\fP \fB_InIter\fP > \fBlocale::id\fP \fBstd::num_get\fP< _CharT, \fB_InIter\fP >::id\fC [static]\fP" .PP Numpunct facet id\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.