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
49template <
class _
charT, _STLP_DFL_NON_TYPE_PARAM(
bool, _International, false) >
class moneypunct {};
53template <
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;
246template <
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;
387template <
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)
void __fill(_ForwardIter __first, _ForwardIter __last, const _Tp &__val, const input_iterator_tag &, _Distance *)
facet(size_t __init_count=0)
void operator=(const facet &)
basic_string< _CharT, char_traits< _CharT >, allocator< _CharT > > string_type
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
money_get(size_t __refs=0)
iter_type get(iter_type __s, iter_type __end, bool __intl, ios_base &__str, ios_base::iostate &__err, string_type &__digits) 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
money_put(size_t __refs=0)
iter_type put(iter_type __s, bool __intl, ios_base &__str, char_type __fill, const string_type &__digits) const
virtual iter_type do_put(iter_type __s, bool __intl, ios_base &__str, char_type __fill, _STLP_LONGEST_FLOAT_TYPE __units) const
basic_string< _CharT, char_traits< _CharT >, allocator< _CharT > > string_type
iter_type put(iter_type __s, bool __intl, ios_base &__str, char_type __fill, _STLP_LONGEST_FLOAT_TYPE __units) const
_STLP_STATIC_CONSTANT(bool, intl=false)
string_type negative_sign() const
string_type curr_symbol() const
static _STLP_STATIC_DECLSPEC locale::id id
~moneypunct _STLP_PSPEC2(char, false)()
string_type positive_sign() const
char decimal_point() const
pattern neg_format() const
pattern pos_format() const
char thousands_sep() const
moneypunct _STLP_PSPEC2(char, false)(size_t __refs=0)
string_type positive_sign() const
~moneypunct _STLP_PSPEC2(char, true)()
string_type curr_symbol() const
moneypunct _STLP_PSPEC2(char, true)(size_t __refs=0)
pattern pos_format() const
_STLP_STATIC_CONSTANT(bool, intl=true)
char thousands_sep() const
pattern neg_format() const
string_type negative_sign() const
char decimal_point() const
static _STLP_STATIC_DECLSPEC locale::id id
wchar_t thousands_sep() const
~moneypunct _STLP_PSPEC2(wchar_t, false)()
wchar_t decimal_point() const
static _STLP_STATIC_DECLSPEC locale::id id
string_type negative_sign() const
pattern pos_format() const
string_type curr_symbol() const
moneypunct _STLP_PSPEC2(wchar_t, false)(size_t __refs=0)
string_type positive_sign() const
pattern neg_format() const
_STLP_STATIC_CONSTANT(bool, intl=false)
~moneypunct _STLP_PSPEC2(wchar_t, true)()
wchar_t decimal_point() const
wchar_t thousands_sep() const
string_type curr_symbol() const
moneypunct _STLP_PSPEC2(wchar_t, true)(size_t __refs=0)
string_type negative_sign() const
pattern neg_format() const
string_type positive_sign() const
static _STLP_STATIC_DECLSPEC locale::id id
_STLP_STATIC_CONSTANT(bool, intl=true)
pattern pos_format() const
moneypunct_byname< char, false > _Self
money_base::pattern pattern
~moneypunct_byname _STLP_PSPEC2(char, false)()
_Locale_monetary * _M_monetary
moneypunct_byname _STLP_PSPEC2(char, false)(_Locale_monetary *__monetary)
money_base::pattern pattern
moneypunct_byname< char, true > _Self
_Locale_monetary * _M_monetary
~moneypunct_byname _STLP_PSPEC2(char, true)()
moneypunct_byname _STLP_PSPEC2(char, true)(_Locale_monetary *__monetary)
moneypunct_byname _STLP_PSPEC2(wchar_t, false)(_Locale_monetary *__monetary)
moneypunct_byname< wchar_t, false > _Self
_Locale_monetary * _M_monetary
money_base::pattern pattern
~moneypunct_byname _STLP_PSPEC2(wchar_t, false)()
_Locale_monetary * _M_monetary
money_base::pattern pattern
moneypunct_byname< wchar_t, true > _Self
moneypunct_byname _STLP_PSPEC2(wchar_t, true)(_Locale_monetary *__monetary)
~moneypunct_byname _STLP_PSPEC2(wchar_t, true)()
#define _STLP_TEMPLATE_NULL
#define _STLP_PSPEC2(t1, t2)
#define _STLP_STATIC_DECLSPEC
#define _STLP_CLASS_DECLSPEC
#define _STLP_EXPORT_TEMPLATE_CLASS
#define _STLP_LONGEST_FLOAT_TYPE
#define _STLP_BEGIN_NAMESPACE
#define _STLP_END_NAMESPACE
__crt_unique_heap_ptr< wchar_t > const wstring(_malloc_crt_t(wchar_t, maxsize))