Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > c74ab286c3d46f9b82671d206e43a74b > files > 718

libstdc++-docs-4.6.3-2.fc15.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>libstdc++: std::time_put_byname&lt; _CharT, _OutIter &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">libstdc++</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('a00712.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-static-methods">Static Protected Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">std::time_put_byname&lt; _CharT, _OutIter &gt; Class Template Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="std::time_put_byname" --><!-- doxytag: inherits="std::time_put" -->
<p>class <a class="el" href="a00712.html" title="class time_put_byname [22.2.5.4].">time_put_byname</a> [22.2.5.4].  
 <a href="a00712.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for std::time_put_byname&lt; _CharT, _OutIter &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="a02398.png" border="0" usemap="#std_1_1time__put__byname_3_01___char_t_00_01___out_iter_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="std_1_1time__put__byname_3_01___char_t_00_01___out_iter_01_4_inherit__map" id="std_1_1time__put__byname_3_01___char_t_00_01___out_iter_01_4_inherit__map">
<area shape="rect" id="node2" href="a00711.html" title="Primary class template time_put.This facet encapsulates the code to format and output dates and times..." alt="" coords="31,83,231,112"/><area shape="rect" id="node4" href="a00582.html" title="Localization functionality base class.The facet class is the base class for a localization feature..." alt="" coords="76,5,185,35"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="a02399.html">List of all members.</a></p>
<h2><a name="pub-types"></a>
Public Types</h2>
<ul>
<li>typedef _CharT <a class="el" href="a00712.html#a1a7973042900c6202ca6a3cfa9b68b85">char_type</a>
<li>typedef _OutIter <a class="el" href="a00712.html#a4ab2a24100bd2ca11ac22b5b33f89d20">iter_type</a>
</ul>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="anchor" id="aae4e8f6c86ba27d0fff46afcd80c24fe"></a><!-- doxytag: member="std::time_put_byname::time_put_byname" ref="aae4e8f6c86ba27d0fff46afcd80c24fe" args="(const char *, size_t __refs=0)" -->
<b>time_put_byname</b> (const char *, size_t __refs=0)
<li><a class="el" href="a00711.html#aaac7d8b45c25d36c14efe8876af1d65e">iter_type</a> <a class="el" href="a00711.html#af8563082434ae74815e1bf84f14f6f12">put</a> (<a class="el" href="a00711.html#aaac7d8b45c25d36c14efe8876af1d65e">iter_type</a> __s, <a class="el" href="a00528.html">ios_base</a> &amp;__io, <a class="el" href="a00711.html#a757828f8c32125500ce4a92c129913ec">char_type</a> __fill, const tm *__tm, char __format, char __mod=0) const 
<li><a class="el" href="a00711.html#aaac7d8b45c25d36c14efe8876af1d65e">iter_type</a> <a class="el" href="a00711.html#ae16ac2712b3c87830be070620e3299c7">put</a> (<a class="el" href="a00711.html#aaac7d8b45c25d36c14efe8876af1d65e">iter_type</a> __s, <a class="el" href="a00528.html">ios_base</a> &amp;__io, <a class="el" href="a00711.html#a757828f8c32125500ce4a92c129913ec">char_type</a> __fill, const tm *__tm, const _CharT *__beg, const _CharT *__end) const 
</ul>
<h2><a name="pub-static-attribs"></a>
Static Public Attributes</h2>
<ul>
<li>static <a class="el" href="a00583.html">locale::id</a> <a class="el" href="a00711.html#ae2d3eb3e68bdf1e6bf58cb273b41eda4">id</a>
</ul>
<h2><a name="pro-methods"></a>
Protected Member Functions</h2>
<ul>
<li>virtual <a class="el" href="a00711.html#aaac7d8b45c25d36c14efe8876af1d65e">iter_type</a> <a class="el" href="a00711.html#aeb56a73a3c87363660187bf1dbd75359">do_put</a> (<a class="el" href="a00711.html#aaac7d8b45c25d36c14efe8876af1d65e">iter_type</a> __s, <a class="el" href="a00528.html">ios_base</a> &amp;__io, <a class="el" href="a00711.html#a757828f8c32125500ce4a92c129913ec">char_type</a> __fill, const tm *__tm, char __format, char __mod) const 
</ul>
<h2><a name="pro-static-methods"></a>
Static Protected Member Functions</h2>
<ul>
<li><a class="anchor" id="aaaa39cc3ae39c5283101ce8c9c630902"></a><!-- doxytag: member="std::time_put_byname::_S_clone_c_locale" ref="aaaa39cc3ae39c5283101ce8c9c630902" args="(__c_locale &amp;__cloc)" -->
static __c_locale <b>_S_clone_c_locale</b> (__c_locale &amp;__cloc)  throw ()
<li><a class="anchor" id="a60fbe742b113ff90f63e01c0ac658826"></a><!-- doxytag: member="std::time_put_byname::_S_create_c_locale" ref="a60fbe742b113ff90f63e01c0ac658826" args="(__c_locale &amp;__cloc, const char *__s, __c_locale __old=0)" -->
static void <b>_S_create_c_locale</b> (__c_locale &amp;__cloc, const char *__s, __c_locale __old=0)
<li><a class="anchor" id="a0a8c1c763d0d99421ab859f9c11668af"></a><!-- doxytag: member="std::time_put_byname::_S_destroy_c_locale" ref="a0a8c1c763d0d99421ab859f9c11668af" args="(__c_locale &amp;__cloc)" -->
static void <b>_S_destroy_c_locale</b> (__c_locale &amp;__cloc)
<li><a class="anchor" id="a2e71ffc16033618e86c8c9d14ae4b022"></a><!-- doxytag: member="std::time_put_byname::_S_get_c_locale" ref="a2e71ffc16033618e86c8c9d14ae4b022" args="()" -->
static __c_locale <b>_S_get_c_locale</b> ()
<li><a class="anchor" id="acda690006956a82c0cc436f5509c4f26"></a><!-- doxytag: member="std::time_put_byname::_S_get_c_name" ref="acda690006956a82c0cc436f5509c4f26" args="()" -->
static const char * <b>_S_get_c_name</b> ()  throw ()
<li><a class="anchor" id="a426725452f3ac010eb3c090e83a6e574"></a><!-- doxytag: member="std::time_put_byname::_S_lc_ctype_c_locale" ref="a426725452f3ac010eb3c090e83a6e574" args="(__c_locale __cloc, const char *__s)" -->
static __c_locale <b>_S_lc_ctype_c_locale</b> (__c_locale __cloc, const char *__s)
</ul>
<h2><a name="friends"></a>
Friends</h2>
<ul>
<li><a class="anchor" id="ad6cc86eddbc65fb7e6d6d09b2c42d697"></a><!-- doxytag: member="std::time_put_byname::locale::_Impl" ref="ad6cc86eddbc65fb7e6d6d09b2c42d697" args="" -->
class <b>locale::_Impl</b>
</ul>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename _CharT, typename _OutIter&gt;<br/>
class std::time_put_byname&lt; _CharT, _OutIter &gt;</h3>

