Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / log / doc / html / boost / log / attributes / basic_time_traits.html
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>Struct basic_time_traits</title>
5 <link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7 <link rel="home" href="../../../index.html" title="Chapter&#160;1.&#160;Boost.Log v2">
8 <link rel="up" href="../../../attributes.html#header.boost.log.attributes.time_traits_hpp" title="Header &lt;boost/log/attributes/time_traits.hpp&gt;">
9 <link rel="prev" href="../../../BOOST_LO_idm45711348479264.html" title="Macro BOOST_LOG_SCOPED_THREAD_TAG">
10 <link rel="next" href="local_time_traits.html" title="Struct local_time_traits">
11 </head>
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table cellpadding="2" width="100%"><tr><td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td></tr></table>
14 <hr>
15 <div class="spirit-nav">
16 <a accesskey="p" href="../../../BOOST_LO_idm45711348479264.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../attributes.html#header.boost.log.attributes.time_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="local_time_traits.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
17 </div>
18 <div class="refentry">
19 <a name="boost.log.attributes.basic_time_traits"></a><div class="titlepage"></div>
20 <div class="refnamediv">
21 <h2><span class="refentrytitle">Struct basic_time_traits</span></h2>
22 <p>boost::log::attributes::basic_time_traits &#8212; Base class for time traits involving Boost.DateTime. </p>
23 </div>
24 <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
25 <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="../../../attributes.html#header.boost.log.attributes.time_traits_hpp" title="Header &lt;boost/log/attributes/time_traits.hpp&gt;">boost/log/attributes/time_traits.hpp</a>&gt;
26
27 </span>
28 <span class="keyword">struct</span> <a class="link" href="basic_time_traits.html" title="Struct basic_time_traits">basic_time_traits</a> <span class="special">{</span>
29   <span class="comment">// types</span>
30   <span class="keyword">typedef</span> <span class="identifier">posix_time</span><span class="special">::</span><span class="identifier">ptime</span>        <a name="boost.log.attributes.basic_time_traits.time_type"></a><span class="identifier">time_type</span><span class="special">;</span>     <span class="comment">// Time type. </span>
31   <span class="keyword">typedef</span> <span class="identifier">posix_time</span><span class="special">::</span><span class="identifier">second_clock</span> <a name="boost.log.attributes.basic_time_traits.clock_source"></a><span class="identifier">clock_source</span><span class="special">;</span>  <span class="comment">// Current time source. </span>
32 <span class="special">}</span><span class="special">;</span></pre></div>
33 </div>
34 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
35 <td align="left"></td>
36 <td align="right"><div class="copyright-footer">Copyright &#169; 2007-2016 Andrey Semashev<p>
37         Distributed under the Boost Software License, Version 1.0. (See accompanying
38         file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>).
39       </p>
40 </div></td>
41 </tr></table>
42 <hr>
43 <div class="spirit-nav">
44 <a accesskey="p" href="../../../BOOST_LO_idm45711348479264.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../attributes.html#header.boost.log.attributes.time_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="local_time_traits.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
45 </div>
46 </body>
47 </html>