ReactOS  0.4.15-dev-489-g75a0787
time_init< char > Class Reference

#include <_time_facets.h>

Collaboration diagram for time_init< char >:

Protected Member Functions

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

Protected Attributes

_Time_Info _M_timeinfo
 
time_base::dateorder _M_dateorder
 

Detailed Description

Definition at line 101 of file _time_facets.h.

Constructor & Destructor Documentation

◆ time_init() [1/3]

time_init< char >::time_init ( )
protected

Definition at line 502 of file time_facets.cpp.

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

◆ time_init() [2/3]

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

Definition at line 506 of file time_facets.cpp.

506  {
507  if (!__name)
509 
510  int __err_code;
512  _Locale_time *__time = __acquire_time(__name, buf, 0, &__err_code);
513  if (!__time)
514  locale::_M_throw_on_creation_failure(__err_code, __name, "time");
515 
516  _Init_timeinfo(this->_M_timeinfo, __time);
517  _M_dateorder = __get_date_order(__time);
518  __release_time(__time);
519 }
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)
_Time_Info _M_timeinfo
Definition: _time_facets.h:109
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)
time_base::dateorder _M_dateorder
Definition: _time_facets.h:110

◆ time_init() [3/3]

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

Definition at line 521 of file time_facets.cpp.

521  {
522  _Init_timeinfo(this->_M_timeinfo, __time);
523  _M_dateorder = __get_date_order(__time);
524 }
_Time_Info _M_timeinfo
Definition: _time_facets.h:109
static void _Init_timeinfo(_Time_Info &table)
Definition: time_facets.cpp:75
static time_base::dateorder __get_date_order(_Locale_time *time)
time_base::dateorder _M_dateorder
Definition: _time_facets.h:110

Member Data Documentation

◆ _M_dateorder

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

Definition at line 110 of file _time_facets.h.

◆ _M_timeinfo

_Time_Info time_init< char >::_M_timeinfo
protected

Definition at line 109 of file _time_facets.h.


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