| <!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"/> |
| <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| <title>Boost.Locale: boost::locale::date_time_period_set Class Reference</title> |
| |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| <link href="doxygen.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="resize.js"></script> |
| <script type="text/javascript" src="navtree.js"></script> |
| <script type="text/javascript"> |
| $(document).ready(initResizable); |
| </script> |
| |
| |
| </head> |
| <body> |
| <div id="top"><!-- do not remove this div! --> |
| |
| |
| <div id="titlearea"> |
| <table cellspacing="0" cellpadding="0"> |
| <tbody> |
| <tr style="height: 56px;"> |
| |
| <td id="projectlogo"><img alt="Logo" src="boost-small.png"/></td> |
| |
| |
| <td style="padding-left: 0.5em;"> |
| <div id="projectname">Boost.Locale |
| |
| </div> |
| |
| </td> |
| |
| |
| |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| |
| <!-- Generated by Doxygen 1.7.6.1 --> |
| <div id="navrow1" class="tabs"> |
| <ul class="tablist"> |
| <li><a href="index.html"><span>Main Page</span></a></li> |
| <li><a href="modules.html"><span>Modules</span></a></li> |
| <li><a href="namespaces.html"><span>Namespaces</span></a></li> |
| <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
| <li><a href="files.html"><span>Files</span></a></li> |
| <li><a href="examples.html"><span>Examples</span></a></li> |
| </ul> |
| </div> |
| <div id="navrow2" class="tabs2"> |
| <ul class="tablist"> |
| <li><a href="annotated.html"><span>Class List</span></a></li> |
| <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
| <li><a href="functions.html"><span>Class Members</span></a></li> |
| </ul> |
| </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('classboost_1_1locale_1_1date__time__period__set.html',''); |
| </script> |
| <div id="doc-content"> |
| <div class="header"> |
| <div class="summary"> |
| <a href="#pub-methods">Public Member Functions</a> </div> |
| <div class="headertitle"> |
| <div class="title">boost::locale::date_time_period_set Class Reference<div class="ingroups"><a class="el" href="group__date__time.html">Date, Time, Timezone and Calendar manipulations</a></div></div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| <!-- doxytag: class="boost::locale::date_time_period_set" --> |
| <p>this class that represents a set of periods, |
| <a href="classboost_1_1locale_1_1date__time__period__set.html#details">More...</a></p> |
| |
| <p><code>#include <<a class="el" href="date__time_8hpp_source.html">boost/locale/date_time.hpp</a>></code></p> |
| |
| <p><a href="classboost_1_1locale_1_1date__time__period__set-members.html">List of all members.</a></p> |
| <table class="memberdecls"> |
| <tr><td colspan="2"><h2><a name="pub-methods"></a> |
| Public Member Functions</h2></td></tr> |
| <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html#a635b8d91c4c8da99857810e42a0aff65">date_time_period_set</a> ()</td></tr> |
| <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html#a0966962f5da78fc06121d1455efcbbae">date_time_period_set</a> (<a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a> f)</td></tr> |
| <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html#a144842e64250343d87aaff270a9b53a0">date_time_period_set</a> (<a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const &fl)</td></tr> |
| <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html#a0e70247c1738dbf6869e6d8c04461893">add</a> (<a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> f)</td></tr> |
| <tr><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html#a0b726bd57ce8b631de89bbf404b8df2a">size</a> () const </td></tr> |
| <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const & </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html#a177a4c3cb2de3b5c9b5fe5738660eba4">operator[]</a> (size_t n) const </td></tr> |
| </table> |
| <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> |
| <div class="textblock"><p>this class that represents a set of periods, </p> |
| <p>It is generally created by operations on periods: 1995*year + 3*month + 1*day. Note: operations are not commutative. </p> |
| </div><hr/><h2>Constructor & Destructor Documentation</h2> |
| <a class="anchor" id="a635b8d91c4c8da99857810e42a0aff65"></a><!-- doxytag: member="boost::locale::date_time_period_set::date_time_period_set" ref="a635b8d91c4c8da99857810e42a0aff65" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html#a635b8d91c4c8da99857810e42a0aff65">boost::locale::date_time_period_set::date_time_period_set</a> </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td><code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| <p>Default constructor - empty set </p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a0966962f5da78fc06121d1455efcbbae"></a><!-- doxytag: member="boost::locale::date_time_period_set::date_time_period_set" ref="a0966962f5da78fc06121d1455efcbbae" args="(period::period_type f)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html#a635b8d91c4c8da99857810e42a0aff65">boost::locale::date_time_period_set::date_time_period_set</a> </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a> </td> |
| <td class="paramname"><em>f</em></td><td>)</td> |
| <td><code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| <p>Create a set of single period with value 1 </p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a144842e64250343d87aaff270a9b53a0"></a><!-- doxytag: member="boost::locale::date_time_period_set::date_time_period_set" ref="a144842e64250343d87aaff270a9b53a0" args="(date_time_period const &fl)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html#a635b8d91c4c8da99857810e42a0aff65">boost::locale::date_time_period_set::date_time_period_set</a> </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const & </td> |
| <td class="paramname"><em>fl</em></td><td>)</td> |
| <td><code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| <p>Create a set of single period <em>fl</em> </p> |
| |
| </div> |
| </div> |
| <hr/><h2>Member Function Documentation</h2> |
| <a class="anchor" id="a0e70247c1738dbf6869e6d8c04461893"></a><!-- doxytag: member="boost::locale::date_time_period_set::add" ref="a0e70247c1738dbf6869e6d8c04461893" args="(date_time_period f)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void <a class="el" href="classboost_1_1locale_1_1date__time__period__set.html#a0e70247c1738dbf6869e6d8c04461893">boost::locale::date_time_period_set::add</a> </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> </td> |
| <td class="paramname"><em>f</em></td><td>)</td> |
| <td><code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| <p>Append <a class="el" href="structboost_1_1locale_1_1date__time__period.html" title="This class represents a pair of period_type and the integer values that describes its amount...">date_time_period</a> <em>f</em> to the set </p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a177a4c3cb2de3b5c9b5fe5738660eba4"></a><!-- doxytag: member="boost::locale::date_time_period_set::operator[]" ref="a177a4c3cb2de3b5c9b5fe5738660eba4" args="(size_t n) const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const& boost::locale::date_time_period_set::operator[] </td> |
| <td>(</td> |
| <td class="paramtype">size_t </td> |
| <td class="paramname"><em>n</em></td><td>)</td> |
| <td> const<code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| <p>Get item at position <em>n</em> the set, n should be in range [0,size) </p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a0b726bd57ce8b631de89bbf404b8df2a"></a><!-- doxytag: member="boost::locale::date_time_period_set::size" ref="a0b726bd57ce8b631de89bbf404b8df2a" args="() const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">size_t <a class="el" href="classboost_1_1locale_1_1date__time__period__set.html#a0b726bd57ce8b631de89bbf404b8df2a">boost::locale::date_time_period_set::size</a> </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const<code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| <p>Get number if items in list </p> |
| |
| </div> |
| </div> |
| <hr/>The documentation for this class was generated from the following file:<ul> |
| <li>boost/locale/<a class="el" href="date__time_8hpp_source.html">date_time.hpp</a></li> |
| </ul> |
| </div><!-- contents --> |
| </div> |
| <div id="nav-path" class="navpath"> |
| <ul> |
| <li class="navelem"><b>boost</b> </li> |
| <li class="navelem"><a class="el" href="namespaceboost_1_1locale.html">locale</a> </li> |
| <li class="navelem"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> </li> |
| |
| <li class="footer"> |
| © Copyright 2009-2012 Artyom Beilis, Distributed under the <a href="http://www.boost.org/LICENSE_1_0.txt">Boost Software License</a>, Version 1.0. |
| </li> |
| </ul> |
| </div> |
| |
| |
| </body> |
| </html> |