<p>class <a class="el" href="a00712.html" title="class time_put_byname [22.2.5.4].">time_put_byname</a> [22.2.5.4]. </p>

<p>Definition at line <a class="el" href="a00930_source.html#l00811">811</a> of file <a class="el" href="a00930_source.html">locale_facets_nonio.h</a>.</p>
</div><hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a1a7973042900c6202ca6a3cfa9b68b85"></a><!-- doxytag: member="std::time_put_byname::char_type" ref="a1a7973042900c6202ca6a3cfa9b68b85" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _CharT , typename _OutIter &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef _CharT <a class="el" href="a00712.html">std::time_put_byname</a>&lt; _CharT, _OutIter &gt;::<a class="el" href="a00711.html#a757828f8c32125500ce4a92c129913ec">char_type</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Public typedefs. </p>

<p>Reimplemented from <a class="el" href="a00711.html#a757828f8c32125500ce4a92c129913ec">std::time_put&lt; _CharT, _OutIter &gt;</a>.</p>

<p>Definition at line <a class="el" href="a00930_source.html#l00815">815</a> of file <a class="el" href="a00930_source.html">locale_facets_nonio.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4ab2a24100bd2ca11ac22b5b33f89d20"></a><!-- doxytag: member="std::time_put_byname::iter_type" ref="a4ab2a24100bd2ca11ac22b5b33f89d20" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _CharT , typename _OutIter &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef _OutIter <a class="el" href="a00712.html">std::time_put_byname</a>&lt; _CharT, _OutIter &gt;::<a class="el" href="a00711.html#aaac7d8b45c25d36c14efe8876af1d65e">iter_type</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Public typedefs. </p>

