Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > fa7fad8f194f80107561a85291acd153 > files > 709

lib64boost-devel-doc-1.42.0-3mdv2010.1.x86_64.rpm

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct template counted_time_rep</title>
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../../date_time/doxy.html#header.boost.date_time.time_system_counted_hpp" title="Header &lt;boost/date_time/time_system_counted.hpp&gt;">
<link rel="prev" href="time_resolution_traits.html" title="Class template time_resolution_traits">
<link rel="next" href="counted_time_system.html" title="Class template counted_time_system">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
<td align="center"><a href="../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="time_resolution_traits.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../date_time/doxy.html#header.boost.date_time.time_system_counted_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="counted_time_system.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
</div>
<div class="refentry" title="Struct template counted_time_rep">
<a name="boost.date_time.counted_time_rep"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template counted_time_rep</span></h2>
<p>boost::date_time::counted_time_rep &#8212; Time representation that uses a single integer count. </p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../date_time/doxy.html#header.boost.date_time.time_system_counted_hpp" title="Header &lt;boost/date_time/time_system_counted.hpp&gt;">boost/date_time/time_system_counted.hpp</a>&gt;

</em></span><span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> config&gt; 
<span class="bold"><strong>struct</strong></span> <a class="link" href="counted_time_rep.html" title="Struct template counted_time_rep">counted_time_rep</a> {
  <span class="emphasis"><em>// types</em></span>
  <span class="bold"><strong>typedef</strong></span> config::int_type           <a name="boost.date_time.counted_time_rep.int_type"></a>int_type;          
  <span class="bold"><strong>typedef</strong></span> config::date_type          <a name="boost.date_time.counted_time_rep.date_type"></a>date_type;         
  <span class="bold"><strong>typedef</strong></span> config::impl_type          <a name="boost.date_time.counted_time_rep.impl_type"></a>impl_type;         
  <span class="bold"><strong>typedef</strong></span> date_type::duration_type   <a name="boost.date_time.counted_time_rep.date_duration_type"></a>date_duration_type;
  <span class="bold"><strong>typedef</strong></span> date_type::calendar_type   <a name="boost.date_time.counted_time_rep.calendar_type"></a>calendar_type;     
  <span class="bold"><strong>typedef</strong></span> date_type::ymd_type        <a name="boost.date_time.counted_time_rep.ymd_type"></a>ymd_type;          
  <span class="bold"><strong>typedef</strong></span> config::time_duration_type <a name="boost.date_time.counted_time_rep.time_duration_type"></a>time_duration_type;
  <span class="bold"><strong>typedef</strong></span> config::resolution_traits  <a name="boost.date_time.counted_time_rep.resolution_traits"></a>resolution_traits; 

  <span class="emphasis"><em>// <a class="link" href="counted_time_rep.html#boost.date_time.counted_time_repconstruct-copy-destruct">construct/copy/destruct</a></em></span>
  <a class="link" href="counted_time_rep.html#id353980-bb">counted_time_rep</a>(<span class="bold"><strong>const</strong></span> date_type &amp;, <span class="bold"><strong>const</strong></span> time_duration_type &amp;);
  <a class="link" href="counted_time_rep.html#id353993-bb">counted_time_rep</a>(int_type);
  <a class="link" href="counted_time_rep.html#id353999-bb">counted_time_rep</a>(impl_type);

  <span class="emphasis"><em>// <a class="link" href="counted_time_rep.html#id342613-bb">public member functions</a></em></span>
  <span class="type">date_type</span> <a class="link" href="counted_time_rep.html#id342616-bb">date</a>() <span class="bold"><strong>const</strong></span>;
  <span class="type"><span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>long</strong></span></span> <a class="link" href="counted_time_rep.html#id342624-bb">day_count</a>() <span class="bold"><strong>const</strong></span>;
  <span class="type">int_type</span> <a class="link" href="counted_time_rep.html#id392465-bb">time_count</a>() <span class="bold"><strong>const</strong></span>;
  <span class="type">int_type</span> <a class="link" href="counted_time_rep.html#id392472-bb">tod</a>() <span class="bold"><strong>const</strong></span>;
  <span class="type"><span class="bold"><strong>bool</strong></span></span> <a class="link" href="counted_time_rep.html#id326427-bb">is_pos_infinity</a>() <span class="bold"><strong>const</strong></span>;
  <span class="type"><span class="bold"><strong>bool</strong></span></span> <a class="link" href="counted_time_rep.html#id326435-bb">is_neg_infinity</a>() <span class="bold"><strong>const</strong></span>;
  <span class="type"><span class="bold"><strong>bool</strong></span></span> <a class="link" href="counted_time_rep.html#id332531-bb">is_not_a_date_time</a>() <span class="bold"><strong>const</strong></span>;
  <span class="type"><span class="bold"><strong>bool</strong></span></span> <a class="link" href="counted_time_rep.html#id332539-bb">is_special</a>() <span class="bold"><strong>const</strong></span>;
  <span class="type">impl_type</span> <a class="link" href="counted_time_rep.html#id353972-bb">get_rep</a>() <span class="bold"><strong>const</strong></span>;

  <span class="emphasis"><em>// <a class="link" href="counted_time_rep.html#id354006-bb">public static functions</a></em></span>
  <span class="type"><span class="bold"><strong>static</strong></span> int_type</span> <a class="link" href="counted_time_rep.html#id354009-bb">frac_sec_per_day</a>() ;
};</pre></div>
<div class="refsect1" title="Description">
<a name="id828841"></a><h2>Description</h2>
<div class="refsect2" title="counted_time_rep public construct/copy/destruct">
<a name="id828845"></a><h3>
<a name="boost.date_time.counted_time_repconstruct-copy-destruct"></a><code class="computeroutput">counted_time_rep</code> 
        public
       construct/copy/destruct</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><a name="id353980-bb"></a>counted_time_rep(<span class="bold"><strong>const</strong></span> date_type &amp; d, <span class="bold"><strong>const</strong></span> time_duration_type &amp; time_of_day);</pre></li>
