STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
moneypunct< _Elem, _Intl > Class Template Reference
Inheritance diagram for moneypunct< _Elem, _Intl >:
_Mpunct< _Elem > money_base locale::facet _Facet_base _Crt_new_delete moneypunct_byname< _Elem, _Intl >

Public Member Functions

 moneypunct (size_t _Refs=0)
 
 moneypunct (const _Locinfo &_Lobj, size_t _Refs=0, bool _Isdef=false)
 
- Public Member Functions inherited from _Mpunct< _Elem >
_Elem decimal_point () const
 
_Elem 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
 
 _Mpunct (size_t _Refs, bool _Intl)
 
 _Mpunct (const _Locinfo &_Lobj, size_t _Refs, bool _Intl, bool _Isdef=false)
 
- Public Member Functions inherited from money_base
 money_base (size_t _Refs=0)
 
- Public Member Functions inherited from locale::facet
virtual void __CLR_OR_THIS_CALL _Incref ()
 
virtual _Facet_base *__CLR_OR_THIS_CALL _Decref ()
 
__CLR_OR_THIS_CALL facet (const facet &)=delete
 
facet &__CLR_OR_THIS_CALL operator= (const facet &)=delete
 
- Public Member Functions inherited from _Facet_base
virtual __CLR_OR_THIS_CALL ~_Facet_base () _NOEXCEPT
 

Static Public Member Functions

static size_t _Getcat (const locale::facet **_Ppf=0, const locale *_Ploc=0)
 
- Static Public Member Functions inherited from locale::facet
static size_t __CLRCALL_OR_CDECL _Getcat (const facet **=0, const locale *=0)
 

Static Public Attributes

_PGLOBAL static _CRTIMP2_PURE const bool intl = _Intl
 
__PURE_APPDOMAIN_GLOBAL static _CRTIMP2_PURE locale::id id
 

Protected Member Functions

 moneypunct (const char *_Locname, size_t _Refs=0)
 
virtual __CLR_OR_THIS_CALL ~moneypunct () _NOEXCEPT
 
- Protected Member Functions inherited from _Mpunct< _Elem >
 _Mpunct (const char *_Locname, size_t _Refs, bool _Intl, bool _Isdef=false)
 
virtual __CLR_OR_THIS_CALL ~_Mpunct () _NOEXCEPT
 
template<class _Elem2 >
void _Getvals (_Elem2, const lconv *_Ptr)
 
template<>
void _Getvals (wchar_t, const lconv *_Ptr)
 
void _Init (const _Locinfo &_Lobj, bool _Isdef=false)
 
virtual _Elem __CLR_OR_THIS_CALL do_decimal_point () const
 
virtual _Elem __CLR_OR_THIS_CALL do_thousands_sep () const
 
virtual string __CLR_OR_THIS_CALL do_grouping () const
 
virtual string_type __CLR_OR_THIS_CALL do_curr_symbol () const
 
virtual string_type __CLR_OR_THIS_CALL do_positive_sign () const
 
virtual string_type __CLR_OR_THIS_CALL do_negative_sign () const
 
virtual int __CLR_OR_THIS_CALL do_frac_digits () const
 
virtual pattern __CLR_OR_THIS_CALL do_pos_format () const
 
virtual pattern __CLR_OR_THIS_CALL do_neg_format () const
 
- Protected Member Functions inherited from locale::facet
__CLR_OR_THIS_CALL facet (size_t _Initrefs=0)
 
virtual __CLR_OR_THIS_CALL ~facet () _NOEXCEPT
 

Additional Inherited Members

- Public Types inherited from _Mpunct< _Elem >
typedef _Elem char_type
 
typedef basic_string< _Elem, char_traits< _Elem >, allocator< _Elem > > string_type
 
- Public Types inherited from money_base
enum  {
  symbol = '$', sign = '+', space = ' ', value = 'v',
  none = 'x'
}
 
typedef int part
 

Constructor & Destructor Documentation

template<class _Elem , bool _Intl = false>
moneypunct< _Elem, _Intl >::moneypunct ( size_t  _Refs = 0)
inlineexplicit
283  : _Mpunct<_Elem>(_Refs, _Intl)
284  { // construct from current locale
285  }
Definition: xlocmon:38
template<class _Elem , bool _Intl = false>
moneypunct< _Elem, _Intl >::moneypunct ( const _Locinfo _Lobj,
size_t  _Refs = 0,
bool  _Isdef = false 
)
inline
288  : _Mpunct<_Elem>(_Lobj, _Refs, _Intl, _Isdef)
289  { // construct from specified locale
290  }
Definition: xlocmon:38
template<class _Elem , bool _Intl = false>
moneypunct< _Elem, _Intl >::moneypunct ( const char *  _Locname,
size_t  _Refs = 0 
)
inlineprotected
303  : _Mpunct<_Elem>(_Locname, _Refs, _Intl)
304  { // construct from specified locale
305  }
Definition: xlocmon:38
template<class _Elem , bool _Intl = false>
virtual __CLR_OR_THIS_CALL moneypunct< _Elem, _Intl >::~moneypunct ( )
inlineprotectedvirtual
308  { // destroy the object
309  }

Member Function Documentation

template<class _Elem , bool _Intl = false>
static size_t moneypunct< _Elem, _Intl >::_Getcat ( const locale::facet **  _Ppf = 0,
const locale _Ploc = 0 
)
inlinestatic
294  { // return locale category mask and construct standard facet
295  if (_Ppf != 0 && *_Ppf == 0)
296  *_Ppf = new moneypunct<_Elem, _Intl>(
297  _Locinfo(_Ploc->c_str()), 0, true);
298  return (_X_MONETARY);
299  }
Definition: xlocmon:275
Definition: xlocinfo:54
const char * c_str() const
Definition: xlocale:452
#define _X_MONETARY
Definition: xlocinfo.h:40

Member Data Documentation

template<class _Elem , bool _Intl = false>
__PURE_APPDOMAIN_GLOBAL locale::id moneypunct< _Elem, _Intl >::id
static
template<class _Elem , bool _Intl = false>
_PGLOBAL const bool moneypunct< _Elem, _Intl >::intl = _Intl
static

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