23 #ifndef _STLP_INTERNAL_MONETARY_H 24 #define _STLP_INTERNAL_MONETARY_H 26 #ifndef _STLP_INTERNAL_OSTREAMBUF_ITERATOR_H 30 #ifndef _STLP_INTERNAL_ISTREAMBUF_ITERATOR_H 34 #ifndef _STLP_FACETS_FWD_H 49 template <
class _
charT, _STLP_DFL_NON_TYPE_PARAM(
bool, _International, false) >
class moneypunct {};
53 template <
class _CharT,
class _InputIter>
64 {
return do_get(__s, __end, __intl, __str, __err, __units); }
68 {
return do_get(__s, __end, __intl, __str, __err, __digits); }
94 string grouping()
const {
return do_grouping(); }
111 virtual char do_decimal_point()
const;
112 virtual char do_thousands_sep()
const;
113 virtual string do_grouping()
const;
115 virtual string do_curr_symbol()
const;
117 virtual string do_positive_sign()
const;
118 virtual string do_negative_sign()
const;
119 virtual int do_frac_digits()
const;
120 virtual pattern do_pos_format()
const;
121 virtual pattern do_neg_format()
const;
151 virtual char do_decimal_point()
const;
152 virtual char do_thousands_sep()
const;
153 virtual string do_grouping()
const;
155 virtual string do_curr_symbol()
const;
157 virtual string do_positive_sign()
const;
158 virtual string do_negative_sign()
const;
159 virtual int do_frac_digits()
const;
160 virtual pattern do_pos_format()
const;
161 virtual pattern do_neg_format()
const;
165 #ifndef _STLP_NO_WCHAR_T 192 virtual wchar_t do_decimal_point()
const;
193 virtual wchar_t do_thousands_sep()
const;
194 virtual string do_grouping()
const;
200 virtual int do_frac_digits()
const;
201 virtual pattern do_pos_format()
const;
202 virtual pattern do_neg_format()
const;
231 virtual wchar_t do_decimal_point()
const;
232 virtual wchar_t do_thousands_sep()
const;
233 virtual string do_grouping()
const;
239 virtual int do_frac_digits()
const;
240 virtual pattern do_pos_format()
const;
241 virtual pattern do_neg_format()
const;
246 template <
class _
charT, _STLP_DFL_NON_TYPE_PARAM(
bool , _International , false) >
class moneypunct_byname {};
260 virtual char do_decimal_point()
const;
261 virtual char do_thousands_sep()
const;
262 virtual string do_grouping()
const;
268 virtual int do_frac_digits()
const;
293 virtual char do_decimal_point()
const;
294 virtual char do_thousands_sep()
const;
295 virtual string do_grouping()
const;
301 virtual int do_frac_digits()
const;
314 #if !defined (_STLP_NO_WCHAR_T) 327 virtual wchar_t do_decimal_point()
const;
328 virtual wchar_t do_thousands_sep()
const;
329 virtual string do_grouping()
const;
335 virtual int do_frac_digits()
const;
360 virtual wchar_t do_decimal_point()
const;
361 virtual wchar_t do_thousands_sep()
const;
362 virtual string do_grouping()
const;
368 virtual int do_frac_digits()
const;
387 template <
class _CharT,
class _OutputIter>
401 {
return do_put(__s, __intl, __str,
__fill, __digits); }
414 #if defined (_STLP_USE_TEMPLATE_EXPORT) 417 # if ! defined (_STLP_NO_WCHAR_T) 425 #if defined (_STLP_EXPOSE_STREAM_IMPLEMENTATION) && !defined (_STLP_LINK_TIME_INSTANTIATION)
string_type positive_sign() const
_Locale_monetary * _M_monetary
wchar_t decimal_point() const
money_get(size_t __refs=0)
iter_type put(iter_type __s, bool __intl, ios_base &__str, char_type __fill, const string_type &__digits) const
string_type negative_sign() const
static _STLP_STATIC_DECLSPEC locale::id id
string_type positive_sign() const
pattern neg_format() const
char decimal_point() const
char decimal_point() const
string_type positive_sign() const
moneypunct_byname< char, false > _Self
moneypunct_byname< wchar_t, false > _Self
char thousands_sep() const
_Locale_monetary * _M_monetary
void operator=(const _Locale_impl &)
wchar_t thousands_sep() const
_STLP_STATIC_CONSTANT(category, none=0x000)
#define _STLP_LONGEST_FLOAT_TYPE
static _STLP_STATIC_DECLSPEC locale::id id
string_type negative_sign() const
_Locale_monetary * _M_monetary
money_put(size_t __refs=0)
#define _STLP_PSPEC2(t1, t2)
pattern neg_format() const
money_base::pattern pattern
iter_type get(iter_type __s, iter_type __end, bool __intl, ios_base &__str, ios_base::iostate &__err, string_type &__digits) const
pattern pos_format() const
static _STLP_STATIC_DECLSPEC locale::id id
string_type negative_sign() const
wchar_t decimal_point() const
string_type negative_sign() const
basic_string< _CharT, char_traits< _CharT >, allocator< _CharT > > string_type
basic_string< _CharT, char_traits< _CharT >, allocator< _CharT > > string_type
string_type curr_symbol() const
pattern pos_format() const
virtual iter_type do_get(iter_type __s, iter_type __end, bool __intl, ios_base &__str, ios_base::iostate &__err, _STLP_LONGEST_FLOAT_TYPE &__units) const
string_type curr_symbol() const
string_type positive_sign() const
money_base::pattern pattern
#define _STLP_EXPORT_TEMPLATE_CLASS
pattern pos_format() const
facet(size_t __init_count=0)
string_type curr_symbol() const
moneypunct_byname< char, true > _Self
iter_type put(iter_type __s, bool __intl, ios_base &__str, char_type __fill, _STLP_LONGEST_FLOAT_TYPE __units) const
money_base::pattern pattern
moneypunct_byname< wchar_t, true > _Self
#define _STLP_CLASS_DECLSPEC
pattern pos_format() const
money_base::pattern pattern
#define _STLP_TEMPLATE_NULL
_Locale_monetary * _M_monetary
wchar_t thousands_sep() const
pattern neg_format() const
char thousands_sep() const
iter_type get(iter_type __s, iter_type __end, bool __intl, ios_base &__str, ios_base::iostate &__err, _STLP_LONGEST_FLOAT_TYPE &__units) const
#define _STLP_END_NAMESPACE
static _STLP_STATIC_DECLSPEC locale::id id
void __fill(_ForwardIter __first, _ForwardIter __last, const _Tp &__val, const input_iterator_tag &, _Distance *)
#define _STLP_BEGIN_NAMESPACE
#define _STLP_STATIC_DECLSPEC
virtual iter_type do_put(iter_type __s, bool __intl, ios_base &__str, char_type __fill, _STLP_LONGEST_FLOAT_TYPE __units) const
pattern neg_format() const
string_type curr_symbol() const