Definition at line 3540 of file locale_facets.h.
|
Public typedefs.
Reimplemented in moneypunct_byname. Definition at line 3546 of file locale_facets.h. |
|
Public typedefs.
Reimplemented in moneypunct_byname. Definition at line 3547 of file locale_facets.h. |
|
Constructor performs initialization. This is the constructor provided by the standard.
Definition at line 3569 of file locale_facets.h. |
|
Constructor performs initialization. This is an internal constructor.
Definition at line 3581 of file locale_facets.h. |
|
Internal constructor. Not for general use. This is a constructor for use by the library itself to set up new locales.
Definition at line 3596 of file locale_facets.h. |
|
Destructor.
|
|
Return currency symbol string. This function returns a string_type to use as a currency symbol. It does so by returning returning moneypunct<char_type>::do_curr_symbol().
Definition at line 3665 of file locale_facets.h. References moneypunct::do_curr_symbol(). |
|
Return decimal point character. This function returns a char_type to use as a decimal point. It does so by returning returning moneypunct<char_type>::do_decimal_point().
Definition at line 3610 of file locale_facets.h. References moneypunct::do_decimal_point(). |
|
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.
Definition at line 3810 of file locale_facets.h. Referenced by moneypunct::curr_symbol(). |
|
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.
Definition at line 3772 of file locale_facets.h. Referenced by moneypunct::decimal_point(). |
|
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.
Definition at line 3850 of file locale_facets.h. Referenced by moneypunct::frac_digits(). |
|
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.
Definition at line 3797 of file locale_facets.h. Referenced by moneypunct::grouping(). |
|
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.
Definition at line 3878 of file locale_facets.h. |
|
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.
Definition at line 3836 of file locale_facets.h. Referenced by moneypunct::negative_sign(). |
|
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.
Definition at line 3864 of file locale_facets.h. Referenced by moneypunct::pos_format(). |
|
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.
Definition at line 3823 of file locale_facets.h. Referenced by moneypunct::positive_sign(). |
|
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.
Definition at line 3784 of file locale_facets.h. Referenced by moneypunct::thousands_sep(). |
|
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<char_type>::do_frac_digits(). The fractional part of a money amount is optional. But if it is present, there must be frac_digits() digits.
Definition at line 3715 of file locale_facets.h. References moneypunct::do_frac_digits(). |
|
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. 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. For example, if the grouping() returns "\003\002" and is applied to the number 123456789, this corresponds to 12,34,56,789. Note that if the string was "32", this would put more than 50 digits into the least significant group if the character set is ASCII. The string is returned by calling moneypunct<char_type>::do_grouping().
Definition at line 3652 of file locale_facets.h. References moneypunct::do_grouping(). |
|
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<char_type>::do_negative_sign(). 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.
Definition at line 3699 of file locale_facets.h. References moneypunct::do_negative_sign(). |
|
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<char_type>::do_pos_format() or moneypunct<char_type>::do_neg_format(). 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. 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. 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 "$+10.01".
Definition at line 3750 of file locale_facets.h. References moneypunct::do_pos_format(). |
|
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<char_type>::do_positive_sign(). 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.
Definition at line 3682 of file locale_facets.h. References moneypunct::do_positive_sign(). |
|
Return thousands separator character. This function returns a char_type to use as a thousands separator. It does so by returning returning moneypunct<char_type>::do_thousands_sep().
Definition at line 3623 of file locale_facets.h. References moneypunct::do_thousands_sep(). |
|
Numpunct facet id.
Definition at line 3888 of file locale_facets.h. |
|
This value is provided by the standard, but no reason for its existence.
Reimplemented in moneypunct_byname. Definition at line 3891 of file locale_facets.h. |