.TH "std::moneypunct< _CharT, _Intl >" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::moneypunct< _CharT, _Intl > \- Primary class template moneypunct\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBstd::locale::facet\fP, and \fBstd::money_base\fP\&. .PP Inherited by \fBstd::moneypunct_byname< _CharT, _Intl >\fP\&. .SS "Public Types" .in +1c .ti -1c .RI "enum { \fB_S_minus\fP, \fB_S_zero\fP, \fB_S_end\fP }" .br .ti -1c .RI "\fBtypedef\fP __moneypunct_cache< _CharT, \fB_Intl\fP > \fB__cache_type\fP" .br .ti -1c .RI "enum \fBpart\fP { \fBnone\fP, \fBspace\fP, \fBsymbol\fP, \fBsign\fP, \fBvalue\fP }" .br .in -1c .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 \fBbasic_string\fP< _CharT > \fBstring_type\fP" .br .RI "Public typedefs\&. " .in -1c .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBmoneypunct\fP (__c_locale \fB__cloc\fP, \fBconst\fP char *\fB__s\fP, size_t \fB__refs\fP=0)" .br .RI "Internal constructor\&. Not for general use\&. " .ti -1c .RI "\fBmoneypunct\fP (\fB__cache_type\fP *__cache, size_t \fB__refs\fP=0)" .br .RI "Constructor performs initialization\&. " .ti -1c .RI "\fBmoneypunct\fP (size_t \fB__refs\fP=0)" .br .RI "Constructor performs initialization\&. " .ti -1c .RI "\fBstring_type\fP \fBcurr_symbol\fP () \fBconst\fP" .br .RI "Return currency symbol string\&. " .ti -1c .RI "\fBchar_type\fP \fBdecimal_point\fP () \fBconst\fP" .br .RI "Return decimal point character\&. " .ti -1c .RI "int \fBfrac_digits\fP () \fBconst\fP" .br .RI "Return number of digits in fraction\&. " .ti -1c .RI "\fBstring\fP \fBgrouping\fP () \fBconst\fP" .br .RI "Return grouping specification\&. " .ti -1c .RI "\fBstring_type\fP \fBnegative_sign\fP () \fBconst\fP" .br .RI "Return negative sign string\&. " .ti -1c .RI "\fBstring_type\fP \fBpositive_sign\fP () \fBconst\fP" .br .RI "Return positive sign string\&. " .ti -1c .RI "\fBchar_type\fP \fBthousands_sep\fP () \fBconst\fP" .br .RI "Return thousands separator character\&. " .in -1c .PP .RI "\fB\fP" .br .in +1c .in +1c .ti -1c .RI "pattern \fBpos_format\fP () \fBconst\fP" .br .RI "Return pattern for money values\&. " .ti -1c .RI "pattern \fBneg_format\fP () \fBconst\fP" .br .RI "Return pattern for money values\&. " .in -1c .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "\fBstatic\fP pattern \fB_S_construct_pattern\fP (char \fB__precedes\fP, char \fB__space\fP, char \fB__posn\fP) throw ()" .br .in -1c .SS "Static Public Attributes" .in +1c .ti -1c .RI "\fBstatic\fP \fBconst\fP char * \fB_S_atoms\fP" .br .ti -1c .RI "\fBstatic\fP \fBconst\fP pattern \fB_S_default_pattern\fP" .br .ti -1c .RI "\fBstatic\fP \fBlocale::id\fP \fBid\fP" .br .RI "Numpunct facet id\&. " .ti -1c .RI "\fBstatic\fP \fBconst\fP bool \fBintl\fP" .br .RI "This value is provided by the standard, but no reason for its existence\&. " .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "\fBvirtual\fP \fB~moneypunct\fP ()" .br .RI "Destructor\&. " .ti -1c .RI "\fBvoid\fP \fB_M_initialize_moneypunct\fP (__c_locale \fB__cloc\fP=0, \fBconst\fP char *__name=0)" .br .ti -1c .RI "\fBvoid\fP \fB_M_initialize_moneypunct\fP (__c_locale, \fBconst\fP char *)" .br .ti -1c .RI "\fBvoid\fP \fB_M_initialize_moneypunct\fP (__c_locale, \fBconst\fP char *)" .br .ti -1c .RI "\fBvoid\fP \fB_M_initialize_moneypunct\fP (__c_locale, \fBconst\fP char *)" .br .ti -1c .RI "\fBvoid\fP \fB_M_initialize_moneypunct\fP (__c_locale, \fBconst\fP char *)" .br .ti -1c .RI "\fBvirtual\fP \fBstring_type\fP \fBdo_curr_symbol\fP () \fBconst\fP" .br .RI "Return currency symbol string\&. " .ti -1c .RI "\fBvirtual\fP \fBchar_type\fP \fBdo_decimal_point\fP () \fBconst\fP" .br .RI "Return decimal point character\&. " .ti -1c .RI "\fBvirtual\fP int \fBdo_frac_digits\fP () \fBconst\fP" .br .RI "Return number of digits in fraction\&. " .ti -1c .RI "\fBvirtual\fP \fBstring\fP \fBdo_grouping\fP () \fBconst\fP" .br .RI "Return grouping specification\&. " .ti -1c .RI "\fBvirtual\fP pattern \fBdo_neg_format\fP () \fBconst\fP" .br .RI "Return pattern for money values\&. " .ti -1c .RI "\fBvirtual\fP \fBstring_type\fP \fBdo_negative_sign\fP () \fBconst\fP" .br .RI "Return negative sign string\&. " .ti -1c .RI "\fBvirtual\fP pattern \fBdo_pos_format\fP () \fBconst\fP" .br .RI "Return pattern for money values\&. " .ti -1c .RI "\fBvirtual\fP \fBstring_type\fP \fBdo_positive_sign\fP () \fBconst\fP" .br .RI "Return positive sign string\&. " .ti -1c .RI "\fBvirtual\fP \fBchar_type\fP \fBdo_thousands_sep\fP () \fBconst\fP" .br .RI "Return thousands separator character\&. " .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) throw ()" .br .ti -1c .RI "\fBstatic\fP \fBvoid\fP \fB_S_create_c_locale\fP (__c_locale &\fB__cloc\fP, \fBconst\fP 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 \fBconst\fP char * \fB_S_get_c_name\fP () throw ()" .br .ti -1c .RI "\fBstatic\fP __c_locale \fB_S_lc_ctype_c_locale\fP (__c_locale \fB__cloc\fP, \fBconst\fP char *\fB__s\fP)" .br .in -1c .SH "Detailed Description" .PP .SS "template<\fBtypename\fP _CharT, bool _Intl> .br class std::moneypunct< _CharT, _Intl >"Primary class template moneypunct\&. This facet encapsulates the punctuation, grouping and other formatting features of money amount string representations\&. .PP Definition at line \fB1024\fP of file \fBlocale_facets_nonio\&.h\fP\&. .SH "Member Typedef Documentation" .PP .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBtypedef\fP __moneypunct_cache<_CharT, \fB_Intl\fP> \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::__cache_type" .PP Definition at line \fB1033\fP of file \fBlocale_facets_nonio\&.h\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBtypedef\fP _CharT \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::char_type" .PP Public typedefs\&. .PP Definition at line \fB1030\fP of file \fBlocale_facets_nonio\&.h\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBtypedef\fP \fBbasic_string\fP<_CharT> \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::string_type" .PP Public typedefs\&. .PP Definition at line \fB1031\fP of file \fBlocale_facets_nonio\&.h\fP\&. .SH "Member Enumeration Documentation" .PP .SS "\fBanonymous\fP \fBenum\fP\fC [inherited]\fP" .PP Definition at line \fB936\fP of file \fBlocale_facets_nonio\&.h\fP\&. .SS "\fBenum\fP std::money_base::part\fC [inherited]\fP" .PP Definition at line \fB931\fP of file \fBlocale_facets_nonio\&.h\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::moneypunct (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 \fB1053\fP of file \fBlocale_facets_nonio\&.h\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::moneypunct (\fB__cache_type\fP * __cache, size_t __refs = \fC0\fP)\fC [inline]\fP, \fC [explicit]\fP" .PP Constructor performs initialization\&. This is an internal constructor\&. .PP \fBParameters\fP .RS 4 \fI__cache\fP Cache for optimization\&. .br \fI__refs\fP Passed to the base facet class\&. .RE .PP .PP Definition at line \fB1066\fP of file \fBlocale_facets_nonio\&.h\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::moneypunct (__c_locale __cloc, \fBconst\fP char * __s, size_t __refs = \fC0\fP)\fC [inline]\fP, \fC [explicit]\fP" .PP Internal constructor\&. Not for general use\&. This is a constructor for use by the library itself to set up new locales\&. .PP \fBParameters\fP .RS 4 \fI__cloc\fP The C locale\&. .br \fI__s\fP The name of a locale\&. .br \fI__refs\fP Passed to the base facet class\&. .RE .PP .PP Definition at line \fB1081\fP of file \fBlocale_facets_nonio\&.h\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBvirtual\fP \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::~\fBmoneypunct\fP ()\fC [protected]\fP, \fC [virtual]\fP" .PP Destructor\&. .SH "Member Function Documentation" .PP .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBstring_type\fP \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::curr_symbol () const\fC [inline]\fP" .PP Return currency symbol string\&. This function returns a string_type to use as a currency symbol\&. It does so by returning returning moneypunct::do_curr_symbol()\&. .PP \fBReturns\fP .RS 4 \fIstring_type\fP representing a currency symbol\&. .RE .PP .PP Definition at line \fB1151\fP of file \fBlocale_facets_nonio\&.h\fP\&. .PP References \fBstd::moneypunct< _CharT, _Intl >::do_curr_symbol()\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBchar_type\fP \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::decimal_point () const\fC [inline]\fP" .PP Return decimal point character\&. This function returns a char_type to use as a decimal point\&. It does so by returning returning moneypunct::do_decimal_point()\&. .PP \fBReturns\fP .RS 4 \fIchar_type\fP representing a decimal point\&. .RE .PP .PP Definition at line \fB1095\fP of file \fBlocale_facets_nonio\&.h\fP\&. .PP References \fBstd::moneypunct< _CharT, _Intl >::do_decimal_point()\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBvirtual\fP \fBstring_type\fP \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::do_curr_symbol () const\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP" .PP Return currency symbol string\&. This function returns a string_type to use as a currency symbol\&. This function is a hook for derived classes to change the value returned\&. .PP \fBSee also\fP .RS 4 curr_symbol() for details\&. .RE .PP \fBReturns\fP .RS 4 \fIstring_type\fP representing a currency symbol\&. .RE .PP .PP Definition at line \fB1297\fP of file \fBlocale_facets_nonio\&.h\fP\&. .PP Referenced by \fBstd::moneypunct< _CharT, _Intl >::curr_symbol()\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBvirtual\fP \fBchar_type\fP \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::do_decimal_point () const\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP" .PP Return decimal point character\&. Returns a char_type to use as a decimal point\&. This function is a hook for derived classes to change the value returned\&. .PP \fBReturns\fP .RS 4 \fIchar_type\fP representing a decimal point\&. .RE .PP .PP Definition at line \fB1259\fP of file \fBlocale_facets_nonio\&.h\fP\&. .PP Referenced by \fBstd::moneypunct< _CharT, _Intl >::decimal_point()\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBvirtual\fP int \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::do_frac_digits () const\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP" .PP Return number of digits in fraction\&. This function returns the exact number of digits that make up the fractional part of a money amount\&. This function is a hook for derived classes to change the value returned\&. .PP \fBSee also\fP .RS 4 frac_digits() for details\&. .RE .PP \fBReturns\fP .RS 4 Number of digits in amount fraction\&. .RE .PP .PP Definition at line \fB1337\fP of file \fBlocale_facets_nonio\&.h\fP\&. .PP Referenced by \fBstd::moneypunct< _CharT, _Intl >::frac_digits()\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBvirtual\fP \fBstring\fP \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::do_grouping () const\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP" .PP Return grouping specification\&. Returns a string representing groupings for the integer part of a number\&. This function is a hook for derived classes to change the value returned\&. .PP \fBSee also\fP .RS 4 grouping() for details\&. .RE .PP \fBReturns\fP .RS 4 String representing grouping specification\&. .RE .PP .PP Definition at line \fB1284\fP of file \fBlocale_facets_nonio\&.h\fP\&. .PP Referenced by \fBstd::moneypunct< _CharT, _Intl >::grouping()\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBvirtual\fP pattern \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::do_neg_format () const\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP" .PP Return pattern for money values\&. This function returns a pattern describing the formatting of a negative valued money amount\&. This function is a hook for derived classes to change the value returned\&. .PP \fBSee also\fP .RS 4 neg_format() for details\&. .RE .PP \fBReturns\fP .RS 4 Pattern for money values\&. .RE .PP .PP Definition at line \fB1365\fP of file \fBlocale_facets_nonio\&.h\fP\&. .PP Referenced by \fBstd::moneypunct< _CharT, _Intl >::neg_format()\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBvirtual\fP \fBstring_type\fP \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::do_negative_sign () const\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP" .PP Return negative sign string\&. This function returns a string_type to use as a sign for negative amounts\&. This function is a hook for derived classes to change the value returned\&. .PP \fBSee also\fP .RS 4 negative_sign() for details\&. .RE .PP \fBReturns\fP .RS 4 \fIstring_type\fP representing a negative sign\&. .RE .PP .PP Definition at line \fB1323\fP of file \fBlocale_facets_nonio\&.h\fP\&. .PP Referenced by \fBstd::moneypunct< _CharT, _Intl >::negative_sign()\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBvirtual\fP pattern \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::do_pos_format () const\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP" .PP Return pattern for money values\&. This function returns a pattern describing the formatting of a positive valued money amount\&. This function is a hook for derived classes to change the value returned\&. .PP \fBSee also\fP .RS 4 pos_format() for details\&. .RE .PP \fBReturns\fP .RS 4 Pattern for money values\&. .RE .PP .PP Definition at line \fB1351\fP of file \fBlocale_facets_nonio\&.h\fP\&. .PP Referenced by \fBstd::moneypunct< _CharT, _Intl >::pos_format()\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBvirtual\fP \fBstring_type\fP \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::do_positive_sign () const\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP" .PP Return positive sign string\&. This function returns a string_type to use as a sign for positive amounts\&. This function is a hook for derived classes to change the value returned\&. .PP \fBSee also\fP .RS 4 positive_sign() for details\&. .RE .PP \fBReturns\fP .RS 4 \fIstring_type\fP representing a positive sign\&. .RE .PP .PP Definition at line \fB1310\fP of file \fBlocale_facets_nonio\&.h\fP\&. .PP Referenced by \fBstd::moneypunct< _CharT, _Intl >::positive_sign()\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBvirtual\fP \fBchar_type\fP \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::do_thousands_sep () const\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP" .PP Return thousands separator character\&. Returns a char_type to use as a thousands separator\&. This function is a hook for derived classes to change the value returned\&. .PP \fBReturns\fP .RS 4 \fIchar_type\fP representing a thousands separator\&. .RE .PP .PP Definition at line \fB1271\fP of file \fBlocale_facets_nonio\&.h\fP\&. .PP Referenced by \fBstd::moneypunct< _CharT, _Intl >::thousands_sep()\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> int \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::frac_digits () const\fC [inline]\fP" .PP Return number of digits in fraction\&. This function returns the exact number of digits that make up the fractional part of a money amount\&. It does so by returning returning moneypunct::do_frac_digits()\&. .PP The fractional part of a money amount is optional\&. But if it is present, there must be frac_digits() digits\&. .PP \fBReturns\fP .RS 4 Number of digits in amount fraction\&. .RE .PP .PP Definition at line \fB1201\fP of file \fBlocale_facets_nonio\&.h\fP\&. .PP References \fBstd::moneypunct< _CharT, _Intl >::do_frac_digits()\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBstring\fP \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::grouping () const\fC [inline]\fP" .PP Return grouping specification\&. This function returns a string representing groupings for the integer part of an amount\&. Groupings indicate where thousands separators should be inserted\&. .PP Each char in the return string is interpret as an integer rather than a character\&. These numbers represent the number of digits in a group\&. The first char in the string represents the number of digits in the least significant group\&. If a char is negative, it indicates an unlimited number of digits for the group\&. If more chars from the string are required to group a number, the last char is used repeatedly\&. .PP For example, if the grouping() returns \fC\\003\\002\fP and is applied to the number 123456789, this corresponds to 12,34,56,789\&. Note that if the string was \fC32\fP, this would put more than 50 digits into the least significant group if the character set is ASCII\&. .PP The string is returned by calling moneypunct::do_grouping()\&. .PP \fBReturns\fP .RS 4 string representing grouping specification\&. .RE .PP .PP Definition at line \fB1138\fP of file \fBlocale_facets_nonio\&.h\fP\&. .PP References \fBstd::moneypunct< _CharT, _Intl >::do_grouping()\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> pattern \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::neg_format () const\fC [inline]\fP" .PP Return pattern for money values\&. This function returns a pattern describing the formatting of a positive or negative valued money amount\&. It does so by returning returning moneypunct::do_pos_format() or moneypunct::do_neg_format()\&. .PP The pattern has 4 fields describing the ordering of symbol, sign, value, and none or space\&. There must be one of each in the pattern\&. The none and space enums may not appear in the first field and space may not appear in the final field\&. .PP The parts of a money string must appear in the order indicated by the fields of the pattern\&. The symbol field indicates that the value of curr_symbol() may be present\&. The sign field indicates that the value of positive_sign() or negative_sign() must be present\&. The value field indicates that the absolute value of the money amount is present\&. none indicates 0 or more whitespace characters, except at the end, where it permits no whitespace\&. space indicates that 1 or more whitespace characters must be present\&. .PP For example, for the US locale and pos_format() pattern {symbol,sign,value,none}, curr_symbol() == '$' positive_sign() == '+', and value 10\&.01, and options set to force the symbol, the corresponding string is \fC$+10\&.01\fP\&. .PP \fBReturns\fP .RS 4 Pattern for money values\&. .RE .PP .PP Definition at line \fB1241\fP of file \fBlocale_facets_nonio\&.h\fP\&. .PP References \fBstd::moneypunct< _CharT, _Intl >::do_neg_format()\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBstring_type\fP \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::negative_sign () const\fC [inline]\fP" .PP Return negative sign string\&. This function returns a string_type to use as a sign for negative amounts\&. It does so by returning returning moneypunct::do_negative_sign()\&. .PP If the return value contains more than one character, the first character appears in the position indicated by neg_format() and the remainder appear at the end of the formatted string\&. .PP \fBReturns\fP .RS 4 \fIstring_type\fP representing a negative sign\&. .RE .PP .PP Definition at line \fB1185\fP of file \fBlocale_facets_nonio\&.h\fP\&. .PP References \fBstd::moneypunct< _CharT, _Intl >::do_negative_sign()\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> pattern \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::pos_format () const\fC [inline]\fP" .PP Return pattern for money values\&. This function returns a pattern describing the formatting of a positive or negative valued money amount\&. It does so by returning returning moneypunct::do_pos_format() or moneypunct::do_neg_format()\&. .PP The pattern has 4 fields describing the ordering of symbol, sign, value, and none or space\&. There must be one of each in the pattern\&. The none and space enums may not appear in the first field and space may not appear in the final field\&. .PP The parts of a money string must appear in the order indicated by the fields of the pattern\&. The symbol field indicates that the value of curr_symbol() may be present\&. The sign field indicates that the value of positive_sign() or negative_sign() must be present\&. The value field indicates that the absolute value of the money amount is present\&. none indicates 0 or more whitespace characters, except at the end, where it permits no whitespace\&. space indicates that 1 or more whitespace characters must be present\&. .PP For example, for the US locale and pos_format() pattern {symbol,sign,value,none}, curr_symbol() == '$' positive_sign() == '+', and value 10\&.01, and options set to force the symbol, the corresponding string is \fC$+10\&.01\fP\&. .PP \fBReturns\fP .RS 4 Pattern for money values\&. .RE .PP .PP Definition at line \fB1237\fP of file \fBlocale_facets_nonio\&.h\fP\&. .PP References \fBstd::moneypunct< _CharT, _Intl >::do_pos_format()\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBstring_type\fP \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::positive_sign () const\fC [inline]\fP" .PP Return positive sign string\&. This function returns a string_type to use as a sign for positive amounts\&. It does so by returning returning moneypunct::do_positive_sign()\&. .PP If the return value contains more than one character, the first character appears in the position indicated by pos_format() and the remainder appear at the end of the formatted string\&. .PP \fBReturns\fP .RS 4 \fIstring_type\fP representing a positive sign\&. .RE .PP .PP Definition at line \fB1168\fP of file \fBlocale_facets_nonio\&.h\fP\&. .PP References \fBstd::moneypunct< _CharT, _Intl >::do_positive_sign()\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBchar_type\fP \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::thousands_sep () const\fC [inline]\fP" .PP Return thousands separator character\&. This function returns a char_type to use as a thousands separator\&. It does so by returning returning moneypunct::do_thousands_sep()\&. .PP \fBReturns\fP .RS 4 char_type representing a thousands separator\&. .RE .PP .PP Definition at line \fB1108\fP of file \fBlocale_facets_nonio\&.h\fP\&. .PP References \fBstd::moneypunct< _CharT, _Intl >::do_thousands_sep()\fP\&. .SH "Member Data Documentation" .PP .SS "\fBconst\fP char* std::money_base::_S_atoms\fC [static]\fP, \fC [inherited]\fP" .PP Definition at line \fB945\fP of file \fBlocale_facets_nonio\&.h\fP\&. .SS "\fBconst\fP pattern std::money_base::_S_default_pattern\fC [static]\fP, \fC [inherited]\fP" .PP Definition at line \fB934\fP of file \fBlocale_facets_nonio\&.h\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBlocale::id\fP \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::id\fC [static]\fP" .PP Numpunct facet id\&. .PP Definition at line \fB1043\fP of file \fBlocale_facets_nonio\&.h\fP\&. .SS "template<\fBtypename\fP _CharT , bool _Intl> \fBconst\fP bool \fBstd::moneypunct\fP< _CharT, \fB_Intl\fP >::intl\fC [static]\fP" .PP This value is provided by the standard, but no reason for its existence\&. .PP Definition at line \fB1041\fP of file \fBlocale_facets_nonio\&.h\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.