<p>Reimplemented from <a class="el" href="a00711.html#aaac7d8b45c25d36c14efe8876af1d65e">std::time_put&lt; _CharT, _OutIter &gt;</a>.</p>

<p>Definition at line <a class="el" href="a00930_source.html#l00816">816</a> of file <a class="el" href="a00930_source.html">locale_facets_nonio.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aeb56a73a3c87363660187bf1dbd75359"></a><!-- doxytag: member="std::time_put_byname::do_put" ref="aeb56a73a3c87363660187bf1dbd75359" args="(iter_type __s, ios_base &amp;__io, char_type __fill, const tm *__tm, char __format, char __mod) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _CharT , typename _OutIter &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">_OutIter <a class="el" href="a00711.html">std::time_put</a>&lt; _CharT, _OutIter &gt;::do_put </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00711.html#aaac7d8b45c25d36c14efe8876af1d65e">iter_type</a>&#160;</td>
          <td class="paramname"><em>__s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00528.html">ios_base</a> &amp;&#160;</td>
          <td class="paramname"><em>__io</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00711.html#a757828f8c32125500ce4a92c129913ec">char_type</a>&#160;</td>
          <td class="paramname"><em>__fill</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const tm *&#160;</td>
          <td class="paramname"><em>__tm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>__format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>__mod</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected, virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Format and output a time or date. </p>
<p>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. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00711.html#ae16ac2712b3c87830be070620e3299c7" title="Format and output a time or date.">put()</a> for more details.</dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">s</td><td>The stream to write to. </td></tr>
    <tr><td class="paramname">io</td><td>Source of locale. </td></tr>
    <tr><td class="paramname">fill</td><td>char_type to use for padding. </td></tr>
    <tr><td class="paramname">tm</td><td>Struct tm with date and time info to format. </td></tr>
    <tr><td class="paramname">format</td><td>Format char. </td></tr>
    <tr><td class="paramname">mod</td><td>Optional modifier char. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Iterator after writing. </dd></dl>

<p>Definition at line <a class="el" href="a00931_source.html#l01178">1178</a> of file <a class="el" href="a00931_source.html">locale_facets_nonio.tcc</a>.</p>

<p>References <a class="el" href="a00909_source.html#l00708">std::ios_base::_M_getloc()</a>, and <a class="el" href="a00928_source.html#l00287">std::__ctype_abstract_base&lt; _CharT &gt;::widen()</a>.</p>

<p>Referenced by <a class="el" href="a00930_source.html#l00775">std::time_put&lt; _CharT, _OutIter &gt;::put()</a>.</p>

</div>
</div>
<a class="anchor" id="ae16ac2712b3c87830be070620e3299c7"></a><!-- doxytag: member="std::time_put_byname::put" ref="ae16ac2712b3c87830be070620e3299c7" args="(iter_type __s, ios_base &amp;__io, char_type __fill, const tm *__tm, const _CharT *__beg, const _CharT *__end) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _CharT , typename _OutIter &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">_OutIter <a class="el" href="a00711.html">std::time_put</a>&lt; _CharT, _OutIter &gt;::put </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00711.html#aaac7d8b45c25d36c14efe8876af1d65e">iter_type</a>&#160;</td>
          <td class="paramname"><em>__s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00528.html">ios_base</a> &amp;&#160;</td>
          <td class="paramname"><em>__io</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00711.html#a757828f8c32125500ce4a92c129913ec">char_type</a>&#160;</td>
          <td class="paramname"><em>__fill</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const tm *&#160;</td>
          <td class="paramname"><em>__tm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const _CharT *&#160;</td>
          <td class="paramname"><em>__beg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const _CharT *&#160;</td>
          <td class="paramname"><em>__end</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Format and output a time or date. </p>
