summaryrefslogtreecommitdiff
path: root/doc/html/time_resolution_traits.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/time_resolution_traits.html')
-rw-r--r--doc/html/time_resolution_traits.html90
1 files changed, 90 insertions, 0 deletions
diff --git a/doc/html/time_resolution_traits.html b/doc/html/time_resolution_traits.html
new file mode 100644
index 0000000000..629fe0887c
--- /dev/null
+++ b/doc/html/time_resolution_traits.html
@@ -0,0 +1,90 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Class template time_resolution_traits</title>
+<link rel="stylesheet" href="boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
+<link rel="start" href="index.html" title="The Boost C++ Libraries">
+<link rel="up" href="date_time/doxy.html#id1004309" title="Header &lt;boost/date_time/time_resolution_traits.hpp&gt;">
+<link rel="prev" href="id1004573.html" title="Struct time_resolution_traits_adapted64_impl">
+<link rel="next" href="counted_time_rep.html" title="Struct template counted_time_rep">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%">
+<td valign="top"><img alt="boost.png (6897 bytes)" width="277" height="86" src="../../boost.png"></td>
+<td align="center"><a href="../../index.htm">Home</a></td>
+<td align="center"><a href="../../libs/libraries.htm">Libraries</a></td>
+<td align="center"><a href="../../people/people.htm">People</a></td>
+<td align="center"><a href="../../more/faq.htm">FAQ</a></td>
+<td align="center"><a href="../../more/index.htm">More</a></td>
+</table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="id1004573.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="date_time/doxy.html#id1004309"><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="counted_time_rep.html"><img src="images/next.png" alt="Next"></a>
+</div>
+<div class="refentry" lang="en">
+<a name="time_resolution_traits"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">Class template time_resolution_traits</span></h2>
+<p>boost::date_time::time_resolution_traits &#8212; </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="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> frac_sec_type, time_resolutions res,
+         #<span class="bold"><strong>if</strong></span>(defined(BOOST_MSVC)&amp;&amp;(_MSC_VER&lt;=1200)) boost::int64_t resolution_adjust,
+         #<span class="bold"><strong>else</strong></span> <span class="bold"><strong>typename</strong></span> frac_sec_type::int_type resolution_adjust,
+         #endif <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>short</strong></span> frac_digits, <span class="bold"><strong>typename</strong></span> v_type = boost::int32_t&gt;
+<span class="bold"><strong>class</strong></span> time_resolution_traits {
+<span class="bold"><strong>public</strong></span>:
+  <span class="emphasis"><em>// types</em></span>
+  <span class="bold"><strong>typedef</strong></span> frac_sec_type::int_type  fractional_seconds_type;
+  <span class="bold"><strong>typedef</strong></span> frac_sec_type::int_type  tick_type;              
+  <span class="bold"><strong>typedef</strong></span> frac_sec_type::impl_type impl_type;              
+  <span class="bold"><strong>typedef</strong></span> v_type                   day_type;               
+  <span class="bold"><strong>typedef</strong></span> v_type                   hour_type;              
+  <span class="bold"><strong>typedef</strong></span> v_type                   min_type;               
+  <span class="bold"><strong>typedef</strong></span> v_type                   sec_type;               
+
+  <span class="emphasis"><em>// <a href="time_resolution_traits.html#id798168-bb">public member functions</a></em></span>
+  <span class="type"></span> <a href="time_resolution_traits.html#id798173-bb">BOOST_STATIC_CONSTANT</a>(<span class="bold"><strong>int</strong></span>, ticks_per_second = resolution_adjust) ;
+
+  <span class="emphasis"><em>// <a href="time_resolution_traits.html#id798212-bb">public static functions</a></em></span>
+  <span class="type">frac_sec_type::int_type</span> <a href="time_resolution_traits.html#id798218-bb">as_number</a>(<span class="bold"><strong>typename</strong></span> frac_sec_type::impl_type) ;
+  <span class="type"><span class="bold"><strong>bool</strong></span></span> <a href="time_resolution_traits.html#id859249-bb">is_adapted</a>() ;
+  <span class="type">time_resolutions</span> <a href="time_resolution_traits.html#id722069-bb">resolution</a>() ;
+  <span class="type"><span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>short</strong></span></span> <a href="time_resolution_traits.html#id722082-bb">num_fractional_digits</a>() ;
+  <span class="type">fractional_seconds_type</span> <a href="time_resolution_traits.html#id698553-bb">res_adjust</a>() ;
+  <span class="type">tick_type</span> <a href="time_resolution_traits.html#id698566-bb">to_tick_count</a>(hour_type, min_type, sec_type,
+                          fractional_seconds_type) ;
+};</pre></div>
+<div class="refsect1" lang="en">
+<a name="id1142713"></a><h2>Description</h2>
+<div class="refsect2" lang="en">
+<a name="id1142716"></a><h3>
+<a name="id798168-bb"></a><code class="computeroutput">time_resolution_traits</code> public member functions</h3>
+<div class="orderedlist"><ol type="1"><li><pre class="literallayout"><span class="type"></span> <a name="id798173-bb"></a>BOOST_STATIC_CONSTANT(<span class="bold"><strong>int</strong></span> , ticks_per_second = resolution_adjust) ;</pre></li></ol></div>
+</div>
+<div class="refsect2" lang="en">
+<a name="id1142755"></a><h3>
+<a name="id798212-bb"></a><code class="computeroutput">time_resolution_traits</code> public static functions</h3>
+<div class="orderedlist"><ol type="1">
+<li><pre class="literallayout"><span class="type">frac_sec_type::int_type</span> <a name="id798218-bb"></a>as_number(<span class="bold"><strong>typename</strong></span> frac_sec_type::impl_type i) ;</pre></li>
+<li><pre class="literallayout"><span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="id859249-bb"></a>is_adapted() ;</pre></li>
+<li><pre class="literallayout"><span class="type">time_resolutions</span> <a name="id722069-bb"></a>resolution() ;</pre></li>
+<li><pre class="literallayout"><span class="type"><span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>short</strong></span></span> <a name="id722082-bb"></a>num_fractional_digits() ;</pre></li>
+<li><pre class="literallayout"><span class="type">fractional_seconds_type</span> <a name="id698553-bb"></a>res_adjust() ;</pre></li>
+<li><pre class="literallayout"><span class="type">tick_type</span> <a name="id698566-bb"></a>to_tick_count(hour_type hours, min_type minutes, sec_type seconds,
+                        fractional_seconds_type fs) ;</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"><small>Copyright © 2001-2005 CrystalClear Software, Inc</small></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="id1004573.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="date_time/doxy.html#id1004309"><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="counted_time_rep.html"><img src="images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>