1 | <html> |
---|
2 | <head> |
---|
3 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
---|
4 | <title>Class template all_date_names_put</title> |
---|
5 | <link rel="stylesheet" href="boostbook.css" type="text/css"> |
---|
6 | <meta name="generator" content="DocBook XSL Stylesheets V1.69.1"> |
---|
7 | <link rel="start" href="index.html" title="The Boost C++ Libraries"> |
---|
8 | <link rel="up" href="date_time/doxy.html#id2507977" title="Header <boost/date_time/date_names_put.hpp>"> |
---|
9 | <link rel="prev" href="date_names_put.html" title="Class template date_names_put"> |
---|
10 | <link rel="next" href="dst_calculator.html" title="Class template dst_calculator"> |
---|
11 | </head> |
---|
12 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
---|
13 | <table cellpadding="2" width="100%"> |
---|
14 | <td valign="top"><img alt="boost.png (6897 bytes)" width="277" height="86" src="../../boost.png"></td> |
---|
15 | <td align="center"><a href="../../index.htm">Home</a></td> |
---|
16 | <td align="center"><a href="../../libs/libraries.htm">Libraries</a></td> |
---|
17 | <td align="center"><a href="../../people/people.htm">People</a></td> |
---|
18 | <td align="center"><a href="../../more/faq.htm">FAQ</a></td> |
---|
19 | <td align="center"><a href="../../more/index.htm">More</a></td> |
---|
20 | </table> |
---|
21 | <hr> |
---|
22 | <div class="spirit-nav"> |
---|
23 | <a accesskey="p" href="date_names_put.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="date_time/doxy.html#id2507977"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="dst_calculator.html"><img src="images/next.png" alt="Next"></a> |
---|
24 | </div> |
---|
25 | <div class="refentry" lang="en"> |
---|
26 | <a name="all_date_names_put"></a><div class="titlepage"></div> |
---|
27 | <div class="refnamediv"> |
---|
28 | <h2><span class="refentrytitle">Class template all_date_names_put</span></h2> |
---|
29 | <p>boost::date_time::all_date_names_put — A date name output facet that takes an array of char* to define strings. </p> |
---|
30 | </div> |
---|
31 | <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> |
---|
32 | <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> Config, <span class="bold"><strong>typename</strong></span> charT = <span class="bold"><strong>char</strong></span>, |
---|
33 | <span class="bold"><strong>typename</strong></span> <a href="OutputIterator.html" title="Concept OutputIterator">OutputIterator</a> = std::ostreambuf_iterator<charT> > |
---|
34 | <span class="bold"><strong>class</strong></span> all_date_names_put : <span class="bold"><strong>public</strong></span> boost::date_time::date_names_put< Config, charT, OutputIterator > |
---|
35 | { |
---|
36 | <span class="bold"><strong>public</strong></span>: |
---|
37 | <span class="emphasis"><em>// types</em></span> |
---|
38 | <span class="bold"><strong>typedef</strong></span> OutputIterator iter_type; |
---|
39 | <span class="bold"><strong>typedef</strong></span> Config::month_enum month_enum; |
---|
40 | <span class="bold"><strong>typedef</strong></span> Config::weekday_enum weekday_enum; |
---|
41 | <span class="bold"><strong>typedef</strong></span> Config::special_value_enum special_value_enum; |
---|
42 | |
---|
43 | <span class="emphasis"><em>// <a href="all_date_names_put.html#all_date_names_putconstruct-copy-destruct">construct/copy/destruct</a></em></span> |
---|
44 | <a href="all_date_names_put.html#id2432446-bb">all_date_names_put</a>(<span class="bold"><strong>const</strong></span> charT *<span class="bold"><strong>const</strong></span>, <span class="bold"><strong>const</strong></span> charT *<span class="bold"><strong>const</strong></span>, |
---|
45 | <span class="bold"><strong>const</strong></span> charT *<span class="bold"><strong>const</strong></span>, <span class="bold"><strong>const</strong></span> charT *<span class="bold"><strong>const</strong></span>, |
---|
46 | <span class="bold"><strong>const</strong></span> charT *<span class="bold"><strong>const</strong></span>, charT = '-', |
---|
47 | ymd_order_spec = ymd_order_iso, |
---|
48 | month_format_spec = month_as_short_string); |
---|
49 | |
---|
50 | <span class="emphasis"><em>// <a href="all_date_names_put.html#id2463312-bb">public member functions</a></em></span> |
---|
51 | <span class="type"><span class="bold"><strong>const</strong></span> charT *<span class="bold"><strong>const</strong></span> *</span> <a href="all_date_names_put.html#id2463316-bb">get_short_month_names</a>() <span class="bold"><strong>const</strong></span>; |
---|
52 | <span class="type"><span class="bold"><strong>const</strong></span> charT *<span class="bold"><strong>const</strong></span> *</span> <a href="all_date_names_put.html#id2524035-bb">get_long_month_names</a>() <span class="bold"><strong>const</strong></span>; |
---|
53 | <span class="type"><span class="bold"><strong>const</strong></span> charT *<span class="bold"><strong>const</strong></span> *</span> <a href="all_date_names_put.html#id2524047-bb">get_special_value_names</a>() <span class="bold"><strong>const</strong></span>; |
---|
54 | <span class="type"><span class="bold"><strong>const</strong></span> charT *<span class="bold"><strong>const</strong></span> *</span> <a href="all_date_names_put.html#id2402318-bb">get_short_weekday_names</a>() <span class="bold"><strong>const</strong></span>; |
---|
55 | <span class="type"><span class="bold"><strong>const</strong></span> charT *<span class="bold"><strong>const</strong></span> *</span> <a href="all_date_names_put.html#id2432433-bb">get_long_weekday_names</a>() <span class="bold"><strong>const</strong></span>; |
---|
56 | |
---|
57 | <span class="emphasis"><em>// <a href="all_date_names_put.html#id2509236-bb">protected member functions</a></em></span> |
---|
58 | <span class="type"><span class="bold"><strong>virtual</strong></span> <span class="bold"><strong>void</strong></span></span> <a href="all_date_names_put.html#id2514360-bb">do_put_month_short</a>(iter_type &, month_enum) <span class="bold"><strong>const</strong></span>; |
---|
59 | <span class="type"><span class="bold"><strong>virtual</strong></span> <span class="bold"><strong>void</strong></span></span> <a href="all_date_names_put.html#id2473935-bb">do_put_month_long</a>(iter_type &, month_enum) <span class="bold"><strong>const</strong></span>; |
---|
60 | <span class="type"><span class="bold"><strong>virtual</strong></span> <span class="bold"><strong>void</strong></span></span> <a href="all_date_names_put.html#id2386507-bb">do_put_special_value</a>(iter_type &, special_value_enum) <span class="bold"><strong>const</strong></span>; |
---|
61 | <span class="type"><span class="bold"><strong>virtual</strong></span> <span class="bold"><strong>void</strong></span></span> <a href="all_date_names_put.html#id2373072-bb">do_put_weekday_short</a>(iter_type &, weekday_enum) <span class="bold"><strong>const</strong></span>; |
---|
62 | <span class="type"><span class="bold"><strong>virtual</strong></span> <span class="bold"><strong>void</strong></span></span> <a href="all_date_names_put.html#id2429397-bb">do_put_weekday_long</a>(iter_type &, weekday_enum) <span class="bold"><strong>const</strong></span>; |
---|
63 | <span class="type"><span class="bold"><strong>virtual</strong></span> <span class="bold"><strong>void</strong></span></span> <a href="all_date_names_put.html#id2509580-bb">do_month_sep_char</a>(iter_type &) <span class="bold"><strong>const</strong></span>; |
---|
64 | <span class="type"><span class="bold"><strong>virtual</strong></span> <span class="bold"><strong>void</strong></span></span> <a href="all_date_names_put.html#id2471104-bb">do_day_sep_char</a>(iter_type &) <span class="bold"><strong>const</strong></span>; |
---|
65 | <span class="type"><span class="bold"><strong>virtual</strong></span> ymd_order_spec</span> <a href="all_date_names_put.html#id2500056-bb">do_date_order</a>() <span class="bold"><strong>const</strong></span>; |
---|
66 | <span class="type"><span class="bold"><strong>virtual</strong></span> month_format_spec</span> <a href="all_date_names_put.html#id2413154-bb">do_month_format</a>() <span class="bold"><strong>const</strong></span>; |
---|
67 | };</pre></div> |
---|
68 | <div class="refsect1" lang="en"> |
---|
69 | <a name="id2630713"></a><h2>Description</h2> |
---|
70 | <div class="refsect2" lang="en"> |
---|
71 | <a name="id2630716"></a><h3> |
---|
72 | <a name="all_date_names_putconstruct-copy-destruct"></a><code class="computeroutput">all_date_names_put</code> construct/copy/destruct</h3> |
---|
73 | <div class="orderedlist"><ol type="1"><li><pre class="literallayout"><a name="id2432446-bb"></a>all_date_names_put(<span class="bold"><strong>const</strong></span> charT *<span class="bold"><strong>const</strong></span> month_short_names, |
---|
74 | <span class="bold"><strong>const</strong></span> charT *<span class="bold"><strong>const</strong></span> month_long_names, |
---|
75 | <span class="bold"><strong>const</strong></span> charT *<span class="bold"><strong>const</strong></span> special_value_names, |
---|
76 | <span class="bold"><strong>const</strong></span> charT *<span class="bold"><strong>const</strong></span> weekday_short_names, |
---|
77 | <span class="bold"><strong>const</strong></span> charT *<span class="bold"><strong>const</strong></span> weekday_long_names, |
---|
78 | charT separator_char = '-', |
---|
79 | ymd_order_spec order_spec = ymd_order_iso, |
---|
80 | month_format_spec month_format = month_as_short_string);</pre></li></ol></div> |
---|
81 | </div> |
---|
82 | <div class="refsect2" lang="en"> |
---|
83 | <a name="id2630827"></a><h3> |
---|
84 | <a name="id2463312-bb"></a><code class="computeroutput">all_date_names_put</code> public member functions</h3> |
---|
85 | <div class="orderedlist"><ol type="1"> |
---|
86 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> charT *<span class="bold"><strong>const</strong></span> *</span> <a name="id2463316-bb"></a>get_short_month_names() <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
87 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> charT *<span class="bold"><strong>const</strong></span> *</span> <a name="id2524035-bb"></a>get_long_month_names() <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
88 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> charT *<span class="bold"><strong>const</strong></span> *</span> <a name="id2524047-bb"></a>get_special_value_names() <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
89 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> charT *<span class="bold"><strong>const</strong></span> *</span> <a name="id2402318-bb"></a>get_short_weekday_names() <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
90 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> charT *<span class="bold"><strong>const</strong></span> *</span> <a name="id2432433-bb"></a>get_long_weekday_names() <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
91 | </ol></div> |
---|
92 | </div> |
---|
93 | <div class="refsect2" lang="en"> |
---|
94 | <a name="id2631017"></a><h3> |
---|
95 | <a name="id2509236-bb"></a><code class="computeroutput">all_date_names_put</code> protected member functions</h3> |
---|
96 | <div class="orderedlist"><ol type="1"> |
---|
97 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>virtual</strong></span> <span class="bold"><strong>void</strong></span></span> <a name="id2514360-bb"></a>do_put_month_short(iter_type & oitr, month_enum moy) <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
98 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>virtual</strong></span> <span class="bold"><strong>void</strong></span></span> <a name="id2473935-bb"></a>do_put_month_long(iter_type & oitr, month_enum moy) <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
99 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>virtual</strong></span> <span class="bold"><strong>void</strong></span></span> |
---|
100 | <a name="id2386507-bb"></a>do_put_special_value(iter_type & oitr, special_value_enum sv) <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
101 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>virtual</strong></span> <span class="bold"><strong>void</strong></span></span> <a name="id2373072-bb"></a>do_put_weekday_short(iter_type & oitr, weekday_enum wd) <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
102 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>virtual</strong></span> <span class="bold"><strong>void</strong></span></span> <a name="id2429397-bb"></a>do_put_weekday_long(iter_type & oitr, weekday_enum wd) <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
103 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>virtual</strong></span> <span class="bold"><strong>void</strong></span></span> <a name="id2509580-bb"></a>do_month_sep_char(iter_type & oitr) <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
104 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>virtual</strong></span> <span class="bold"><strong>void</strong></span></span> <a name="id2471104-bb"></a>do_day_sep_char(iter_type & oitr) <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
105 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>virtual</strong></span> ymd_order_spec</span> <a name="id2500056-bb"></a>do_date_order() <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
106 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>virtual</strong></span> month_format_spec</span> <a name="id2413154-bb"></a>do_month_format() <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
107 | </ol></div> |
---|
108 | </div> |
---|
109 | </div> |
---|
110 | </div> |
---|
111 | <table width="100%"><tr> |
---|
112 | <td align="left"></td> |
---|
113 | <td align="right"><small>Copyright © 2001-2005 CrystalClear Software, Inc</small></td> |
---|
114 | </tr></table> |
---|
115 | <hr> |
---|
116 | <div class="spirit-nav"> |
---|
117 | <a accesskey="p" href="date_names_put.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="date_time/doxy.html#id2507977"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="dst_calculator.html"><img src="images/next.png" alt="Next"></a> |
---|
118 | </div> |
---|
119 | </body> |
---|
120 | </html> |
---|