Imported Upstream version 1.51.0
[platform/upstream/boost.git] / doc / html / boost / date_time / time_resolution_t_id434364.html
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>Struct time_resolution_traits_adapted32_impl</title>
5 <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
8 <link rel="up" href="../../date_time/doxy.html#header.boost.date_time.time_resolution_traits_hpp" title="Header &lt;boost/date_time/time_resolution_traits.hpp&gt;">
9 <link rel="prev" href="time_resolution_t_id368338.html" title="Struct time_resolution_traits_bi32_impl">
10 <link rel="next" href="time_resolution_t_id438433.html" title="Struct time_resolution_traits_bi64_impl">
11 </head>
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table cellpadding="2" width="100%"><tr>
14 <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
15 <td align="center"><a href="../../../../index.html">Home</a></td>
16 <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
17 <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18 <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19 <td align="center"><a href="../../../../more/index.htm">More</a></td>
20 </tr></table>
21 <hr>
22 <div class="spirit-nav">
23 <a accesskey="p" href="time_resolution_t_id368338.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../date_time/doxy.html#header.boost.date_time.time_resolution_traits_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="time_resolution_t_id438433.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
24 </div>
25 <div class="refentry">
26 <a name="boost.date_time.time_resolution_t_id434364"></a><div class="titlepage"></div>
27 <div class="refnamediv">
28 <h2><span class="refentrytitle">Struct time_resolution_traits_adapted32_impl</span></h2>
29 <p>boost::date_time::time_resolution_traits_adapted32_impl &#8212; traits struct for <a class="link" href="time_resolution_traits.html" title="Class template time_resolution_traits">time_resolution_traits</a> implementation type </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="comment">// In header: &lt;<a class="link" href="../../date_time/doxy.html#header.boost.date_time.time_resolution_traits_hpp" title="Header &lt;boost/date_time/time_resolution_traits.hpp&gt;">boost/date_time/time_resolution_traits.hpp</a>&gt;
33
34 </span>
35 <span class="keyword">struct</span> <a class="link" href="time_resolution_t_id434364.html" title="Struct time_resolution_traits_adapted32_impl">time_resolution_traits_adapted32_impl</a> <span class="special">{</span>
36   <span class="comment">// types</span>
37   <span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">int32_t</span>                                  <a name="boost.date_time.time_resolution_t_id434364.int_type"></a><span class="identifier">int_type</span><span class="special">;</span> 
38   <span class="keyword">typedef</span> <a class="link" href="int_adapter.html" title="Class template int_adapter">boost::date_time::int_adapter</a><span class="special">&lt;</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">int32_t</span> <span class="special">&gt;</span> <a name="boost.date_time.time_resolution_t_id434364.impl_type"></a><span class="identifier">impl_type</span><span class="special">;</span>
39
40   <span class="comment">// <a class="link" href="time_resolution_t_id434364.html#id691451-bb">public static functions</a></span>
41   <span class="keyword">static</span> <span class="identifier">int_type</span> <a class="link" href="time_resolution_t_id434364.html#id691454-bb"><span class="identifier">as_number</span></a><span class="special">(</span><a class="link" href="time_resolution_t_id434364.html#boost.date_time.time_resolution_t_id434364.impl_type">impl_type</a><span class="special">)</span><span class="special">;</span>
42   <span class="keyword">static</span> <span class="keyword">bool</span> <a class="link" href="time_resolution_t_id434364.html#id683796-bb"><span class="identifier">is_adapted</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
43 <span class="special">}</span><span class="special">;</span></pre></div>
44 <div class="refsect1">
45 <a name="id1468695"></a><h2>Description</h2>
46 <div class="refsect2">
47 <a name="id1468699"></a><h3>
48 <a name="id691451-bb"></a><code class="computeroutput">time_resolution_traits_adapted32_impl</code> public static functions</h3>
49 <div class="orderedlist"><ol class="orderedlist" type="1">
50 <li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">int_type</span> <a name="id691454-bb"></a><span class="identifier">as_number</span><span class="special">(</span><a class="link" href="time_resolution_t_id434364.html#boost.date_time.time_resolution_t_id434364.impl_type">impl_type</a> i<span class="special">)</span><span class="special">;</span></pre></li>
51 <li class="listitem">
52 <pre class="literallayout"><span class="keyword">static</span> <span class="keyword">bool</span> <a name="id683796-bb"></a><span class="identifier">is_adapted</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>Used to determine if implemented type is <code class="computeroutput"><a class="link" href="int_adapter.html" title="Class template int_adapter">int_adapter</a></code> or int. </li>
53 </ol></div>
54 </div>
55 </div>
56 </div>
57 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
58 <td align="left"></td>
59 <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
60     <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>
61 </div></td>
62 </tr></table>
63 <hr>
64 <div class="spirit-nav">
65 <a accesskey="p" href="time_resolution_t_id368338.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../date_time/doxy.html#header.boost.date_time.time_resolution_traits_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="time_resolution_t_id438433.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
66 </div>
67 </body>
68 </html>