1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>Class impl</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 1. Boost.Log v2"> 8<link rel="up" href="../counter.html#idm44984883498880" title="Description"> 9<link rel="prev" href="../counter.html" title="Class template counter"> 10<link rel="next" href="../current_process_id.html" title="Class current_process_id"> 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="../counter.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../counter.html#idm44984883498880"><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="../current_process_id.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a> 17</div> 18<div class="refentry"> 19<a name="boost.log.attributes.counter.impl"></a><div class="titlepage"></div> 20<div class="refnamediv"> 21<h2><span class="refentrytitle">Class impl</span></h2> 22<p>boost::log::attributes::counter::impl — Factory implementation. </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: <<a class="link" href="../../../../attributes.html#header.boost.log.attributes.counter_hpp" title="Header <boost/log/attributes/counter.hpp>">boost/log/attributes/counter.hpp</a>> 26 27</span> 28 29<span class="comment">// Factory implementation.</span> 30 31<span class="keyword">class</span> <a class="link" href="impl.html" title="Class impl">impl</a> <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">attribute</span><span class="special">::</span><span class="identifier">impl</span> <span class="special">{</span> 32<span class="keyword">public</span><span class="special">:</span> 33 <span class="comment">// <a class="link" href="impl.html#boost.log.attributes.counter.implconstruct-copy-destruct">construct/copy/destruct</a></span> 34 <a class="link" href="impl.html#idm46079579437552-bb"><span class="identifier">impl</span></a><span class="special">(</span><span class="identifier">value_type</span><span class="special">,</span> <span class="identifier">value_type</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> 35 36 <span class="comment">// <a class="link" href="impl.html#idm46079579440608-bb">public member functions</a></span> 37 <span class="keyword">virtual</span> <a class="link" href="../../attribute_value.html" title="Class attribute_value">attribute_value</a> <a class="link" href="impl.html#idm46079579440048-bb"><span class="identifier">get_value</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span> 38<span class="special">}</span><span class="special">;</span></pre></div> 39<div class="refsect1"> 40<a name="idm44984883434256"></a><h2>Description</h2> 41<div class="refsect2"> 42<a name="idm44984883433840"></a><h3> 43<a name="boost.log.attributes.counter.implconstruct-copy-destruct"></a><code class="computeroutput">impl</code> 44 public 45 construct/copy/destruct</h3> 46<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><a name="idm46079579437552-bb"></a><span class="identifier">impl</span><span class="special">(</span><span class="identifier">value_type</span> initial<span class="special">,</span> <span class="identifier">value_type</span> step<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li></ol></div> 47</div> 48<div class="refsect2"> 49<a name="idm44984883425088"></a><h3> 50<a name="idm46079579440608-bb"></a><code class="computeroutput">impl</code> public member functions</h3> 51<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"> 52<pre class="literallayout"><span class="keyword">virtual</span> <a class="link" href="../../attribute_value.html" title="Class attribute_value">attribute_value</a> <a name="idm46079579440048-bb"></a><span class="identifier">get_value</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre> 53<p> 54</p> 55<div class="variablelist"><table border="0" class="variablelist compact"> 56<colgroup> 57<col align="left" valign="top"> 58<col> 59</colgroup> 60<tbody><tr> 61<td><p><span class="term">Returns:</span></p></td> 62<td><p>The actual attribute value. It shall not return empty values (exceptions shall be used to indicate errors). </p></td> 63</tr></tbody> 64</table></div> 65</li></ol></div> 66</div> 67</div> 68</div> 69<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 70<td align="left"></td> 71<td align="right"><div class="copyright-footer">Copyright © 2007-2019 Andrey Semashev<p> 72 Distributed under the Boost Software License, Version 1.0. (See accompanying 73 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>). 74 </p> 75</div></td> 76</tr></table> 77<hr> 78<div class="spirit-nav"> 79<a accesskey="p" href="../counter.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../counter.html#idm44984883498880"><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="../current_process_id.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a> 80</div> 81</body> 82</html> 83