Whole document tree
    

Whole document tree

Templatestd::moneypunct class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

std::moneypunct< _CharT, _Intl > Class Template Reference

#include <locale_facets.h>

Inheritance diagram for std::moneypunct:

Inheritance graph
[legend]
Collaboration diagram for std::moneypunct< _CharT, _Intl >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef _CharT char_type
typedef basic_string< _CharT > string_type

Public Methods

 moneypunct (size_t __refs=0)
 moneypunct (__c_locale __cloc, size_t __refs=0)
char_type decimal_point () const
char_type 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

Static Public Attributes

const bool intl = _Intl
locale::id id

Protected Methods

virtual ~moneypunct ()
virtual char_type do_decimal_point () const
virtual char_type 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
void _M_initialize_moneypunct (__c_locale __cloc=NULL)

Private Attributes

char_type _M_decimal_point
char_type _M_thousands_sep
string _M_grouping
string_type _M_curr_symbol
string_type _M_positive_sign
string_type _M_negative_sign
int _M_frac_digits
pattern _M_pos_format
pattern _M_neg_format

template<typename _CharT, bool _Intl>
class std::moneypunct< _CharT, _Intl >


Member Typedef Documentation

template<typename _CharT, bool _Intl>
typedef _CharT std::moneypunct< _CharT, _Intl >::char_type
 

Reimplemented in std::moneypunct_byname< _CharT, _Intl >.

Definition at line 1302 of file locale_facets.h.

template<typename _CharT, bool _Intl>
typedef basic_string<_CharT> std::moneypunct< _CharT, _Intl >::string_type
 

Reimplemented in std::moneypunct_byname< _CharT, _Intl >.

Definition at line 1303 of file locale_facets.h.


Constructor & Destructor Documentation

template<typename _CharT, bool _Intl>
std::moneypunct< _CharT, _Intl >::moneypunct size_t    __refs = 0 [inline, explicit]
 

Definition at line 1321 of file locale_facets.h.

References std::moneypunct< _CharT, _Intl >::_M_initialize_moneypunct(), and std::locale::facet::facet().

template<typename _CharT, bool _Intl>
std::moneypunct< _CharT, _Intl >::moneypunct __c_locale    __cloc,
size_t    __refs = 0
[inline, explicit]
 

Definition at line 1325 of file locale_facets.h.

References std::moneypunct< _CharT, _Intl >::_M_initialize_moneypunct(), and std::locale::facet::facet().

template<typename _CharT, bool _Intl>
virtual std::moneypunct< _CharT, _Intl >::~moneypunct   [inline, protected, virtual]
 

Definition at line 1366 of file locale_facets.h.


Member Function Documentation

void std::moneypunct<>::_M_initialize_moneypunct __c_locale    __cloc = NULL [protected]
 

Definition at line 1417 of file locale_facets.h.

Referenced by std::moneypunct< _CharT, _Intl >::moneypunct(), and std::moneypunct_byname< _CharT, _Intl >::moneypunct_byname().

template<typename _CharT, bool _Intl>
string_type std::moneypunct< _CharT, _Intl >::curr_symbol   const [inline]
 

Definition at line 1341 of file locale_facets.h.

References std::moneypunct< _CharT, _Intl >::do_curr_symbol().

template<typename _CharT, bool _Intl>
char_type std::moneypunct< _CharT, _Intl >::decimal_point   const [inline]
 

Definition at line 1329 of file locale_facets.h.

References std::moneypunct< _CharT, _Intl >::do_decimal_point().

template<typename _CharT, bool _Intl>
virtual string_type std::moneypunct< _CharT, _Intl >::do_curr_symbol   const [inline, protected, virtual]
 

Definition at line 1381 of file locale_facets.h.

References std::moneypunct< _CharT, _Intl >::_M_curr_symbol.

Referenced by std::moneypunct< _CharT, _Intl >::curr_symbol().

template<typename _CharT, bool _Intl>
virtual char_type std::moneypunct< _CharT, _Intl >::do_decimal_point   const [inline, protected, virtual]
 

Definition at line 1369 of file locale_facets.h.

References std::moneypunct< _CharT, _Intl >::_M_decimal_point.

Referenced by std::moneypunct< _CharT, _Intl >::decimal_point().

template<typename _CharT, bool _Intl>
virtual int std::moneypunct< _CharT, _Intl >::do_frac_digits   const [inline, protected, virtual]
 

Definition at line 1393 of file locale_facets.h.

References std::moneypunct< _CharT, _Intl >::_M_frac_digits.

Referenced by std::moneypunct< _CharT, _Intl >::frac_digits().

template<typename _CharT, bool _Intl>
virtual string std::moneypunct< _CharT, _Intl >::do_grouping   const [inline, protected, virtual]
 

Definition at line 1377 of file locale_facets.h.

References std::moneypunct< _CharT, _Intl >::_M_grouping.

Referenced by std::moneypunct< _CharT, _Intl >::grouping().

template<typename _CharT, bool _Intl>
virtual pattern std::moneypunct< _CharT, _Intl >::do_neg_format   const [inline, protected, virtual]
 

Definition at line 1401 of file locale_facets.h.

References std::moneypunct< _CharT, _Intl >::_M_neg_format.

Referenced by std::moneypunct< _CharT, _Intl >::neg_format().

template<typename _CharT, bool _Intl>
virtual string_type std::moneypunct< _CharT, _Intl >::do_negative_sign   const [inline, protected, virtual]
 

Definition at line 1389 of file locale_facets.h.

References std::moneypunct< _CharT, _Intl >::_M_negative_sign.

Referenced by std::moneypunct< _CharT, _Intl >::negative_sign().

template<typename _CharT, bool _Intl>
virtual pattern std::moneypunct< _CharT, _Intl >::do_pos_format   const [inline, protected, virtual]
 

