Imported Upstream version 1.64.0
[platform/upstream/boost.git] / libs / log / doc / html / boost / log / attributes / current_process_name.html
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>Class current_process_name</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.current_process_name_hpp" title="Header &lt;boost/log/attributes/current_process_name.hpp&gt;">
9 <link rel="prev" href="current_process_id.html" title="Class current_process_id">
10 <link rel="next" href="current_thread_id.html" title="Class current_thread_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="current_process_id.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../attributes.html#header.boost.log.attributes.current_process_name_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="current_thread_id.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
17 </div>
18 <div class="refentry">
19 <a name="boost.log.attributes.current_process_name"></a><div class="titlepage"></div>
20 <div class="refnamediv">
21 <h2><span class="refentrytitle">Class current_process_name</span></h2>
22 <p>boost::log::attributes::current_process_name &#8212; A class of an attribute that holds the current process name. </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.current_process_name_hpp" title="Header &lt;boost/log/attributes/current_process_name.hpp&gt;">boost/log/attributes/current_process_name.hpp</a>&gt;
26
27 </span>
28 <span class="keyword">class</span> <a class="link" href="current_process_name.html" title="Class current_process_name">current_process_name</a> <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">constant</span><span class="special">&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&gt;</span> <span class="special">{</span>
29 <span class="keyword">public</span><span class="special">:</span>
30   <span class="comment">// <a class="link" href="current_process_name.html#boost.log.attributes.current_process_nameconstruct-copy-destruct">construct/copy/destruct</a></span>
31   <a class="link" href="current_process_name.html#idp61971296-bb"><span class="identifier">current_process_name</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
32   <span class="keyword">explicit</span> <a class="link" href="current_process_name.html#idp61972048-bb"><span class="identifier">current_process_name</span></a><span class="special">(</span><a class="link" href="cast_source.html" title="Class cast_source">cast_source</a> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
33 <span class="special">}</span><span class="special">;</span></pre></div>
34 <div class="refsect1">
35 <a name="idp106533568"></a><h2>Description</h2>
36 <div class="refsect2">
37 <a name="idp106533984"></a><h3>
38 <a name="boost.log.attributes.current_process_nameconstruct-copy-destruct"></a><code class="computeroutput">current_process_name</code> 
39         public
40        construct/copy/destruct</h3>
41 <div class="orderedlist"><ol class="orderedlist" type="1">
42 <li class="listitem">
43 <pre class="literallayout"><a name="idp61971296-bb"></a><span class="identifier">current_process_name</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
44 <p>Constructor. Initializes the attribute with the current process name. </p>
45 </li>
46 <li class="listitem">
47 <pre class="literallayout"><span class="keyword">explicit</span> <a name="idp61972048-bb"></a><span class="identifier">current_process_name</span><span class="special">(</span><a class="link" href="cast_source.html" title="Class cast_source">cast_source</a> <span class="keyword">const</span> <span class="special">&amp;</span> source<span class="special">)</span><span class="special">;</span></pre>
48 <p>Constructor for casting support </p>
49 </li>
50 </ol></div>
51 </div>
52 </div>
53 </div>
54 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
55 <td align="left"></td>
56 <td align="right"><div class="copyright-footer">Copyright &#169; 2007-2016 Andrey Semashev<p>
57         Distributed under the Boost Software License, Version 1.0. (See accompanying
58         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>).
59       </p>
60 </div></td>
61 </tr></table>
62 <hr>
63 <div class="spirit-nav">
64 <a accesskey="p" href="current_process_id.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../attributes.html#header.boost.log.attributes.current_process_name_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="current_thread_id.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
65 </div>
66 </body>
67 </html>