<p>This function formats the data in struct tm according to the provided format string. The format string is interpreted as by strftime().</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">s</td><td>The stream to write to. </td></tr>
    <tr><td class="paramname">io</td><td>Source of locale. </td></tr>
    <tr><td class="paramname">fill</td><td>char_type to use for padding. </td></tr>
    <tr><td class="paramname">tm</td><td>Struct tm with date and time info to format. </td></tr>
    <tr><td class="paramname">beg</td><td>Start of format string. </td></tr>
    <tr><td class="paramname">end</td><td>End of format string. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Iterator after writing. </dd></dl>

<p>Definition at line <a class="el" href="a00931_source.html#l01143">1143</a> of file <a class="el" href="a00931_source.html">locale_facets_nonio.tcc</a>.</p>

<p>References <a class="el" href="a00909_source.html#l00708">std::ios_base::_M_getloc()</a>, and <a class="el" href="a00928_source.html#l00325">std::__ctype_abstract_base&lt; _CharT &gt;::narrow()</a>.</p>

</div>
</div>
<a class="anchor" id="af8563082434ae74815e1bf84f14f6f12"></a><!-- doxytag: member="std::time_put_byname::put" ref="af8563082434ae74815e1bf84f14f6f12" args="(iter_type __s, ios_base &amp;__io, char_type __fill, const tm *__tm, char __format, char __mod=0) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _CharT , typename _OutIter &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00711.html#aaac7d8b45c25d36c14efe8876af1d65e">iter_type</a> <a class="el" href="a00711.html">std::time_put</a>&lt; _CharT, _OutIter &gt;::put </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00711.html#aaac7d8b45c25d36c14efe8876af1d65e">iter_type</a>&#160;</td>
          <td class="paramname"><em>__s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00528.html">ios_base</a> &amp;&#160;</td>
          <td class="paramname"><em>__io</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00711.html#a757828f8c32125500ce4a92c129913ec">char_type</a>&#160;</td>
          <td class="paramname"><em>__fill</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const tm *&#160;</td>
          <td class="paramname"><em>__tm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>__format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>__mod</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Format and output a time or date. </p>
<p>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 <a class="el" href="a00711.html#aeb56a73a3c87363660187bf1dbd75359" title="Format and output a time or date.">time_put::do_put()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">s</td><td>The stream to write to. </td></tr>
    <tr><td class="paramname">io</td><td>Source of locale. </td></tr>
    <tr><td class="paramname">fill</td><td>char_type to use for padding. </td></tr>
    <tr><td class="paramname">tm</td><td>Struct tm with date and time info to format. </td></tr>
    <tr><td class="paramname">format</td><td>Format char. </td></tr>
    <tr><td class="paramname">mod</td><td>Optional modifier char. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Iterator after writing. </dd></dl>

<p>Definition at line <a class="el" href="a00930_source.html#l00775">775</a> of file <a class="el" href="a00930_source.html">locale_facets_nonio.h</a>.</p>

<p>References <a class="el" href="a00931_source.html#l01178">std::time_put&lt; _CharT, _OutIter &gt;::do_put()</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="ae2d3eb3e68bdf1e6bf58cb273b41eda4"></a><!-- doxytag: member="std::time_put_byname::id" ref="ae2d3eb3e68bdf1e6bf58cb273b41eda4" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _CharT , typename _OutIter &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00583.html">locale::id</a> <a class="el" href="a00711.html">std::time_put</a>&lt; _CharT, _OutIter &gt;::<a class="el" href="a00711.html#ae2d3eb3e68bdf1e6bf58cb273b41eda4">id</a><code> [static, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Numpunct facet id. </p>

<p>Definition at line <a class="el" href="a00930_source.html#l00726">726</a> of file <a class="el" href="a00930_source.html">locale_facets_nonio.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="a00930_source.html">locale_facets_nonio.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="a01137.html">std</a>      </li>
      <li class="navelem"><a class="el" href="a00712.html">time_put_byname</a>      </li>
      <li class="footer">Generated by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>

</body>
</html>