<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.15"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>libzypp: zypp::base::LogControl::TmpLineWriter Struct Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">libzypp  <span id="projectnumber">17.9.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.15 --> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('structzypp_1_1base_1_1LogControl_1_1TmpLineWriter.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pri-attribs">Private Attributes</a> | <a href="structzypp_1_1base_1_1LogControl_1_1TmpLineWriter-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">zypp::base::LogControl::TmpLineWriter Struct Reference</div> </div> </div><!--header--> <div class="contents"> <p>Exchange LineWriter for the lifetime of this object. <a href="structzypp_1_1base_1_1LogControl_1_1TmpLineWriter.html#details">More...</a></p> <p><code>#include <<a class="el" href="LogControl_8h_source.html">LogControl.h</a>></code></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a069d25633c80c45dae83a6ea59a6fe1b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1base_1_1LogControl_1_1TmpLineWriter.html#a069d25633c80c45dae83a6ea59a6fe1b">TmpLineWriter</a> (const <a class="el" href="classshared__ptr.html">shared_ptr</a>< <a class="el" href="classzypp_1_1base_1_1LogControl.html#abd272c9e9cc48a5dbab97cbb1b3337ba">LineWriter</a> > &writer_r=<a class="el" href="classshared__ptr.html">shared_ptr</a>< <a class="el" href="classzypp_1_1base_1_1LogControl.html#abd272c9e9cc48a5dbab97cbb1b3337ba">LineWriter</a> >())</td></tr> <tr class="separator:a069d25633c80c45dae83a6ea59a6fe1b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aca078d44673cc9831eec9ed1a8f974b7"><td class="memTemplParams" colspan="2">template<class TLineWriter > </td></tr> <tr class="memitem:aca078d44673cc9831eec9ed1a8f974b7"><td class="memTemplItemLeft" align="right" valign="top"> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structzypp_1_1base_1_1LogControl_1_1TmpLineWriter.html#aca078d44673cc9831eec9ed1a8f974b7">TmpLineWriter</a> (TLineWriter *_allocated_r)</td></tr> <tr class="memdesc:aca078d44673cc9831eec9ed1a8f974b7"><td class="mdescLeft"> </td><td class="mdescRight">Convenience ctor taking over ownership of an allocated LineWriter. <a href="#aca078d44673cc9831eec9ed1a8f974b7">More...</a><br /></td></tr> <tr class="separator:aca078d44673cc9831eec9ed1a8f974b7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac9818776f813920275fa1bf8fb4498c1"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1base_1_1LogControl_1_1TmpLineWriter.html#ac9818776f813920275fa1bf8fb4498c1">~TmpLineWriter</a> ()</td></tr> <tr class="separator:ac9818776f813920275fa1bf8fb4498c1"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a> Private Attributes</h2></td></tr> <tr class="memitem:a5f15dd6e8d55d96d49c0df58f85b0dea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshared__ptr.html">shared_ptr</a>< <a class="el" href="classzypp_1_1base_1_1LogControl.html#abd272c9e9cc48a5dbab97cbb1b3337ba">LineWriter</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1base_1_1LogControl_1_1TmpLineWriter.html#a5f15dd6e8d55d96d49c0df58f85b0dea">_writer</a></td></tr> <tr class="separator:a5f15dd6e8d55d96d49c0df58f85b0dea"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Exchange LineWriter for the lifetime of this object. </p> <dl class="section see"><dt>See also</dt><dd><a class="el" href="structzypp_1_1log_1_1LineWriter.html">log::LineWriter</a> </dd></dl> <p class="definition">Definition at line <a class="el" href="LogControl_8h_source.html#l00169">169</a> of file <a class="el" href="LogControl_8h_source.html">LogControl.h</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a id="a069d25633c80c45dae83a6ea59a6fe1b"></a> <h2 class="memtitle"><span class="permalink"><a href="#a069d25633c80c45dae83a6ea59a6fe1b">◆ </a></span>TmpLineWriter() <span class="overload">[1/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">zypp::base::LogControl::TmpLineWriter::TmpLineWriter </td> <td>(</td> <td class="paramtype">const <a class="el" href="classshared__ptr.html">shared_ptr</a>< <a class="el" href="classzypp_1_1base_1_1LogControl.html#abd272c9e9cc48a5dbab97cbb1b3337ba">LineWriter</a> > & </td> <td class="paramname"><em>writer_r</em> = <code><a class="el" href="classshared__ptr.html">shared_ptr</a><<a class="el" href="classzypp_1_1base_1_1LogControl.html#abd272c9e9cc48a5dbab97cbb1b3337ba">LineWriter</a>>()</code></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="LogControl_8h_source.html#l00171">171</a> of file <a class="el" href="LogControl_8h_source.html">LogControl.h</a>.</p> </div> </div> <a id="aca078d44673cc9831eec9ed1a8f974b7"></a> <h2 class="memtitle"><span class="permalink"><a href="#aca078d44673cc9831eec9ed1a8f974b7">◆ </a></span>TmpLineWriter() <span class="overload">[2/2]</span></h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TLineWriter > </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">zypp::base::LogControl::TmpLineWriter::TmpLineWriter </td> <td>(</td> <td class="paramtype">TLineWriter * </td> <td class="paramname"><em>_allocated_r</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Convenience ctor taking over ownership of an allocated LineWriter. </p> <div class="fragment"><div class="line"><a class="code" href="structzypp_1_1base_1_1LogControl_1_1TmpLineWriter.html#a069d25633c80c45dae83a6ea59a6fe1b">TmpLineWriter</a> mylw( <span class="keyword">new</span> log::StderrLineWriter );</div></div><!-- fragment --> <p class="definition">Definition at line <a class="el" href="LogControl_8h_source.html#l00181">181</a> of file <a class="el" href="LogControl_8h_source.html">LogControl.h</a>.</p> </div> </div> <a id="ac9818776f813920275fa1bf8fb4498c1"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac9818776f813920275fa1bf8fb4498c1">◆ </a></span>~TmpLineWriter()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">zypp::base::LogControl::TmpLineWriter::~TmpLineWriter </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="LogControl_8h_source.html#l00185">185</a> of file <a class="el" href="LogControl_8h_source.html">LogControl.h</a>.</p> </div> </div> <h2 class="groupheader">Member Data Documentation</h2> <a id="a5f15dd6e8d55d96d49c0df58f85b0dea"></a> <h2 class="memtitle"><span class="permalink"><a href="#a5f15dd6e8d55d96d49c0df58f85b0dea">◆ </a></span>_writer</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classshared__ptr.html">shared_ptr</a><<a class="el" href="classzypp_1_1base_1_1LogControl.html#abd272c9e9cc48a5dbab97cbb1b3337ba">LineWriter</a>> zypp::base::LogControl::TmpLineWriter::_writer</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="LogControl_8h_source.html#l00189">189</a> of file <a class="el" href="LogControl_8h_source.html">LogControl.h</a>.</p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li>zypp/base/<a class="el" href="LogControl_8h_source.html">LogControl.h</a></li> </ul> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="namespacezypp.html">zypp</a></li><li class="navelem"><a class="el" href="namespacezypp_1_1base.html">base</a></li><li class="navelem"><a class="el" href="classzypp_1_1base_1_1LogControl.html">LogControl</a></li><li class="navelem"><a class="el" href="structzypp_1_1base_1_1LogControl_1_1TmpLineWriter.html">TmpLineWriter</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li> </ul> </div> </body> </html>