Definition at line 1397 of file locale_facets.h.

References std::moneypunct< _CharT, _Intl >::_M_pos_format.

Referenced by std::moneypunct< _CharT, _Intl >::pos_format().

template<typename _CharT, bool _Intl>
virtual string_type std::moneypunct< _CharT, _Intl >::do_positive_sign   const [inline, protected, virtual]
 

Definition at line 1385 of file locale_facets.h.

References std::moneypunct< _CharT, _Intl >::_M_positive_sign.

Referenced by std::moneypunct< _CharT, _Intl >::positive_sign().

template<typename _CharT, bool _Intl>
virtual char_type std::moneypunct< _CharT, _Intl >::do_thousands_sep   const [inline, protected, virtual]
 

Definition at line 1373 of file locale_facets.h.

References std::moneypunct< _CharT, _Intl >::_M_thousands_sep.

Referenced by std::moneypunct< _CharT, _Intl >::thousands_sep().

template<typename _CharT, bool _Intl>
int std::moneypunct< _CharT, _Intl >::frac_digits   const [inline]
 

Definition at line 1353 of file locale_facets.h.

References std::moneypunct< _CharT, _Intl >::do_frac_digits().

template<typename _CharT, bool _Intl>
string std::moneypunct< _CharT, _Intl >::grouping   const [inline]
 

Definition at line 1337 of file locale_facets.h.

References std::moneypunct< _CharT, _Intl >::do_grouping().

template<typename _CharT, bool _Intl>
pattern std::moneypunct< _CharT, _Intl >::neg_format   const [inline]
 

Definition at line 1361 of file locale_facets.h.

References std::moneypunct< _CharT, _Intl >::do_neg_format().

template<typename _CharT, bool _Intl>
string_type std::moneypunct< _CharT, _Intl >::negative_sign   const [inline]
 

Definition at line 1349 of file locale_facets.h.

References std::moneypunct< _CharT, _Intl >::do_negative_sign().

template<typename _CharT, bool _Intl>
pattern std::moneypunct< _CharT, _Intl >::pos_format   const [inline]
 

Definition at line 1357 of file locale_facets.h.

References std::moneypunct< _CharT, _Intl >::do_pos_format().

template<typename _CharT, bool _Intl>
string_type std::moneypunct< _CharT, _Intl >::positive_sign   const [inline]
 

Definition at line 1345 of file locale_facets.h.

References std::moneypunct< _CharT, _Intl >::do_positive_sign().

template<typename _CharT, bool _Intl>
char_type std::moneypunct< _CharT, _Intl >::thousands_sep   const [inline]
 

Definition at line 1333 of file locale_facets.h.

References std::moneypunct< _CharT, _Intl >::do_thousands_sep().


Member Data Documentation

template<typename _CharT, bool _Intl>
string_type std::moneypunct< _CharT, _Intl >::_M_curr_symbol [private]
 

Definition at line 1312 of file locale_facets.h.

Referenced by std::moneypunct< _CharT, _Intl >::do_curr_symbol().

template<typename _CharT, bool _Intl>
char_type std::moneypunct< _CharT, _Intl >::_M_decimal_point [private]
 

Definition at line 1309 of file locale_facets.h.

Referenced by std::moneypunct< _CharT, _Intl >::do_decimal_point().

template<typename _CharT, bool _Intl>
int std::moneypunct< _CharT, _Intl >::_M_frac_digits [private]
 

Definition at line 1315 of file locale_facets.h.

Referenced by std::moneypunct< _CharT, _Intl >::do_frac_digits().

template<typename _CharT, bool _Intl>
string std::moneypunct< _CharT, _Intl >::_M_grouping [private]
 

Definition at line 1311 of file locale_facets.h.

Referenced by std::moneypunct< _CharT, _Intl >::do_grouping().

template<typename _CharT, bool _Intl>
pattern std::moneypunct< _CharT, _Intl >::_M_neg_format [private]
 

Definition at line 1317 of file locale_facets.h.

Referenced by std::moneypunct< _CharT, _Intl >::do_neg_format().

template<typename _CharT, bool _Intl>
string_type std::moneypunct< _CharT, _Intl >::_M_negative_sign [private]
 

Definition at line 1314 of file locale_facets.h.

Referenced by std::moneypunct< _CharT, _Intl >::do_negative_sign().

template<typename _CharT, bool _Intl>
pattern std::moneypunct< _CharT, _Intl >::_M_pos_format [private]
 

Definition at line 1316 of file locale_facets.h.

Referenced by std::moneypunct< _CharT, _Intl >::do_pos_format().

template<typename _CharT, bool _Intl>
string_type std::moneypunct< _CharT, _Intl >::_M_positive_sign [private]
 

Definition at line 1313 of file locale_facets.h.

Referenced by std::moneypunct< _CharT, _Intl >::do_positive_sign().

template<typename _CharT, bool _Intl>
char_type std::moneypunct< _CharT, _Intl >::_M_thousands_sep [private]
 

Definition at line 1310 of file locale_facets.h.

Referenced by std::moneypunct< _CharT, _Intl >::do_thousands_sep().

template<typename _CharT, bool _Intl>
locale::id std::moneypunct< _CharT, _Intl >::id [static]
 

Definition at line 1410 of file locale_facets.h.

template<typename _CharT, bool _Intl>
const bool std::moneypunct< _CharT, _Intl >::intl = _Intl [static]
 

Reimplemented in std::moneypunct_byname< _CharT, _Intl >.

Definition at line 1413 of file locale_facets.h.


The documentation for this class was generated from the following file:
Generated on Mon Apr 8 03:19:11 2002 for libstdc++-v3 Source by doxygen1.2.15