ReactOS  0.4.14-dev-358-gbef841c
moneypunct< char, true > Class Referenceabstract

#include <_monetary.h>

Inheritance diagram for moneypunct< char, true >:
Collaboration diagram for moneypunct< char, true >:

Public Types

typedef char char_type
 
typedef string string_type
 
- Public Types inherited from money_base
enum  part {
  none, space, symbol, sign,
  value
}
 

Public Member Functions

moneypunct _STLP_PSPEC2 (char, true)(size_t __refs=0)
 
char decimal_point () const
 
char thousands_sep () const
 
string grouping () const
 
string_type curr_symbol () const
 
string_type positive_sign () const
 
string_type negative_sign () const
 
int frac_digits () const
 
pattern pos_format () const
 
pattern neg_format () const
 
 _STLP_STATIC_CONSTANT (bool, intl=true)
 

Static Public Attributes

static _STLP_STATIC_DECLSPEC locale::id id = { 4 }
 

Protected Member Functions

~moneypunct _STLP_PSPEC2 (char, true)()
 
virtual char do_decimal_point () const
 
virtual char do_thousands_sep () const
 
virtual string do_grouping () const
 
virtual string do_curr_symbol () const
 
virtual string do_positive_sign () const
 
virtual string do_negative_sign () const
 
virtual int do_frac_digits () const
 
virtual pattern do_pos_format () const
 
virtual pattern do_neg_format () 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 ()
 

Protected Attributes

pattern _M_pos_format
 
pattern _M_neg_format
 

Detailed Description

Definition at line 86 of file _monetary.h.

Member Typedef Documentation

◆ char_type

Definition at line 88 of file _monetary.h.

◆ string_type

Definition at line 89 of file _monetary.h.

Member Function Documentation

◆ _STLP_PSPEC2() [1/2]

moneypunct moneypunct< char, true >::_STLP_PSPEC2 ( char  ,
true   
)
explicitpure virtual

◆ _STLP_PSPEC2() [2/2]

~moneypunct moneypunct< char, true >::_STLP_PSPEC2 ( char  ,
true   
)
protected

◆ _STLP_STATIC_CONSTANT()

moneypunct< char, true >::_STLP_STATIC_CONSTANT ( bool  ,
intl  = true 
)

◆ curr_symbol()

string_type moneypunct< char, true >::curr_symbol ( ) const
inline

Definition at line 95 of file _monetary.h.

95 { return do_curr_symbol(); }
virtual string do_curr_symbol() const
Definition: monetary.cpp:55

◆ decimal_point()

char moneypunct< char, true >::decimal_point ( ) const
inline

Definition at line 92 of file _monetary.h.

92 { return do_decimal_point(); }
virtual char do_decimal_point() const
Definition: monetary.cpp:52

Referenced by LocaleTest::moneypunct_by_name().

◆ do_curr_symbol()

string moneypunct< char, true >::do_curr_symbol ( ) const
protectedvirtual

Reimplemented in moneypunct_byname< char, true >.

Definition at line 55 of file monetary.cpp.

55 { return _S_empty_string; }
static const string _S_empty_string
Definition: monetary.cpp:39

◆ do_decimal_point()

char moneypunct< char, true >::do_decimal_point ( ) const
protectedvirtual

Reimplemented in moneypunct_byname< char, true >.

Definition at line 52 of file monetary.cpp.

52 {return ' ';}

◆ do_frac_digits()

int moneypunct< char, true >::do_frac_digits ( ) const
protectedvirtual

Reimplemented in moneypunct_byname< char, true >.

Definition at line 60 of file monetary.cpp.

60 {return 0;}

◆ do_grouping()

string moneypunct< char, true >::do_grouping ( ) const
protectedvirtual

Reimplemented in moneypunct_byname< char, true >.

Definition at line 54 of file monetary.cpp.

54 { return _S_empty_string; }
static const string _S_empty_string
Definition: monetary.cpp:39

◆ do_neg_format()

money_base::pattern moneypunct< char, true >::do_neg_format ( ) const
protectedvirtual

Definition at line 59 of file monetary.cpp.

59 {return _M_neg_format;}

◆ do_negative_sign()

string moneypunct< char, true >::do_negative_sign ( ) const
protectedvirtual

Reimplemented in moneypunct_byname< char, true >.

Definition at line 57 of file monetary.cpp.

57 { return _S_empty_string; }
static const string _S_empty_string
Definition: monetary.cpp:39

◆ do_pos_format()

money_base::pattern moneypunct< char, true >::do_pos_format ( ) const
protectedvirtual

Definition at line 58 of file monetary.cpp.

58 {return _M_pos_format;}

◆ do_positive_sign()

string moneypunct< char, true >::do_positive_sign ( ) const
protectedvirtual

Reimplemented in moneypunct_byname< char, true >.

Definition at line 56 of file monetary.cpp.

56 { return _S_empty_string; }
static const string _S_empty_string
Definition: monetary.cpp:39

◆ do_thousands_sep()

char moneypunct< char, true >::do_thousands_sep ( ) const
protectedvirtual

Reimplemented in moneypunct_byname< char, true >.

Definition at line 53 of file monetary.cpp.

53 {return ' ';}

◆ frac_digits()

int moneypunct< char, true >::frac_digits ( ) const
inline

Definition at line 98 of file _monetary.h.

98 { return do_frac_digits(); }
virtual int do_frac_digits() const
Definition: monetary.cpp:60

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

◆ grouping()

string moneypunct< char, true >::grouping ( ) const
inline

Definition at line 94 of file _monetary.h.

94 { return do_grouping(); }
virtual string do_grouping() const
Definition: monetary.cpp:54

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

◆ neg_format()

pattern moneypunct< char, true >::neg_format ( ) const
inline

Definition at line 100 of file _monetary.h.

100 { return do_neg_format(); }
virtual pattern do_neg_format() const
Definition: monetary.cpp:59

◆ negative_sign()

string_type moneypunct< char, true >::negative_sign ( ) const
inline

Definition at line 97 of file _monetary.h.

97 { return do_negative_sign(); }
virtual string do_negative_sign() const
Definition: monetary.cpp:57

Referenced by LocaleTest::moneypunct_by_name().

◆ pos_format()

pattern moneypunct< char, true >::pos_format ( ) const
inline

Definition at line 99 of file _monetary.h.

99 { return do_pos_format(); }
virtual pattern do_pos_format() const
Definition: monetary.cpp:58

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

◆ positive_sign()

string_type moneypunct< char, true >::positive_sign ( ) const
inline

Definition at line 96 of file _monetary.h.

96 { return do_positive_sign(); }
virtual string do_positive_sign() const
Definition: monetary.cpp:56

Referenced by LocaleTest::moneypunct_by_name().

◆ thousands_sep()

char moneypunct< char, true >::thousands_sep ( ) const
inline

Definition at line 93 of file _monetary.h.

93 { return do_thousands_sep(); }
virtual char do_thousands_sep() const
Definition: monetary.cpp:53

Referenced by LocaleTest::moneypunct_by_name().

Member Data Documentation

◆ _M_neg_format

pattern moneypunct< char, true >::_M_neg_format
protected

Definition at line 107 of file _monetary.h.

◆ _M_pos_format

pattern moneypunct< char, true >::_M_pos_format
protected

Definition at line 106 of file _monetary.h.

◆ id

locale::id moneypunct< char, true >::id = { 4 }
static

Definition at line 102 of file _monetary.h.


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