Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > 68c0c2ff89d8bf9051ff1b9773ed48e4 > files > 931

libzypp-doc-17.9.0-1.1.mga7.noarch.rpm

<!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/InputStream.cc Source File</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&amp;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
   &#160;<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&amp;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&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('InputStream_8cc_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">InputStream.cc</div>  </div>
</div><!--header-->
<div class="contents">
<a href="InputStream_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*---------------------------------------------------------------------\</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">|                          ____ _   __ __ ___                          |</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">|                         |__  / \ / / . \ . \                         |</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">|                           / / \ V /|  _/  _/                         |</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">|                          / /__ | | | | | |                           |</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">|                         /_____||_| |_| |_|                           |</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">|                                                                      |</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">\---------------------------------------------------------------------*/</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="LogTools_8h.html">zypp/base/LogTools.h</a>&quot;</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="InputStream_8h.html">zypp/base/InputStream.h</a>&quot;</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="GzStream_8h.html">zypp/base/GzStream.h</a>&quot;</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PathInfo_8h.html">zypp/PathInfo.h</a>&quot;</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">using</span> std::endl;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacezypp.html">zypp</a></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;{ </div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;  <span class="keyword">namespace</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;  { </div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    <span class="keyword">inline</span> std::streamoff _heplerInitSize( <span class="keyword">const</span> Pathname &amp; file_r )</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    {</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;      PathInfo p( file_r );</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;      <span class="keywordflow">if</span> ( p.isFile() &amp;&amp; <a class="code" href="namespacezypp_1_1filesystem.html#aef55ac346f7e833305d44da1f8d2ae52">filesystem::zipType</a>( file_r ) == <a class="code" href="namespacezypp_1_1filesystem.html#af2345a50124dd94f62b1777d22306960ab9f64c9637fe2c40449132762ee17f15">filesystem::ZT_NONE</a> )</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;        <span class="keywordflow">return</span> p.size();</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;      <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    }</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;  } <span class="comment">// namespace</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;  <span class="comment">//    METHOD NAME : InputStream::InputStream</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;  <span class="comment">//    METHOD TYPE : Constructor</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classzypp_1_1InputStream.html#ab2e19c1485189fbb57828de65e6d65ab">   47</a></span>&#160;  <a class="code" href="classzypp_1_1InputStream.html#ab2e19c1485189fbb57828de65e6d65ab">InputStream::InputStream</a>()</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;  : _stream( &amp;<a class="code" href="namespacestd.html">std</a>::cin, <a class="code" href="structzypp_1_1NullDeleter.html">NullDeleter</a>() )</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;  , _name( <span class="stringliteral">&quot;STDIN&quot;</span> )</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;  {}</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;  <span class="comment">//    METHOD NAME : InputStream::InputStream</span></div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;  <span class="comment">//    METHOD TYPE : Constructor</span></div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classzypp_1_1InputStream.html#abc2a9d74b14c2d4ee663a52bb88127e0">   57</a></span>&#160;  <a class="code" href="classzypp_1_1InputStream.html#ab2e19c1485189fbb57828de65e6d65ab">InputStream::InputStream</a>( std::istream &amp; stream_r,</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;                            <span class="keyword">const</span> std::string &amp; name_r )</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;  : _stream( &amp;stream_r, <a class="code" href="structzypp_1_1NullDeleter.html">NullDeleter</a>() )</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;  , _name( name_r )</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;  {}</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;  <span class="comment">//    METHOD NAME : InputStream::InputStream</span></div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;  <span class="comment">//    METHOD TYPE : Constructor</span></div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classzypp_1_1InputStream.html#aa22c5e70e7306e91fa5168f8d6a97126">   68</a></span>&#160;  <a class="code" href="classzypp_1_1InputStream.html#ab2e19c1485189fbb57828de65e6d65ab">InputStream::InputStream</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &amp; file_r )</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;  : _path( file_r )</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;  , _stream( new <a class="code" href="classzypp_1_1gzstream__detail_1_1fXstream.html">ifgzstream</a>( _path.<a class="code" href="namespacezypp.html#a1547a676c9d1f206e0ed614d42d74c2d">asString</a>().c_str() ) )</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;  , _name( _path.<a class="code" href="namespacezypp.html#a1547a676c9d1f206e0ed614d42d74c2d">asString</a>() )</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;  , _size( _heplerInitSize( _path ) )</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;  {}</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;  <span class="comment">//    METHOD NAME : InputStream::InputStream</span></div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;  <span class="comment">//    METHOD TYPE : Constructor</span></div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classzypp_1_1InputStream.html#a81bdb82e96f56df34dd7d2d6a8061921">   80</a></span>&#160;  <a class="code" href="classzypp_1_1InputStream.html#ab2e19c1485189fbb57828de65e6d65ab">InputStream::InputStream</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &amp; file_r,</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;                            <span class="keyword">const</span> std::string &amp; name_r )</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;  : _path( file_r )</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;  , _stream( new <a class="code" href="classzypp_1_1gzstream__detail_1_1fXstream.html">ifgzstream</a>( _path.<a class="code" href="namespacezypp.html#a1547a676c9d1f206e0ed614d42d74c2d">asString</a>().c_str() ) )</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;  , _name( name_r )</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;  , _size( _heplerInitSize( _path ) )</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;  {}</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;  <span class="comment">//    METHOD NAME : InputStream::InputStream</span></div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;  <span class="comment">//    METHOD TYPE : Constructor</span></div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="classzypp_1_1InputStream.html#a4354065ec183720fa0f8d48b6439db60">   93</a></span>&#160;  <a class="code" href="classzypp_1_1InputStream.html#ab2e19c1485189fbb57828de65e6d65ab">InputStream::InputStream</a>( <span class="keyword">const</span> std::string &amp; file_r )</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;  : _path( file_r )</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;  , _stream( new <a class="code" href="classzypp_1_1gzstream__detail_1_1fXstream.html">ifgzstream</a>( _path.<a class="code" href="namespacezypp.html#a1547a676c9d1f206e0ed614d42d74c2d">asString</a>().c_str() ) )</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;  , _name( _path.<a class="code" href="namespacezypp.html#a1547a676c9d1f206e0ed614d42d74c2d">asString</a>() )</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;  , _size( _heplerInitSize( _path ) )</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;  {}</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;  <span class="comment">//    METHOD NAME : InputStream::InputStream</span></div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;  <span class="comment">//    METHOD TYPE : Constructor</span></div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="classzypp_1_1InputStream.html#a2e9072c8acd88951ad09f5eea6b6d6f0">  105</a></span>&#160;  <a class="code" href="classzypp_1_1InputStream.html#ab2e19c1485189fbb57828de65e6d65ab">InputStream::InputStream</a>( <span class="keyword">const</span> std::string &amp; file_r,</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;                            <span class="keyword">const</span> std::string &amp; name_r )</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;  : _path( file_r )</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;  , _stream( new <a class="code" href="classzypp_1_1gzstream__detail_1_1fXstream.html">ifgzstream</a>( _path.<a class="code" href="namespacezypp.html#a1547a676c9d1f206e0ed614d42d74c2d">asString</a>().c_str() ) )</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;  , _name( name_r )</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;  , _size( _heplerInitSize( _path ) )</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;  {}</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;  <span class="comment">//    METHOD NAME : InputStream::InputStream</span></div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;  <span class="comment">//    METHOD TYPE : Constructor</span></div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="classzypp_1_1InputStream.html#aad6ab77c29e8a715816c433c08d41c7b">  118</a></span>&#160;  <a class="code" href="classzypp_1_1InputStream.html#ab2e19c1485189fbb57828de65e6d65ab">InputStream::InputStream</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * file_r )</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;  : _path( file_r )</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;  , _stream( new <a class="code" href="classzypp_1_1gzstream__detail_1_1fXstream.html">ifgzstream</a>( _path.<a class="code" href="namespacezypp.html#a1547a676c9d1f206e0ed614d42d74c2d">asString</a>().c_str() ) )</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;  , _name( _path.<a class="code" href="namespacezypp.html#a1547a676c9d1f206e0ed614d42d74c2d">asString</a>() )</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;  , _size( _heplerInitSize( _path ) )</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;  {}</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;  <span class="comment">//    METHOD NAME : InputStream::InputStream</span></div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;  <span class="comment">//    METHOD TYPE : Constructor</span></div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="classzypp_1_1InputStream.html#acd08d7667ab71a87640cfb99ad66599a">  130</a></span>&#160;  <a class="code" href="classzypp_1_1InputStream.html#ab2e19c1485189fbb57828de65e6d65ab">InputStream::InputStream</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * file_r,</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;                            <span class="keyword">const</span> std::string &amp; name_r )</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;  : _path( file_r )</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;  , _stream( new <a class="code" href="classzypp_1_1gzstream__detail_1_1fXstream.html">ifgzstream</a>( _path.<a class="code" href="namespacezypp.html#a1547a676c9d1f206e0ed614d42d74c2d">asString</a>().c_str() ) )</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;  , _name( name_r )</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;  , _size( _heplerInitSize( _path ) )</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;  {}</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;  <span class="comment">//    METHOD NAME : InputStream::~InputStream</span></div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;  <span class="comment">//    METHOD TYPE : Destructor</span></div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="classzypp_1_1InputStream.html#a938478a7e857e2be4cc4e1477e6c1adb">  143</a></span>&#160;  <a class="code" href="classzypp_1_1InputStream.html#a938478a7e857e2be4cc4e1477e6c1adb">InputStream::~InputStream</a>()</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;  {}</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;  <span class="comment">/******************************************************************</span></div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="comment">   **</span></div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<span class="comment">   **   FUNCTION NAME : operator&lt;&lt;</span></div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;<span class="comment">   **   FUNCTION TYPE : std::ostream &amp;</span></div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="comment">  */</span></div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="namespacezypp.html#af719567e23fbb239b79fb5bd302fa2a1">  151</a></span>&#160;  std::ostream &amp; <a class="code" href="namespacezypp.html#a736823673697753a9826f368fefff5f0">operator&lt;&lt;</a>( std::ostream &amp; <a class="code" href="namespacestr.html">str</a>, <span class="keyword">const</span> <a class="code" href="classzypp_1_1InputStream.html">InputStream</a> &amp; obj )</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;  {</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacestr.html">str</a> &lt;&lt; obj.<a class="code" href="classzypp_1_1InputStream.html#a627b57ada20d3b56ecbb201d0be74817">name</a>() &lt;&lt; obj.<a class="code" href="classzypp_1_1InputStream.html#a6136188b397b01f777bcf0f3814c379f">stream</a>();</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;  }</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;} <span class="comment">// namespace zypp</span></div><div class="ttc" id="namespacezypp_html_a1547a676c9d1f206e0ed614d42d74c2d"><div class="ttname"><a href="namespacezypp.html#a1547a676c9d1f206e0ed614d42d74c2d">zypp::asString</a></div><div class="ttdeci">std::string asString(const DefaultIntegral&lt; Tp, TInitial &gt; &amp;obj)</div><div class="ttdef"><b>Definition:</b> <a href="DefaultIntegral_8h_source.html#l00098">DefaultIntegral.h:98</a></div></div>
<div class="ttc" id="GzStream_8h_html"><div class="ttname"><a href="GzStream_8h.html">GzStream.h</a></div></div>
<div class="ttc" id="namespacestr_html"><div class="ttname"><a href="namespacestr.html">str</a></div><div class="ttdoc">String related utilities and Regular expression matching.</div></div>
<div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdef"><b>Definition:</b> <a href="Arch_8h_source.html#l00344">Arch.h:344</a></div></div>
<div class="ttc" id="classzypp_1_1InputStream_html"><div class="ttname"><a href="classzypp_1_1InputStream.html">zypp::InputStream</a></div><div class="ttdoc">Helper to create and pass std::istream.</div><div class="ttdef"><b>Definition:</b> <a href="InputStream_8h_source.html#l00056">InputStream.h:56</a></div></div>
<div class="ttc" id="namespacezypp_1_1filesystem_html_aef55ac346f7e833305d44da1f8d2ae52"><div class="ttname"><a href="namespacezypp_1_1filesystem.html#aef55ac346f7e833305d44da1f8d2ae52">zypp::filesystem::zipType</a></div><div class="ttdeci">ZIP_TYPE zipType(const Pathname &amp;file)</div><div class="ttdef"><b>Definition:</b> <a href="PathInfo_8cc_source.html#l01077">PathInfo.cc:1077</a></div></div>
<div class="ttc" id="namespacezypp_html_a736823673697753a9826f368fefff5f0"><div class="ttname"><a href="namespacezypp.html#a736823673697753a9826f368fefff5f0">zypp::operator&lt;&lt;</a></div><div class="ttdeci">std::ostream &amp; operator&lt;&lt;(std::ostream &amp;str, const Exception &amp;obj)</div><div class="ttdef"><b>Definition:</b> <a href="Exception_8cc_source.html#l00147">Exception.cc:147</a></div></div>
<div class="ttc" id="classzypp_1_1InputStream_html_a938478a7e857e2be4cc4e1477e6c1adb"><div class="ttname"><a href="classzypp_1_1InputStream.html#a938478a7e857e2be4cc4e1477e6c1adb">zypp::InputStream::~InputStream</a></div><div class="ttdeci">~InputStream()</div><div class="ttdoc">Dtor.</div><div class="ttdef"><b>Definition:</b> <a href="InputStream_8cc_source.html#l00143">InputStream.cc:143</a></div></div>
<div class="ttc" id="classzypp_1_1gzstream__detail_1_1fXstream_html"><div class="ttname"><a href="classzypp_1_1gzstream__detail_1_1fXstream.html">zypp::gzstream_detail::fXstream</a></div><div class="ttdoc">Common template to define ifgzstream/ofgzstream reading/writing gzip files.</div><div class="ttdef"><b>Definition:</b> <a href="GzStream_8h_source.html#l00199">GzStream.h:199</a></div></div>
<div class="ttc" id="classzypp_1_1InputStream_html_a627b57ada20d3b56ecbb201d0be74817"><div class="ttname"><a href="classzypp_1_1InputStream.html#a627b57ada20d3b56ecbb201d0be74817">zypp::InputStream::name</a></div><div class="ttdeci">const std::string &amp; name() const</div><div class="ttdoc">Name of the std::istream.</div><div class="ttdef"><b>Definition:</b> <a href="InputStream_8h_source.html#l00107">InputStream.h:107</a></div></div>
<div class="ttc" id="LogTools_8h_html"><div class="ttname"><a href="LogTools_8h.html">LogTools.h</a></div></div>
<div class="ttc" id="classzypp_1_1InputStream_html_ab2e19c1485189fbb57828de65e6d65ab"><div class="ttname"><a href="classzypp_1_1InputStream.html#ab2e19c1485189fbb57828de65e6d65ab">zypp::InputStream::InputStream</a></div><div class="ttdeci">InputStream()</div><div class="ttdoc">Default ctor providing std::cin.</div><div class="ttdef"><b>Definition:</b> <a href="InputStream_8cc_source.html#l00047">InputStream.cc:47</a></div></div>
<div class="ttc" id="PathInfo_8h_html"><div class="ttname"><a href="PathInfo_8h.html">PathInfo.h</a></div></div>
<div class="ttc" id="structzypp_1_1NullDeleter_html"><div class="ttname"><a href="structzypp_1_1NullDeleter.html">zypp::NullDeleter</a></div><div class="ttdoc">shared_ptr custom deleter doing nothing.</div><div class="ttdef"><b>Definition:</b> <a href="PtrTypes_8h_source.html#l00082">PtrTypes.h:82</a></div></div>
<div class="ttc" id="classzypp_1_1InputStream_html_a6136188b397b01f777bcf0f3814c379f"><div class="ttname"><a href="classzypp_1_1InputStream.html#a6136188b397b01f777bcf0f3814c379f">zypp::InputStream::stream</a></div><div class="ttdeci">std::istream &amp; stream() const</div><div class="ttdoc">The std::istream.</div><div class="ttdef"><b>Definition:</b> <a href="InputStream_8h_source.html#l00093">InputStream.h:93</a></div></div>
<div class="ttc" id="InputStream_8h_html"><div class="ttname"><a href="InputStream_8h.html">InputStream.h</a></div></div>
<div class="ttc" id="classzypp_1_1filesystem_1_1Pathname_html"><div class="ttname"><a href="classzypp_1_1filesystem_1_1Pathname.html">zypp::filesystem::Pathname</a></div><div class="ttdoc">Pathname.</div><div class="ttdef"><b>Definition:</b> <a href="Pathname_8h_source.html#l00043">Pathname.h:43</a></div></div>
<div class="ttc" id="namespacezypp_1_1filesystem_html_af2345a50124dd94f62b1777d22306960ab9f64c9637fe2c40449132762ee17f15"><div class="ttname"><a href="namespacezypp_1_1filesystem.html#af2345a50124dd94f62b1777d22306960ab9f64c9637fe2c40449132762ee17f15">zypp::filesystem::ZT_NONE</a></div><div class="ttdef"><b>Definition:</b> <a href="PathInfo_8h_source.html#l00778">PathInfo.h:778</a></div></div>
<div class="ttc" id="namespacezypp_html"><div class="ttname"><a href="namespacezypp.html">zypp</a></div><div class="ttdoc">Easy-to use interface to the ZYPP dependency resolver.</div><div class="ttdef"><b>Definition:</b> <a href="CodePitfalls_8doc_source.html#l00001">CodePitfalls.doc:1</a></div></div>
</div><!-- fragment --></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="dir_c187b43c6f283d9fc95eff3f44ce072a.html">zypp</a></li><li class="navelem"><a class="el" href="dir_76651d3a0256a4372f696a008d71ee69.html">base</a></li><li class="navelem"><a class="el" href="InputStream_8cc.html">InputStream.cc</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>