ReactOS  0.4.15-dev-492-ga1108f6
time_init< wchar_t > Class Reference

#include <_time_facets.h>

Collaboration diagram for time_init< wchar_t >:

Protected Member Functions

 time_init ()
 
 time_init (const char *name)
 
 time_init (_Locale_time *)
 

Protected Attributes

_WTime_Info _M_timeinfo
 
time_base::dateorder _M_dateorder
 

Detailed Description

Definition at line 115 of file _time_facets.h.

Constructor & Destructor Documentation

◆ time_init() [1/3]

time_init< wchar_t >::time_init ( )
protected

Definition at line 527 of file time_facets.cpp.

time_base::dateorder _M_dateorder
Definition: _time_facets.h:124
static void _Init_timeinfo(_Time_Info &table)
Definition: time_facets.cpp:75
_WTime_Info _M_timeinfo
Definition: _time_facets.h:123

◆ time_init() [2/3]

time_init< wchar_t >::time_init ( const char name)
protected

Definition at line 531 of file time_facets.cpp.

531  {
532  if (!__name)
534 
535  int __err_code;
537  _Locale_time *__time = __acquire_time(__name, buf, 0, &__err_code);
538  if (!__time)
539  locale::_M_throw_on_creation_failure(__err_code, __name, "time");
540 
541  _Init_timeinfo(this->_M_timeinfo, __time);
542  _M_dateorder = __get_date_order(__time);
543  __release_time(__time);
544 }
time_base::dateorder _M_dateorder
Definition: _time_facets.h:124
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
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_time *_STLP_CALL __acquire_time(const char *&name, char *buf, _Locale_name_hint *, int *__err_code)
static void _STLP_FUNCTION_THROWS _STLP_CALL _M_throw_on_null_name()
Definition: locale.cpp:57
static void _Init_timeinfo(_Time_Info &table)
Definition: time_facets.cpp:75
void _STLP_CALL __release_time(_Locale_time *__time)
#define _Locale_MAX_SIMPLE_NAME
Definition: c_locale.h:54
static time_base::dateorder __get_date_order(_Locale_time *time)
_WTime_Info _M_timeinfo
Definition: _time_facets.h:123

◆ time_init() [3/3]

time_init< wchar_t >::time_init ( _Locale_time __time)
protected

Definition at line 546 of file time_facets.cpp.

546  {
547  _Init_timeinfo(this->_M_timeinfo, __time);
548  _M_dateorder = __get_date_order(__time);
549 }
time_base::dateorder _M_dateorder
Definition: _time_facets.h:124
static void _Init_timeinfo(_Time_Info &table)
Definition: time_facets.cpp:75
static time_base::dateorder __get_date_order(_Locale_time *time)
_WTime_Info _M_timeinfo
Definition: _time_facets.h:123

Member Data Documentation

◆ _M_dateorder

time_base::dateorder time_init< wchar_t >::_M_dateorder
protected

Definition at line 124 of file _time_facets.h.

◆ _M_timeinfo

_WTime_Info time_init< wchar_t >::_M_timeinfo
protected

Definition at line 123 of file _time_facets.h.


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