ReactOS 0.4.15-dev-7842-g558ab78
moneypunct_byname< wchar_t, false > Class Reference

#include <_monetary.h>

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

Public Types

typedef money_base::pattern pattern
 
typedef wchar_t char_type
 
typedef wstring string_type
 
- Public Types inherited from moneypunct< wchar_t, false >
typedef wchar_t char_type
 
typedef wstring string_type
 
- Public Types inherited from money_base
enum  part {
  none , space , symbol , sign ,
  value
}
 

Public Member Functions

moneypunct_byname _STLP_PSPEC2 (wchar_t, false)(const char *__name
 
- Public Member Functions inherited from moneypunct< wchar_t, false >
moneypunct _STLP_PSPEC2 (wchar_t, false)(size_t __refs=0)
 
wchar_t decimal_point () const
 
wchar_t 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 (wchar_t, false)()
 
virtual wchar_t do_decimal_point () const
 
virtual wchar_t 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< wchar_t, false >
~moneypunct _STLP_PSPEC2 (wchar_t, false)()
 
virtual wchar_t do_decimal_point () const
 
virtual wchar_t 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
 
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< wchar_t, false_Self
 

Private Member Functions

moneypunct_byname _STLP_PSPEC2 (wchar_t, 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< wchar_t, false >
static _STLP_STATIC_DECLSPEC locale::id id = { 18 }
 
- Protected Attributes inherited from moneypunct< wchar_t, false >
pattern _M_pos_format
 
pattern _M_neg_format
 

Detailed Description

Definition at line 349 of file _monetary.h.

Member Typedef Documentation

◆ _Self

Definition at line 373 of file _monetary.h.

◆ char_type

typedef wchar_t moneypunct_byname< wchar_t, false >::char_type

Definition at line 353 of file _monetary.h.

◆ pattern

◆ string_type

typedef wstring moneypunct_byname< wchar_t, false >::string_type

Definition at line 354 of file _monetary.h.

Constructor & Destructor Documentation

◆ moneypunct_byname()

Definition at line 1010 of file facets_byname.cpp.

1013 if (!name)
1015
1016 int __err_code;
1018 _M_monetary = _STLP_PRIV __acquire_monetary(name, buf, 0, &__err_code);
1019 if (!_M_monetary)
1020 locale::_M_throw_on_creation_failure(__err_code, name, "moneypunct");
1021
1023}
#define _STLP_PRIV
Definition: _dm.h:70
_Locale_monetary *_STLP_CALL __acquire_monetary(const char *&name, char *buf, _Locale_name_hint *hint, int *__err_code)
static void _STLP_FUNCTION_THROWS _STLP_CALL _M_throw_on_null_name()
Definition: locale.cpp:57
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
_Locale_monetary * _M_monetary
Definition: _monetary.h:378
static _STLP_MOVE_TO_PRIV_NAMESPACE void _Init_monetary_formats(money_base::pattern &pos_format, money_base::pattern &neg_format, _Locale_monetary *monetary)
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
#define _Locale_MAX_SIMPLE_NAME
Definition: c_locale.h:54
Definition: name.c:39

Member Function Documentation

◆ _STLP_PSPEC2() [1/3]

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

◆ _STLP_PSPEC2() [2/3]

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

◆ _STLP_PSPEC2() [3/3]

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

◆ do_curr_symbol()

wstring moneypunct_byname< wchar_t, false >::do_curr_symbol ( ) const
protectedvirtual

Reimplemented from moneypunct< wchar_t, false >.

Definition at line 1042 of file facets_byname.cpp.

#define _STLP_ARRAY_AND_SIZE(A)
Definition: features.h:1054
const wchar_t * _WLocale_currency_symbol(struct _Locale_monetary *, wchar_t *, size_t)

◆ do_decimal_point()

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

Reimplemented from moneypunct< wchar_t, false >.

Definition at line 1033 of file facets_byname.cpp.

char _Locale_mon_decimal_point(struct _Locale_monetary *)

◆ do_frac_digits()

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

Reimplemented from moneypunct< wchar_t, false >.

Definition at line 1051 of file facets_byname.cpp.

char _Locale_frac_digits(struct _Locale_monetary *)

◆ do_grouping()

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

Reimplemented from moneypunct< wchar_t, false >.

Definition at line 1039 of file facets_byname.cpp.

const char * _Locale_mon_grouping(struct _Locale_monetary *)

◆ do_negative_sign()

wstring moneypunct_byname< wchar_t, false >::do_negative_sign ( ) const
protectedvirtual

Reimplemented from moneypunct< wchar_t, false >.

Definition at line 1048 of file facets_byname.cpp.

const wchar_t * _WLocale_negative_sign(struct _Locale_monetary *, wchar_t *, size_t)

◆ do_positive_sign()

wstring moneypunct_byname< wchar_t, false >::do_positive_sign ( ) const
protectedvirtual

Reimplemented from moneypunct< wchar_t, false >.

Definition at line 1045 of file facets_byname.cpp.

const wchar_t * _WLocale_positive_sign(struct _Locale_monetary *, wchar_t *, size_t)

◆ do_thousands_sep()

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

Reimplemented from moneypunct< wchar_t, false >.

Definition at line 1036 of file facets_byname.cpp.

char _Locale_mon_thousands_sep(struct _Locale_monetary *)

◆ operator=()

Friends And Related Function Documentation

◆ _Locale_impl

friend class _Locale_impl
friend

Definition at line 350 of file _monetary.h.

Member Data Documentation

◆ __refs

Definition at line 356 of file _monetary.h.

◆ _M_monetary

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

Definition at line 378 of file _monetary.h.


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