Whole document tree
    

Whole document tree

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

std::_Format_cache< _CharT > Class Template Reference

#include <locale_facets.h>

Collaboration diagram for std::_Format_cache< _CharT >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef _CharT char_type
typedef char_traits< _CharT > traits_type
typedef basic_string< _CharT > string_type
typedef string_type::size_type size_type
enum  {
  _S_minus, _S_plus, _S_x, _S_X,
  _S_digits, _S_digits_end = _S_digits + 16, _S_udigits = _S_digits_end, _S_udigits_end = _S_udigits + 16,
  _S_ee = _S_digits + 14, _S_Ee = _S_udigits + 14
}

Public Methods

 _Format_cache ()
 ~_Format_cache () throw ()
void _M_populate (ios_base &)

Static Public Methods

_Format_cache< _CharT > * _S_get (ios_base &__ios)
void _S_callback (ios_base::event __event, ios_base &__ios, int __ix) throw ()

Public Attributes

bool _M_valid
char_type _M_decimal_point
char_type _M_thousands_sep
string_type _M_truename
string_type _M_falsename
bool _M_use_grouping
string _M_grouping

Static Public Attributes

int _S_pword_ix
const char _S_literals []

Friends

class locale
class _Numeric_get
class num_get< _CharT >
class num_put< _CharT >
class time_get< _CharT >
class money_get< _CharT >
class time_put< _CharT >
class money_put< _CharT >

template<typename _CharT>
class std::_Format_cache< _CharT >


Member Typedef Documentation

template<typename _CharT>
typedef _CharT std::_Format_cache< _CharT >::char_type
 

Definition at line 430 of file locale_facets.h.

template<typename _CharT>
typedef string_type::size_type std::_Format_cache< _CharT >::size_type
 

Definition at line 433 of file locale_facets.h.

template<typename _CharT>
typedef basic_string<_CharT> std::_Format_cache< _CharT >::string_type
 

Definition at line 432 of file locale_facets.h.

template<typename _CharT>
typedef char_traits<_CharT> std::_Format_cache< _CharT >::traits_type
 

Definition at line 431 of file locale_facets.h.


Member Enumeration Documentation

template<typename _CharT>
anonymous enum
 

Enumeration values:
_S_minus 
_S_plus 
_S_x 
_S_X 
_S_digits 
_S_digits_end 
_S_udigits 
_S_udigits_end 
_S_ee 
_S_Ee 

Definition at line 462 of file locale_facets.h.


Constructor & Destructor Documentation

std::_Format_cache<>::_Format_cache  
 

Definition at line 156 of file locale_facets.tcc.

template<typename _CharT>
std::_Format_cache< _CharT >::~_Format_cache   throw () [inline]
 

Definition at line 502 of file locale_facets.h.


Member Function Documentation

template<typename _CharT>
void std::_Format_cache< _CharT >::_M_populate ios_base  
 

Definition at line 168 of file locale_facets.tcc.

References std::_Format_cache< _CharT >::_M_decimal_point, std::_Format_cache< _CharT >::_M_falsename, std::_Format_cache< _CharT >::_M_grouping, std::_Format_cache< _CharT >::_M_thousands_sep, std::_Format_cache< _CharT >::_M_truename, std::_Format_cache< _CharT >::_M_use_grouping, std::_Format_cache< _CharT >::_M_valid, std::numpunct< _CharT >::decimal_point(), std::numpunct< _CharT >::falsename(), std::ios_base::getloc(), std::numpunct< _CharT >::grouping(), std::numpunct< _CharT >::thousands_sep(), and std::numpunct< _CharT >::truename().

Referenced by std::_Format_cache< _CharT >::_S_get().

template<typename _CharT>
void std::_Format_cache< _CharT >::_S_callback ios_base::event    __event,
ios_base   __ios,
int    __ix
throw () [static]
 

Definition at line 186 of file locale_facets.tcc.

Referenced by std::_Format_cache< _CharT >::_S_get().

template<typename _CharT>
_Format_cache< _CharT > * std::_Format_cache< _CharT >::_S_get ios_base   __ios [static]
 

Definition at line 210 of file locale_facets.tcc.

References std::_Format_cache< _CharT >::_M_populate(), std::_Format_cache< _CharT >::_M_valid, std::_Format_cache< _CharT >::_S_callback(), std::_Format_cache< _CharT >::_S_pword_ix, std::ios_base::pword(), std::ios_base::register_callback(), and std::auto_ptr< _Tp >::release().


Friends And Related Function Documentation

template<typename _CharT>
friend class _Numeric_get [friend]
 

Definition at line 438 of file locale_facets.h.

template<typename _CharT>
friend class locale [friend]
 

Definition at line 436 of file locale_facets.h.

template<typename _CharT>
friend class money_get< _CharT > [friend]
 

Definition at line 442 of file locale_facets.h.

template<typename _CharT>
friend class money_put< _CharT > [friend]
 

Definition at line 444 of file locale_facets.h.

template<typename _CharT>
friend class num_get< _CharT > [friend]
 

Definition at line 439 of file locale_facets.h.

template<typename _CharT>
friend class num_put< _CharT > [friend]
 

Definition at line 440 of file locale_facets.h.

template<typename _CharT>
friend class time_get< _CharT > [friend]
 

Definition at line 441 of file locale_facets.h.

template<typename _CharT>
friend class time_put< _CharT > [friend]
 

Definition at line 443 of file locale_facets.h.


Member Data Documentation

template<typename _CharT>
char_type std::_Format_cache< _CharT >::_M_decimal_point
 

Definition at line 479 of file locale_facets.h.

Referenced by std::__output_float(), and std::_Format_cache< _CharT >::_M_populate().

template<typename _CharT>
string_type std::_Format_cache< _CharT >::_M_falsename
 

Definition at line 490 of file locale_facets.h.

Referenced by std::_Format_cache< _CharT >::_M_populate(), and std::num_put< _CharT, _OutIter >::do_put().

template<typename _CharT>
string std::_Format_cache< _CharT >::_M_grouping
 

Definition at line 498 of file locale_facets.h.

Referenced by std::__output_integer(), and std::_Format_cache< _CharT >::_M_populate().

template<typename _CharT>
char_type std::_Format_cache< _CharT >::_M_thousands_sep
 

Definition at line 485 of file locale_facets.h.

Referenced by std::__output_integer(), and std::_Format_cache< _CharT >::_M_populate().

template<typename _CharT>
string_type std::_Format_cache< _CharT >::_M_truename
 

Definition at line 489 of file locale_facets.h.

Referenced by std::_Format_cache< _CharT >::_M_populate(), and std::num_put< _CharT, _OutIter >::do_put().

template<typename _CharT>
bool std::_Format_cache< _CharT >::_M_use_grouping
 

Definition at line 494 of file locale_facets.h.

Referenced by std::__output_integer(), and std::_Format_cache< _CharT >::_M_populate().

template<typename _CharT>
bool std::_Format_cache< _CharT >::_M_valid
 

Definition at line 453 of file locale_facets.h.

Referenced by std::_Format_cache< _CharT >::_M_populate(), and std::_Format_cache< _CharT >::_S_get().

template<typename _CharT>
const char std::_Format_cache< _CharT >::_S_literals[] [static]
 

Definition at line 457 of file locale_facets.h.

Referenced by std::__output_integer().

template<typename _CharT>
int std::_Format_cache< _CharT >::_S_pword_ix [static]
 

Definition at line 518 of file locale_facets.h.

Referenced by std::_Format_cache< _CharT >::_S_get().


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