aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/structwinapi_1_1process_1_1Stderr.html
blob: 981c9a1ebec597f7818ec68f3141bb234fdeefb0 (plain) (tree)







































































































































































































































                                                                                                                                                                                                                                                                                                                                                                          
<!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.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>winapi_common: winapi::process::Stderr 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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></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">winapi_common
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<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&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>winapi</b></li><li class="navelem"><b>process</b></li><li class="navelem"><a class="el" href="structwinapi_1_1process_1_1Stderr.html">Stderr</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="structwinapi_1_1process_1_1Stderr-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">winapi::process::Stderr Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Redirect child process's stderr.  
 <a href="structwinapi_1_1process_1_1Stderr.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for winapi::process::Stderr:</div>
<div class="dyncontent">
 <div class="center">
  <img src="structwinapi_1_1process_1_1Stderr.png" usemap="#winapi::process::Stderr_map" alt=""/>
  <map id="winapi::process::Stderr_map" name="winapi::process::Stderr_map">
<area href="structwinapi_1_1process_1_1Stream.html" alt="winapi::process::Stream" shape="rect" coords="0,0,144,24"/>
  </map>
</div></div>
<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:aefbbae355c05c41f177ed5c3f769809c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwinapi_1_1process_1_1Stderr.html#aefbbae355c05c41f177ed5c3f769809c">Stderr</a> ()</td></tr>
<tr class="separator:aefbbae355c05c41f177ed5c3f769809c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9906ac147b47c7e7b8a299e942cb77c5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwinapi_1_1process_1_1Stderr.html#a9906ac147b47c7e7b8a299e942cb77c5">Stderr</a> (const std::string &amp;file)</td></tr>
<tr class="separator:a9906ac147b47c7e7b8a299e942cb77c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1daa6ec6ad6b30d9958b2ee76f086230"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwinapi_1_1process_1_1Stderr.html#a1daa6ec6ad6b30d9958b2ee76f086230">Stderr</a> (const <a class="el" href="classwinapi_1_1CanonicalPath.html">CanonicalPath</a> &amp;file)</td></tr>
<tr class="separator:a1daa6ec6ad6b30d9958b2ee76f086230"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fca971e15b205e971a18c206d1c8003"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwinapi_1_1process_1_1Stderr.html#a0fca971e15b205e971a18c206d1c8003">Stderr</a> (<a class="el" href="classwinapi_1_1Pipe.html">Pipe</a> &amp;)</td></tr>
<tr class="separator:a0fca971e15b205e971a18c206d1c8003"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_structwinapi_1_1process_1_1Stream"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_structwinapi_1_1process_1_1Stream')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="structwinapi_1_1process_1_1Stream.html">winapi::process::Stream</a></td></tr>
<tr class="memitem:a1b8a77ad3b50e85a4594e2e5bebf1c58 inherit pub_methods_structwinapi_1_1process_1_1Stream"><td class="memItemLeft" align="right" valign="top"><a id="a1b8a77ad3b50e85a4594e2e5bebf1c58"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Stream</b> (<a class="el" href="classwinapi_1_1Handle.html">Handle</a> &amp;&amp;handle)</td></tr>
<tr class="separator:a1b8a77ad3b50e85a4594e2e5bebf1c58 inherit pub_methods_structwinapi_1_1process_1_1Stream"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_attribs_structwinapi_1_1process_1_1Stream"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_structwinapi_1_1process_1_1Stream')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="structwinapi_1_1process_1_1Stream.html">winapi::process::Stream</a></td></tr>
<tr class="memitem:a0c88866185c1fe4639311053855a5498 inherit pub_attribs_structwinapi_1_1process_1_1Stream"><td class="memItemLeft" align="right" valign="top"><a id="a0c88866185c1fe4639311053855a5498"></a>
<a class="el" href="classwinapi_1_1Handle.html">Handle</a>&#160;</td><td class="memItemRight" valign="bottom"><b>handle</b></td></tr>
<tr class="separator:a0c88866185c1fe4639311053855a5498 inherit pub_attribs_structwinapi_1_1process_1_1Stream"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Redirect child process's stderr. </p>

<p class="definition">Definition at line <a class="el" href="process__io_8hpp_source.html#l00049">49</a> of file <a class="el" href="process__io_8hpp_source.html">process_io.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aefbbae355c05c41f177ed5c3f769809c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aefbbae355c05c41f177ed5c3f769809c">&#9670;&nbsp;</a></span>Stderr() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">winapi::process::Stderr::Stderr </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>No redirection. </p>

<p class="definition">Definition at line <a class="el" href="process__io_8cpp_source.html#l00021">21</a> of file <a class="el" href="process__io_8cpp_source.html">process_io.cpp</a>.</p>

</div>
</div>
<a id="a9906ac147b47c7e7b8a299e942cb77c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9906ac147b47c7e7b8a299e942cb77c5">&#9670;&nbsp;</a></span>Stderr() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">winapi::process::Stderr::Stderr </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>file</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Redirect child process's stderr to a file. </p>

<p class="definition">Definition at line <a class="el" href="process__io_8cpp_source.html#l00031">31</a> of file <a class="el" href="process__io_8cpp_source.html">process_io.cpp</a>.</p>

</div>
</div>
<a id="a1daa6ec6ad6b30d9958b2ee76f086230"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1daa6ec6ad6b30d9958b2ee76f086230">&#9670;&nbsp;</a></span>Stderr() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">winapi::process::Stderr::Stderr </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwinapi_1_1CanonicalPath.html">CanonicalPath</a> &amp;&#160;</td>
          <td class="paramname"><em>file</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

<p class="definition">Definition at line <a class="el" href="process__io_8cpp_source.html#l00033">33</a> of file <a class="el" href="process__io_8cpp_source.html">process_io.cpp</a>.</p>

</div>
</div>
<a id="a0fca971e15b205e971a18c206d1c8003"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0fca971e15b205e971a18c206d1c8003">&#9670;&nbsp;</a></span>Stderr() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">winapi::process::Stderr::Stderr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classwinapi_1_1Pipe.html">Pipe</a> &amp;&#160;</td>
          <td class="paramname"><em>pipe</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Redirect child process's stderr to a pipe. </p>

<p class="definition">Definition at line <a class="el" href="process__io_8cpp_source.html#l00043">43</a> of file <a class="el" href="process__io_8cpp_source.html">process_io.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following files:<ul>
<li>include/winapi/<a class="el" href="process__io_8hpp_source.html">process_io.hpp</a></li>
<li>src/<a class="el" href="process__io_8cpp_source.html">process_io.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>