1 | <html> |
---|
2 | <head> |
---|
3 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
---|
4 | <title>Class template date_itr</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#id2433284" title="Header <boost/date_time/date_iterator.hpp>"> |
---|
9 | <link rel="prev" href="date_itr_base.html" title="Class template date_itr_base"> |
---|
10 | <link rel="next" href="date_names_put.html" title="Class template date_names_put"> |
---|
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_itr_base.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="date_time/doxy.html#id2433284"><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="date_names_put.html"><img src="images/next.png" alt="Next"></a> |
---|
24 | </div> |
---|
25 | <div class="refentry" lang="en"> |
---|
26 | <a name="date_itr"></a><div class="titlepage"></div> |
---|
27 | <div class="refnamediv"> |
---|
28 | <h2><span class="refentrytitle">Class template date_itr</span></h2> |
---|
29 | <p>boost::date_time::date_itr — Overrides the base date iterator providing hook for functors. </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> offset_functor, <span class="bold"><strong>typename</strong></span> date_type> |
---|
33 | <span class="bold"><strong>class</strong></span> date_itr : <span class="bold"><strong>public</strong></span> boost::date_time::date_itr_base< date_type > { |
---|
34 | <span class="bold"><strong>public</strong></span>: |
---|
35 | <span class="emphasis"><em>// types</em></span> |
---|
36 | <span class="bold"><strong>typedef</strong></span> date_type::duration_type duration_type; |
---|
37 | |
---|
38 | <span class="emphasis"><em>// <a href="date_itr.html#date_itrconstruct-copy-destruct">construct/copy/destruct</a></em></span> |
---|
39 | <a href="date_itr.html#id2462402-bb">date_itr</a>(date_type, <span class="bold"><strong>int</strong></span> = 1); |
---|
40 | |
---|
41 | <span class="emphasis"><em>// <a href="date_itr.html#id2462397-bb">public member functions</a></em></span> |
---|
42 | |
---|
43 | <span class="emphasis"><em>// <a href="date_itr.html#id2510168-bb">private member functions</a></em></span> |
---|
44 | <span class="type"><span class="bold"><strong>virtual</strong></span> duration_type</span> <a href="date_itr.html#id2510172-bb">get_offset</a>(<span class="bold"><strong>const</strong></span> date_type &) <span class="bold"><strong>const</strong></span>; |
---|
45 | <span class="type"><span class="bold"><strong>virtual</strong></span> duration_type</span> <a href="date_itr.html#id2459403-bb">get_neg_offset</a>(<span class="bold"><strong>const</strong></span> date_type &) <span class="bold"><strong>const</strong></span>; |
---|
46 | };</pre></div> |
---|
47 | <div class="refsect1" lang="en"> |
---|
48 | <a name="id2628149"></a><h2>Description</h2> |
---|
49 | <div class="refsect2" lang="en"> |
---|
50 | <a name="id2628152"></a><h3> |
---|
51 | <a name="date_itrconstruct-copy-destruct"></a><code class="computeroutput">date_itr</code> construct/copy/destruct</h3> |
---|
52 | <div class="orderedlist"><ol type="1"><li><pre class="literallayout"><a name="id2462402-bb"></a>date_itr(date_type d, <span class="bold"><strong>int</strong></span> factor = 1);</pre></li></ol></div> |
---|
53 | </div> |
---|
54 | <div class="refsect2" lang="en"> |
---|
55 | <a name="id2628191"></a><h3> |
---|
56 | <a name="id2462397-bb"></a><code class="computeroutput">date_itr</code> public member functions</h3> |
---|
57 | <div class="orderedlist"><ol type="1"></ol></div> |
---|
58 | </div> |
---|
59 | <div class="refsect2" lang="en"> |
---|
60 | <a name="id2628211"></a><h3> |
---|
61 | <a name="id2510168-bb"></a><code class="computeroutput">date_itr</code> private member functions</h3> |
---|
62 | <div class="orderedlist"><ol type="1"> |
---|
63 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>virtual</strong></span> duration_type</span> <a name="id2510172-bb"></a>get_offset(<span class="bold"><strong>const</strong></span> date_type & current) <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
64 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>virtual</strong></span> duration_type</span> <a name="id2459403-bb"></a>get_neg_offset(<span class="bold"><strong>const</strong></span> date_type & current) <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
65 | </ol></div> |
---|
66 | </div> |
---|
67 | </div> |
---|
68 | </div> |
---|
69 | <table width="100%"><tr> |
---|
70 | <td align="left"></td> |
---|
71 | <td align="right"><small>Copyright © 2001-2005 CrystalClear Software, Inc</small></td> |
---|
72 | </tr></table> |
---|
73 | <hr> |
---|
74 | <div class="spirit-nav"> |
---|
75 | <a accesskey="p" href="date_itr_base.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="date_time/doxy.html#id2433284"><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="date_names_put.html"><img src="images/next.png" alt="Next"></a> |
---|
76 | </div> |
---|
77 | </body> |
---|
78 | </html> |
---|