aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/structwinapi_1_1process_1_1Stdout.html
blob: 54f8f1d5e4e626cc0434fcf32ff964b1852a666a (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::Stdout 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_1Stdout.html">Stdout</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_1Stdout-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">winapi::process::Stdout Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Redirect child process's stdout.  
 <a href="structwinapi_1_1process_1_1Stdout.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for winapi::process::Stdout:</div>
<div class="dyncontent">
 <div class="center">
  <img src="structwinapi_1_1process_1_1Stdout.png" usemap="#winapi::process::Stdout_map" alt=""/>
  <map id="winapi::process::Stdout_map" name="winapi::process::Stdout_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:a1afc245b79c17e05bee9931f347a34e5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwinapi_1_1process_1_1Stdout.html#a1afc245b79c17e05bee9931f347a34e5">Stdout</a> ()</td></tr>
<tr class="separator:a1afc245b79c17e05bee9931f347a34e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7319a44d66f5c109bea89a04ca4c4ba2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwinapi_1_1process_1_1Stdout.html#a7319a44d66f5c109bea89a04ca4c4ba2">Stdout</a> (const std::string &amp;file)</td></tr>
<tr class="separator:a7319a44d66f5c109bea89a04ca4c4ba2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab70d4bff6f55c51fec06efdaa4fcdb81"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwinapi_1_1process_1_1Stdout.html#ab70d4bff6f55c51fec06efdaa4fcdb81">Stdout</a> (const <a class="el" href="classwinapi_1_1CanonicalPath.html">CanonicalPath</a> &amp;file)</td></tr>
<tr class="separator:ab70d4bff6f55c51fec06efdaa4fcdb81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa84e724674b234d395c766b3d04582d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwinapi_1_1process_1_1Stdout.html#afa84e724674b234d395c766b3d04582d">Stdout</a> (<a class="el" href="classwinapi_1_1Pipe.html">Pipe</a> &amp;)</td></tr>
<tr class="separator:afa84e724674b234d395c766b3d04582d"><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 stdout. </p>

<p class="definition">Definition at line <a class="el" href="process__io_8hpp_source.html#l00037">37</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="a1afc245b79c17e05bee9931f347a34e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1afc245b79c17e05bee9931f347a34e5">&#9670;&nbsp;</a></span>Stdout() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">winapi::process::Stdout::Stdout </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#l00019">19</a> of file <a class="el" href="process__io_8cpp_source.html">process_io.cpp</a>.</p>

</div>
</div>
<a id="a7319a44d66f5c109bea89a04ca4c4ba2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7319a44d66f5c109bea89a04ca4c4ba2">&#9670;&nbsp;</a></span>Stdout() <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::Stdout::Stdout </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 stdout to a file. </p>

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

</div>
</div>
<a id="ab70d4bff6f55c51fec06efdaa4fcdb81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab70d4bff6f55c51fec06efdaa4fcdb81">&#9670;&nbsp;</a></span>Stdout() <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::Stdout::Stdout </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#l00029">29</a> of file <a class="el" href="process__io_8cpp_source.html">process_io.cpp</a>.</p>

</div>
</div>
<a id="afa84e724674b234d395c766b3d04582d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa84e724674b234d395c766b3d04582d">&#9670;&nbsp;</a></span>Stdout() <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::Stdout::Stdout </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 stdout to a pipe. </p>

<p class="definition">Definition at line <a class="el" href="process__io_8cpp_source.html#l00039">39</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>