<li class="listitem"><pre class="literallayout"><a name="id353993-bb"></a>counted_time_rep(int_type count);</pre></li>
<li class="listitem"><pre class="literallayout"><a name="id353999-bb"></a>counted_time_rep(impl_type count);</pre></li>
</ol></div>
</div>
<div class="refsect2" title="counted_time_rep public member functions">
<a name="id828919"></a><h3>
<a name="id342613-bb"></a><code class="computeroutput">counted_time_rep</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><span class="type">date_type</span> <a name="id342616-bb"></a>date() <span class="bold"><strong>const</strong></span>;</pre></li>
<li class="listitem"><pre class="literallayout"><span class="type"><span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>long</strong></span></span> <a name="id342624-bb"></a>day_count() <span class="bold"><strong>const</strong></span>;</pre></li>
<li class="listitem"><pre class="literallayout"><span class="type">int_type</span> <a name="id392465-bb"></a>time_count() <span class="bold"><strong>const</strong></span>;</pre></li>
<li class="listitem"><pre class="literallayout"><span class="type">int_type</span> <a name="id392472-bb"></a>tod() <span class="bold"><strong>const</strong></span>;</pre></li>
<li class="listitem"><pre class="literallayout"><span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="id326427-bb"></a>is_pos_infinity() <span class="bold"><strong>const</strong></span>;</pre></li>
<li class="listitem"><pre class="literallayout"><span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="id326435-bb"></a>is_neg_infinity() <span class="bold"><strong>const</strong></span>;</pre></li>
<li class="listitem"><pre class="literallayout"><span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="id332531-bb"></a>is_not_a_date_time() <span class="bold"><strong>const</strong></span>;</pre></li>
<li class="listitem"><pre class="literallayout"><span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="id332539-bb"></a>is_special() <span class="bold"><strong>const</strong></span>;</pre></li>
<li class="listitem"><pre class="literallayout"><span class="type">impl_type</span> <a name="id353972-bb"></a>get_rep() <span class="bold"><strong>const</strong></span>;</pre></li>
</ol></div>
</div>
<div class="refsect2" title="counted_time_rep public static functions">
<a name="id829159"></a><h3>
<a name="id354006-bb"></a><code class="computeroutput">counted_time_rep</code> public static functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><span class="type"><span class="bold"><strong>static</strong></span> int_type</span> <a name="id354009-bb"></a>frac_sec_per_day() ;</pre></li></ol></div>
</div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2005 CrystalClear Software, Inc<p>Subject to the Boost Software License, Version 1.0. (See accompanying file
    <code class="filename">LICENSE_1_0.txt</code> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="time_resolution_traits.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../date_time/doxy.html#header.boost.date_time.time_system_counted_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="counted_time_system.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
</div>
</body>
</html>