.TH "std::time_put_byname< _CharT, _OutIter >" 3cxx "Wed Jul 14 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::time_put_byname< _CharT, _OutIter > \- class time_put_byname [22\&.2\&.5\&.4]\&. .SH SYNOPSIS .br .PP .PP Inherits \fBstd::time_put< _CharT, _OutIter >\fP\&. .SS "Public Types" .in +1c .ti -1c .RI "typedef _CharT \fBchar_type\fP" .br .ti -1c .RI "typedef _OutIter \fBiter_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBtime_put_byname\fP (const char *, size_t __refs=0)" .br .ti -1c .RI "\fBtime_put_byname\fP (const \fBstring\fP &__s, size_t __refs=0)" .br .ti -1c .RI "\fBiter_type\fP \fBput\fP (\fBiter_type\fP __s, \fBios_base\fP &__io, \fBchar_type\fP __fill, const tm *__tm, char __format, char __mod=0) const" .br .RI "Format and output a time or date\&. " .ti -1c .RI "\fBiter_type\fP \fBput\fP (\fBiter_type\fP __s, \fBios_base\fP &__io, \fBchar_type\fP __fill, const tm *__tm, const _CharT *__beg, const _CharT *__end) const" .br .RI "Format and output a time or date\&. " .in -1c .SS "Static Public Attributes" .in +1c .ti -1c .RI "static \fBlocale::id\fP \fBid\fP" .br .RI "Numpunct facet id\&. " .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "virtual \fBiter_type\fP \fBdo_put\fP (\fBiter_type\fP __s, \fBios_base\fP &__io, \fBchar_type\fP __fill, const tm *__tm, char __format, char __mod) const" .br .RI "Format and output a time or date\&. " .in -1c .SS "Static Protected Member Functions" .in +1c .ti -1c .RI "static __c_locale \fB_S_clone_c_locale\fP (__c_locale &__cloc) throw ()" .br .ti -1c .RI "static void \fB_S_create_c_locale\fP (__c_locale &__cloc, const char *__s, __c_locale __old=0)" .br .ti -1c .RI "static void \fB_S_destroy_c_locale\fP (__c_locale &__cloc)" .br .ti -1c .RI "static __c_locale \fB_S_get_c_locale\fP ()" .br .ti -1c .RI "static const char * \fB_S_get_c_name\fP () throw ()" .br .ti -1c .RI "static __c_locale \fB_S_lc_ctype_c_locale\fP (__c_locale __cloc, const char *__s)" .br .in -1c .SH "Detailed Description" .PP .SS "template .br class std::time_put_byname< _CharT, _OutIter >" class time_put_byname [22\&.2\&.5\&.4]\&. .PP Definition at line 893 of file locale_facets_nonio\&.h\&. .SH "Member Function Documentation" .PP .SS "template _OutIter \fBstd::time_put\fP< _CharT, _OutIter >::do_put (\fBiter_type\fP __s, \fBios_base\fP & __io, \fBchar_type\fP __fill, const tm * __tm, char __format, char __mod) const\fC [protected]\fP, \fC [virtual]\fP, \fC [inherited]\fP" .PP Format and output a time or date\&. This function formats the data in struct tm according to the provided format char and optional modifier\&. This function is a hook for derived classes to change the value returned\&. .PP \fBSee also\fP .RS 4 put() for more details\&. .RE .PP \fBParameters\fP .RS 4 \fI__s\fP The stream to write to\&. .br \fI__io\fP Source of locale\&. .br \fI__fill\fP char_type to use for padding\&. .br \fI__tm\fP Struct tm with date and time info to format\&. .br \fI__format\fP Format char\&. .br \fI__mod\fP Optional modifier char\&. .RE .PP \fBReturns\fP .RS 4 Iterator after writing\&. .RE .PP .PP Definition at line 1308 of file locale_facets_nonio\&.tcc\&. .PP References std::ios_base::_M_getloc(), and std::__ctype_abstract_base< _CharT >::widen()\&. .PP Referenced by std::time_put< _CharT, _OutIter >::put()\&. .SS "template \fBiter_type\fP \fBstd::time_put\fP< _CharT, _OutIter >::put (\fBiter_type\fP __s, \fBios_base\fP & __io, \fBchar_type\fP __fill, const tm * __tm, char __format, char __mod = \fC0\fP) const\fC [inline]\fP, \fC [inherited]\fP" .PP Format and output a time or date\&. This function formats the data in struct tm according to the provided format char and optional modifier\&. The format and modifier are interpreted as by strftime()\&. It does so by returning time_put::do_put()\&. .PP \fBParameters\fP .RS 4 \fI__s\fP The stream to write to\&. .br \fI__io\fP Source of locale\&. .br \fI__fill\fP char_type to use for padding\&. .br \fI__tm\fP Struct tm with date and time info to format\&. .br \fI__format\fP Format char\&. .br \fI__mod\fP Optional modifier char\&. .RE .PP \fBReturns\fP .RS 4 Iterator after writing\&. .RE .PP .PP Definition at line 857 of file locale_facets_nonio\&.h\&. .PP References std::time_put< _CharT, _OutIter >::do_put()\&. .SS "template _OutIter \fBstd::time_put\fP< _CharT, _OutIter >::put (\fBiter_type\fP __s, \fBios_base\fP & __io, \fBchar_type\fP __fill, const tm * __tm, const _CharT * __beg, const _CharT * __end) const\fC [inherited]\fP" .PP Format and output a time or date\&. This function formats the data in struct tm according to the provided format string\&. The format string is interpreted as by strftime()\&. .PP \fBParameters\fP .RS 4 \fI__s\fP The stream to write to\&. .br \fI__io\fP Source of locale\&. .br \fI__fill\fP char_type to use for padding\&. .br \fI__tm\fP Struct tm with date and time info to format\&. .br \fI__beg\fP Start of format string\&. .br \fI__end\fP End of format string\&. .RE .PP \fBReturns\fP .RS 4 Iterator after writing\&. .RE .PP .PP Definition at line 1273 of file locale_facets_nonio\&.tcc\&. .PP References std::ios_base::_M_getloc(), and std::__ctype_abstract_base< _CharT >::narrow()\&. .SH "Member Data Documentation" .PP .SS "template \fBlocale::id\fP \fBstd::time_put\fP< _CharT, _OutIter >::id\fC [static]\fP, \fC [inherited]\fP" .PP Numpunct facet id\&. .PP Definition at line 808 of file locale_facets_nonio\&.h\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.