std::__timepunct< _CharT > Class Template Reference

#include <locale_facets.h>

Inheritance diagram for std::__timepunct< _CharT >:

std::locale::facet List of all members.

Public Types

typedef _CharT __char_type
typedef basic_string< _CharT > __string_type
typedef __timepunct_cache<
_CharT > 
__cache_type

Public Member Functions

 __timepunct (size_t __refs=0)
 __timepunct (__cache_type *__cache, size_t __refs=0)
 __timepunct (__c_locale __cloc, const char *__s, size_t __refs=0)
 Internal constructor. Not for general use.

void _M_put (_CharT *__s, size_t __maxlen, const _CharT *__format, const tm *__tm) const
void _M_date_formats (const _CharT **__date) const
void _M_time_formats (const _CharT **__time) const
void _M_date_time_formats (const _CharT **__dt) const
void _M_am_pm_format (const _CharT *__ampm) const
void _M_am_pm (const _CharT **__ampm) const
void _M_days (const _CharT **__days) const
void _M_days_abbreviated (const _CharT **__days) const
void _M_months (const _CharT **__months) const
void _M_months_abbreviated (const _CharT **__months) const

Static Public Attributes

locale::id id
 Numpunct facet id.


Protected Member Functions

virtual ~__timepunct ()
void _M_initialize_timepunct (__c_locale __cloc=NULL)

Protected Attributes

__cache_type_M_data
__c_locale _M_c_locale_timepunct
const char * _M_name_timepunct

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


Member Typedef Documentation

template<typename _CharT>
typedef __timepunct_cache<_CharT> std::__timepunct< _CharT >::__cache_type
 

Definition at line 3280 of file locale_facets.h.

template<typename _CharT>
typedef _CharT std::__timepunct< _CharT >::__char_type
 

Definition at line 3278 of file locale_facets.h.

template<typename _CharT>
typedef basic_string<_CharT> std::__timepunct< _CharT >::__string_type
 

Definition at line 3279 of file locale_facets.h.


Constructor & Destructor Documentation

template<typename _CharT>
std::__timepunct< _CharT >::__timepunct size_t  __refs = 0  )  [explicit]
 

template<typename _CharT>
std::__timepunct< _CharT >::__timepunct __cache_type __cache,
size_t  __refs = 0
[explicit]
 

template<typename _CharT>
std::__timepunct< _CharT >::__timepunct __c_locale  __cloc,
const char *  __s,
size_t  __refs = 0
[explicit]
 

Internal constructor. Not for general use.

This is a constructor for use by the library itself to set up new locales.

Parameters:
cloc The "C" locale.
s The name of a locale.
refs Passed to the base facet class.

template<typename _CharT>
virtual std::__timepunct< _CharT >::~__timepunct  )  [protected, virtual]
 


Member Function Documentation

template<typename _CharT>
void std::__timepunct< _CharT >::_M_am_pm const _CharT **  __ampm  )  const [inline]
 

Definition at line 3343 of file locale_facets.h.

template<typename _CharT>
void std::__timepunct< _CharT >::_M_am_pm_format const _CharT *  __ampm  )  const [inline]
 

Definition at line 3339 of file locale_facets.h.

template<typename _CharT>
void std::__timepunct< _CharT >::_M_date_formats const _CharT **  __date  )  const [inline]
 

Definition at line 3315 of file locale_facets.h.

Referenced by std::time_get< _CharT, _InIter >::_M_extract_via_format(), and std::time_get< _CharT, _InIter >::do_get_date().

template<typename _CharT>
void std::__timepunct< _CharT >::_M_date_time_formats const _CharT **  __dt  )  const [inline]
 

Definition at line 3331 of file locale_facets.h.

Referenced by std::time_get< _CharT, _InIter >::_M_extract_via_format().

template<typename _CharT>
void std::__timepunct< _CharT >::_M_days const _CharT **  __days  )  const [inline]
 

Definition at line 3350 of file locale_facets.h.

Referenced by std::time_get< _CharT, _InIter >::_M_extract_via_format(), and std::time_get< _CharT, _InIter >::do_get_weekday().

template<typename _CharT>
void std::__timepunct< _CharT >::_M_days_abbreviated const _CharT **  __days  )  const [inline]
 

Definition at line 3362 of file locale_facets.h.

Referenced by std::time_get< _CharT, _InIter >::_M_extract_via_format(), and std::time_get< _CharT, _InIter >::do_get_weekday().

void std::__timepunct<>::_M_initialize_timepunct __c_locale  __cloc = NULL  )  [protected]
 

template<typename _CharT>
void std::__timepunct< _CharT >::_M_months const _CharT **  __months  )  const [inline]
 

Definition at line 3374 of file locale_facets.h.

Referenced by std::time_get< _CharT, _InIter >::_M_extract_via_format(), and std::time_get< _CharT, _InIter >::do_get_monthname().

template<typename _CharT>
void std::__timepunct< _CharT >::_M_months_abbreviated const _CharT **  __months  )  const [inline]
 

Definition at line 3391 of file locale_facets.h.

Referenced by std::time_get< _CharT, _InIter >::_M_extract_via_format(), and std::time_get< _CharT, _InIter >::do_get_monthname().

template<typename _CharT>
void std::__timepunct< _CharT >::_M_put _CharT *  __s,
size_t  __maxlen,
const _CharT *  __format,
const tm *  __tm
const
 

Referenced by std::time_put< _CharT, _OutIter >::do_put().

template<typename _CharT>
void std::__timepunct< _CharT >::_M_time_formats const _CharT **  __time  )  const [inline]
 

Definition at line 3323 of file locale_facets.h.

Referenced by std::time_get< _CharT, _InIter >::_M_extract_via_format(), and std::time_get< _CharT, _InIter >::do_get_time().


Member Data Documentation

template<typename _CharT>
__c_locale std::__timepunct< _CharT >::_M_c_locale_timepunct [protected]
 

Definition at line 3284 of file locale_facets.h.

template<typename _CharT>
__cache_type* std::__timepunct< _CharT >::_M_data [protected]
 

Definition at line 3283 of file locale_facets.h.

template<typename _CharT>
const char* std::__timepunct< _CharT >::_M_name_timepunct [protected]
 

Definition at line 3285 of file locale_facets.h.

template<typename _CharT>
locale::id std::__timepunct< _CharT >::id [static]
 

Numpunct facet id.

Definition at line 3417 of file locale_facets.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 30 17:32:14 2007 for GNU C++ STL by doxygen 1.3.6