ReactOS  0.4.14-dev-358-gbef841c
money_put< _CharT, _OutputIter > Class Template Reference

#include <_facets_fwd.h>

Inheritance diagram for money_put< _CharT, _OutputIter >:
Collaboration diagram for money_put< _CharT, _OutputIter >:

Public Types

typedef _CharT char_type
 
typedef _OutputIter iter_type
 
typedef basic_string< _CharT, char_traits< _CharT >, allocator< _CharT > > string_type
 

Public Member Functions

 money_put (size_t __refs=0)
 
iter_type put (iter_type __s, bool __intl, ios_base &__str, char_type __fill, _STLP_LONGEST_FLOAT_TYPE __units) const
 
iter_type put (iter_type __s, bool __intl, ios_base &__str, char_type __fill, const string_type &__digits) const
 

Static Public Attributes

static locale::id id
 

Protected Member Functions

 ~money_put ()
 
virtual iter_type do_put (iter_type __s, bool __intl, ios_base &__str, char_type __fill, _STLP_LONGEST_FLOAT_TYPE __units) const
 
virtual iter_type do_put (iter_type __s, bool __intl, ios_base &__str, char_type __fill, const string_type &__digits) const
 
- Protected Member Functions inherited from locale::facet
 facet (size_t __init_count=0)
 
virtual ~facet ()
 
- Protected Member Functions inherited from _Refcount_Base
 _Refcount_Base (__stl_atomic_t __n)
 
__stl_atomic_t _M_incr ()
 
__stl_atomic_t _M_decr ()
 

Detailed Description

template<class _CharT, class _OutputIter>
class money_put< _CharT, _OutputIter >

Definition at line 21 of file _facets_fwd.h.

Member Typedef Documentation

◆ char_type

template<class _CharT, class _OutputIter>
typedef _CharT money_put< _CharT, _OutputIter >::char_type

Definition at line 390 of file _monetary.h.

◆ iter_type

template<class _CharT, class _OutputIter>
typedef _OutputIter money_put< _CharT, _OutputIter >::iter_type

Definition at line 391 of file _monetary.h.

◆ string_type

template<class _CharT, class _OutputIter>
typedef basic_string<_CharT, char_traits<_CharT>, allocator<_CharT> > money_put< _CharT, _OutputIter >::string_type

Definition at line 392 of file _monetary.h.

Constructor & Destructor Documentation

◆ money_put()

template<class _CharT, class _OutputIter>
money_put< _CharT, _OutputIter >::money_put ( size_t  __refs = 0)
inlineexplicit

Definition at line 394 of file _monetary.h.

394 : locale::facet(__refs) {}

◆ ~money_put()

template<class _CharT, class _OutputIter>
money_put< _CharT, _OutputIter >::~money_put ( )
inlineprotected

Definition at line 406 of file _monetary.h.

406 {}

Member Function Documentation

◆ do_put() [1/2]

template<class _CharT , class _OutputIter >
_STLP_MOVE_TO_STD_NAMESPACE _OutputIter money_put< _CharT, _OutputIter >::do_put ( iter_type  __s,
bool  __intl,
ios_base __str,
char_type  __fill,
_STLP_LONGEST_FLOAT_TYPE  __units 
) const
protectedvirtual

Definition at line 506 of file _monetary.c.

507  {
509  _STLP_PRIV __get_money_digits(__digits, __str, __units);
510  return _STLP_PRIV __money_do_put(__s, __intl, __str, __fill, __digits, false, __STATIC_CAST(string_type*, 0));
511 }
#define __STATIC_CAST(__x, __y)
Definition: features.h:585
_STLP_MOVE_TO_PRIV_NAMESPACE _OutputIter __money_do_put(_OutputIter __s, bool __intl, ios_base &__str, _CharT __fill, const _Str &__digits, bool __check_digits, _Str_Type *)
Definition: _monetary.c:316
void _STLP_CALL __get_money_digits(_STLP_BASIC_IOSTRING(_CharT) &__buf, ios_base &__f, _STLP_LONGEST_FLOAT_TYPE __x)
Definition: _num_put.c:141
#define _STLP_BASIC_IOSTRING(_CharT)
_CharT char_type
Definition: _monetary.h:390
basic_string< _CharT, char_traits< _CharT >, allocator< _CharT > > string_type
Definition: _monetary.h:392
#define _STLP_PRIV
Definition: _dm.h:70
void __fill(_ForwardIter __first, _ForwardIter __last, const _Tp &__val, const input_iterator_tag &, _Distance *)
Definition: _algobase.h:417

Referenced by money_put< _CharT, _OutputIter >::put().

◆ do_put() [2/2]

template<class _CharT , class _OutputIter >
_OutputIter money_put< _CharT, _OutputIter >::do_put ( iter_type  __s,
bool  __intl,
ios_base __str,
char_type  __fill,
const string_type __digits 
) const
protectedvirtual

Definition at line 516 of file _monetary.c.

517  {
518  return _STLP_PRIV __money_do_put(__s, __intl, __str, __fill, __digits, true, __STATIC_CAST(string_type*, 0));
519 }
#define __STATIC_CAST(__x, __y)
Definition: features.h:585
_STLP_MOVE_TO_PRIV_NAMESPACE _OutputIter __money_do_put(_OutputIter __s, bool __intl, ios_base &__str, _CharT __fill, const _Str &__digits, bool __check_digits, _Str_Type *)
Definition: _monetary.c:316
basic_string< _CharT, char_traits< _CharT >, allocator< _CharT > > string_type
Definition: _monetary.h:392
#define _STLP_PRIV
Definition: _dm.h:70
void __fill(_ForwardIter __first, _ForwardIter __last, const _Tp &__val, const input_iterator_tag &, _Distance *)
Definition: _algobase.h:417

◆ put() [1/2]

template<class _CharT, class _OutputIter>
iter_type money_put< _CharT, _OutputIter >::put ( iter_type  __s,
bool  __intl,
ios_base __str,
char_type  __fill,
_STLP_LONGEST_FLOAT_TYPE  __units 
) const
inline

Definition at line 395 of file _monetary.h.

397  { return do_put(__s, __intl, __str, __fill, __units); }
void __fill(_ForwardIter __first, _ForwardIter __last, const _Tp &__val, const input_iterator_tag &, _Distance *)
Definition: _algobase.h:417
virtual iter_type do_put(iter_type __s, bool __intl, ios_base &__str, char_type __fill, _STLP_LONGEST_FLOAT_TYPE __units) const
Definition: _monetary.c:506

Referenced by LocaleTest::_money_put_get2(), and LocaleTest::_money_put_X_bug().

◆ put() [2/2]

template<class _CharT, class _OutputIter>
iter_type money_put< _CharT, _OutputIter >::put ( iter_type  __s,
bool  __intl,
ios_base __str,
char_type  __fill,
const string_type __digits 
) const
inline

Definition at line 398 of file _monetary.h.

401  { return do_put(__s, __intl, __str, __fill, __digits); }
void __fill(_ForwardIter __first, _ForwardIter __last, const _Tp &__val, const input_iterator_tag &, _Distance *)
Definition: _algobase.h:417
virtual iter_type do_put(iter_type __s, bool __intl, ios_base &__str, char_type __fill, _STLP_LONGEST_FLOAT_TYPE __units) const
Definition: _monetary.c:506

Member Data Documentation

◆ id

template<class _CharT, class _OutputIter>
locale::id money_put< _CharT, _OutputIterator >::id
static

Definition at line 403 of file _monetary.h.


The documentation for this class was generated from the following files: