ReactOS  0.4.14-dev-297-g23e575c
moneypunct_byname< char, false > Class Reference

#include <_monetary.h>

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

Public Types

typedef money_base::pattern pattern
 
typedef char char_type
 
typedef string string_type
 
- Public Types inherited from moneypunct< char, false >
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_byname _STLP_PSPEC2 (char, false)(const char *__name
 
- Public Member Functions inherited from moneypunct< char, false >
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)
 

Public Attributes

moneypunct_byname size_t __refs = 0)
 

Protected Member Functions

~moneypunct_byname _STLP_PSPEC2 (char, false)()
 
virtual char do_decimal_point () const
 
virtual char do_thousands_sep () const
 
virtual string do_grouping () const
 
virtual string_type do_curr_symbol () const
 
virtual string_type do_positive_sign () const
 
virtual string_type do_negative_sign () const
 
virtual int do_frac_digits () const
 
- Protected Member Functions inherited from moneypunct< char, false >
~moneypunct _STLP_PSPEC2 (char, false)()
 
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 ()
 

Private Types

typedef moneypunct_byname< char, false_Self
 

Private Member Functions

moneypunct_byname _STLP_PSPEC2 (char, false)(_Locale_monetary *__monetary)
 
 moneypunct_byname (_Self const &)
 
_Selfoperator= (_Self const &)
 

Private Attributes

_Locale_monetary_M_monetary
 

Friends

class _Locale_impl
 

Additional Inherited Members

- Static Public Attributes inherited from moneypunct< char, false >
static _STLP_STATIC_DECLSPEC locale::id id = { 5 }
 
- Protected Attributes inherited from moneypunct< char, false >
pattern _M_pos_format
 
pattern _M_neg_format
 

Detailed Description

Definition at line 282 of file _monetary.h.

Member Typedef Documentation

◆ _Self

Definition at line 306 of file _monetary.h.

◆ char_type

Definition at line 286 of file _monetary.h.

◆ pattern

Definition at line 285 of file _monetary.h.

◆ string_type

Definition at line 287 of file _monetary.h.

Constructor & Destructor Documentation

◆ moneypunct_byname()

Definition at line 905 of file facets_byname.cpp.

907  : moneypunct<char, false>(refs) {
908  if (!name)
910 
911  int __err_code;
913  _M_monetary = _STLP_PRIV __acquire_monetary(name, buf, 0, &__err_code);
914  if (!_M_monetary)
915  locale::_M_throw_on_creation_failure(__err_code, name, "moneypunct");
916 
918 }
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
static _STLP_MOVE_TO_PRIV_NAMESPACE void _Init_monetary_formats(money_base::pattern &pos_format, money_base::pattern &neg_format, _Locale_monetary *monetary)
static void _STLP_FUNCTION_THROWS _STLP_CALL _M_throw_on_creation_failure(int __err_code, const char *name, const char *facet)
Definition: locale.cpp:68
static void _STLP_FUNCTION_THROWS _STLP_CALL _M_throw_on_null_name()
Definition: locale.cpp:57
#define _STLP_PRIV
Definition: _dm.h:70
#define _Locale_MAX_SIMPLE_NAME
Definition: c_locale.h:54
_Locale_monetary * _M_monetary
Definition: _monetary.h:311
Definition: name.c:36
_Locale_monetary *_STLP_CALL __acquire_monetary(const char *&name, char *buf, _Locale_name_hint *hint, int *__err_code)

Member Function Documentation

◆ _STLP_PSPEC2() [1/3]

moneypunct_byname moneypunct_byname< char, false >::_STLP_PSPEC2 ( char  ,
false   
) const
explicit

◆ _STLP_PSPEC2() [2/3]

~moneypunct_byname moneypunct_byname< char, false >::_STLP_PSPEC2 ( char  ,
false   
)
protectedvirtual

◆ _STLP_PSPEC2() [3/3]

moneypunct_byname moneypunct_byname< char, false >::_STLP_PSPEC2 ( char  ,
false   
)
privatevirtual

◆ do_curr_symbol()

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

Reimplemented from moneypunct< char, false >.

Definition at line 937 of file facets_byname.cpp.

const char * _Locale_currency_symbol(struct _Locale_monetary *)
_Locale_monetary * _M_monetary
Definition: _monetary.h:311

◆ do_decimal_point()

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

Reimplemented from moneypunct< char, false >.

Definition at line 928 of file facets_byname.cpp.

char _Locale_mon_decimal_point(struct _Locale_monetary *)
_Locale_monetary * _M_monetary
Definition: _monetary.h:311

◆ do_frac_digits()

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

Reimplemented from moneypunct< char, false >.

Definition at line 946 of file facets_byname.cpp.

947 { return _Locale_frac_digits(_M_monetary); }
char _Locale_frac_digits(struct _Locale_monetary *)
_Locale_monetary * _M_monetary
Definition: _monetary.h:311

◆ do_grouping()

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

Reimplemented from moneypunct< char, false >.

Definition at line 934 of file facets_byname.cpp.

const char * _Locale_mon_grouping(struct _Locale_monetary *)
_Locale_monetary * _M_monetary
Definition: _monetary.h:311

◆ do_negative_sign()

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

Reimplemented from moneypunct< char, false >.

Definition at line 943 of file facets_byname.cpp.

const char * _Locale_negative_sign(struct _Locale_monetary *)
_Locale_monetary * _M_monetary
Definition: _monetary.h:311

◆ do_positive_sign()

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

Reimplemented from moneypunct< char, false >.

Definition at line 940 of file facets_byname.cpp.

_Locale_monetary * _M_monetary
Definition: _monetary.h:311
const char * _Locale_positive_sign(struct _Locale_monetary *)

◆ do_thousands_sep()

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

Reimplemented from moneypunct< char, false >.

Definition at line 931 of file facets_byname.cpp.

_Locale_monetary * _M_monetary
Definition: _monetary.h:311
char _Locale_mon_thousands_sep(struct _Locale_monetary *)

◆ operator=()

Friends And Related Function Documentation

◆ _Locale_impl

friend class _Locale_impl
friend

Definition at line 283 of file _monetary.h.

Member Data Documentation

◆ __refs

Definition at line 289 of file _monetary.h.

◆ _M_monetary

_Locale_monetary* moneypunct_byname< char, false >::_M_monetary
private

Definition at line 311 of file _monetary.h.


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