ReactOS  0.4.14-dev-599-g2d4d3f5
moneypunct< char, false > Class Referenceabstract

#include <_monetary.h>

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

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, false)(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=false)
 

Static Public Attributes

static _STLP_STATIC_DECLSPEC locale::id id = { 5 }
 

Protected Member Functions

~moneypunct _STLP_PSPEC2 (char, false)()
 
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 125 of file _monetary.h.

Member Typedef Documentation

◆ char_type

Definition at line 127 of file _monetary.h.

◆ string_type

Definition at line 128 of file _monetary.h.

Member Function Documentation

◆ _STLP_PSPEC2() [1/2]

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

◆ _STLP_PSPEC2() [2/2]

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

◆ _STLP_STATIC_CONSTANT()

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

◆ curr_symbol()

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

Definition at line 135 of file _monetary.h.

135 { return do_curr_symbol(); }
virtual string do_curr_symbol() const
Definition: monetary.cpp:70

◆ decimal_point()

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

Definition at line 132 of file _monetary.h.

132 { return do_decimal_point(); }
virtual char do_decimal_point() const
Definition: monetary.cpp:66

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

◆ do_curr_symbol()

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

Reimplemented in moneypunct_byname< char, false >.

Definition at line 70 of file monetary.cpp.

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

◆ do_decimal_point()

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

Reimplemented in moneypunct_byname< char, false >.

Definition at line 66 of file monetary.cpp.

66 {return ' ';}

◆ do_frac_digits()

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

Reimplemented in moneypunct_byname< char, false >.

Definition at line 75 of file monetary.cpp.

75 {return 0;}

◆ do_grouping()

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

Reimplemented in moneypunct_byname< char, false >.

Definition at line 69 of file monetary.cpp.

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

◆ do_neg_format()

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

Definition at line 74 of file monetary.cpp.

74 {return _M_neg_format;}

◆ do_negative_sign()

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

Reimplemented in moneypunct_byname< char, false >.

Definition at line 72 of file monetary.cpp.

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

◆ do_pos_format()

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

Definition at line 73 of file monetary.cpp.

73 {return _M_pos_format;}

◆ do_positive_sign()

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

Reimplemented in moneypunct_byname< char, false >.

Definition at line 71 of file monetary.cpp.

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

◆ do_thousands_sep()

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

Reimplemented in moneypunct_byname< char, false >.

Definition at line 67 of file monetary.cpp.

67 {return ' ';}

◆ frac_digits()

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

Definition at line 138 of file _monetary.h.

138 { return do_frac_digits(); }
virtual int do_frac_digits() const
Definition: monetary.cpp:75

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

◆ grouping()

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

Definition at line 134 of file _monetary.h.

134 { return do_grouping(); }
virtual string do_grouping() const
Definition: monetary.cpp:69

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

◆ neg_format()

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

Definition at line 140 of file _monetary.h.

140 { return do_neg_format(); }
virtual pattern do_neg_format() const
Definition: monetary.cpp:74

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

◆ negative_sign()

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

Definition at line 137 of file _monetary.h.

137 { return do_negative_sign(); }
virtual string do_negative_sign() const
Definition: monetary.cpp:72

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

◆ pos_format()

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

Definition at line 139 of file _monetary.h.

139 { return do_pos_format(); }
virtual pattern do_pos_format() const
Definition: monetary.cpp:73

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

◆ positive_sign()

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

Definition at line 136 of file _monetary.h.

136 { return do_positive_sign(); }
virtual string do_positive_sign() const
Definition: monetary.cpp:71

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

◆ thousands_sep()

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

Definition at line 133 of file _monetary.h.

133 { return do_thousands_sep(); }
virtual char do_thousands_sep() const
Definition: monetary.cpp:67

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

Member Data Documentation

◆ _M_neg_format

pattern moneypunct< char, false >::_M_neg_format
protected

Definition at line 147 of file _monetary.h.

◆ _M_pos_format

pattern moneypunct< char, false >::_M_pos_format
protected

Definition at line 146 of file _monetary.h.

◆ id

locale::id moneypunct< char, false >::id = { 5 }
static

Definition at line 142 of file _monetary.h.


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