Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > cab8b74c7b95f406b27f4364b1221885 > files > 60

libopenraw-devel-0.0.9-8.mga5.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8"/>
<title>libopenraw: OpenRaw::IO::StreamClone Class 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="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 style="padding-left: 0.5em;">
   <div id="projectname">libopenraw
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceOpenRaw.html">OpenRaw</a></li><li class="navelem"><b>IO</b></li><li class="navelem"><a class="el" href="classOpenRaw_1_1IO_1_1StreamClone.html">StreamClone</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classOpenRaw_1_1IO_1_1StreamClone-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">OpenRaw::IO::StreamClone Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>cloned stream. Allow reading from a different offset  
 <a href="classOpenRaw_1_1IO_1_1StreamClone.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="streamclone_8h_source.html">streamclone.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for OpenRaw::IO::StreamClone:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classOpenRaw_1_1IO_1_1StreamClone.png" usemap="#OpenRaw::IO::StreamClone_map" alt=""/>
  <map id="OpenRaw::IO::StreamClone_map" name="OpenRaw::IO::StreamClone_map">
<area href="classOpenRaw_1_1IO_1_1Stream.html" title="base virtual class for IO " alt="OpenRaw::IO::Stream" shape="rect" coords="0,0,164,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:a79b15041b9c86bb58f6cbfa8137d17df"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a79b15041b9c86bb58f6cbfa8137d17df"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>StreamClone</b> (<a class="el" href="classOpenRaw_1_1IO_1_1Stream.html">Stream</a> *clone, off_t offset)</td></tr>
<tr class="separator:a79b15041b9c86bb58f6cbfa8137d17df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8096b7871d8777b97571215eb591827"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classOpenRaw_1_1IO_1_1Stream.html#a31943b38cba6c7ae975509859f9021c0">Error</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenRaw_1_1IO_1_1StreamClone.html#ab8096b7871d8777b97571215eb591827">open</a> ()</td></tr>
<tr class="separator:ab8096b7871d8777b97571215eb591827"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a1acc98ff238117a8fa80f5cbbd8df8"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenRaw_1_1IO_1_1StreamClone.html#a2a1acc98ff238117a8fa80f5cbbd8df8">close</a> ()</td></tr>
<tr class="separator:a2a1acc98ff238117a8fa80f5cbbd8df8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbe380bb843f9fe3c93be3998162dc03"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenRaw_1_1IO_1_1StreamClone.html#acbe380bb843f9fe3c93be3998162dc03">seek</a> (off_t offset, int whence)</td></tr>
<tr class="separator:acbe380bb843f9fe3c93be3998162dc03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aadd9852410a250bf2161bd2c031a3cda"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenRaw_1_1IO_1_1StreamClone.html#aadd9852410a250bf2161bd2c031a3cda">read</a> (void *buf, size_t count)</td></tr>
<tr class="separator:aadd9852410a250bf2161bd2c031a3cda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac54932549a77a7993ab1052dde040bf9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac54932549a77a7993ab1052dde040bf9"></a>
virtual off_t&#160;</td><td class="memItemRight" valign="bottom"><b>filesize</b> ()</td></tr>
<tr class="separator:ac54932549a77a7993ab1052dde040bf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classOpenRaw_1_1IO_1_1Stream"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classOpenRaw_1_1IO_1_1Stream')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classOpenRaw_1_1IO_1_1Stream.html">OpenRaw::IO::Stream</a></td></tr>
<tr class="memitem:a5437a97b8941ba593273ab8d6a41f094 inherit pub_methods_classOpenRaw_1_1IO_1_1Stream"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenRaw_1_1IO_1_1Stream.html#a5437a97b8941ba593273ab8d6a41f094">Stream</a> (const char *filename)</td></tr>
<tr class="separator:a5437a97b8941ba593273ab8d6a41f094 inherit pub_methods_classOpenRaw_1_1IO_1_1Stream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d33bf9d8cd2b2bb033f264f3051c5fc inherit pub_methods_classOpenRaw_1_1IO_1_1Stream"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9d33bf9d8cd2b2bb033f264f3051c5fc"></a>
<a class="el" href="classOpenRaw_1_1IO_1_1Stream.html#a31943b38cba6c7ae975509859f9021c0">Error</a>&#160;</td><td class="memItemRight" valign="bottom"><b>get_error</b> ()</td></tr>
<tr class="separator:a9d33bf9d8cd2b2bb033f264f3051c5fc inherit pub_methods_classOpenRaw_1_1IO_1_1Stream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae65eb9b73431a4a465ea120409a1fe48 inherit pub_methods_classOpenRaw_1_1IO_1_1Stream"><td class="memItemLeft" align="right" valign="top">const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenRaw_1_1IO_1_1Stream.html#ae65eb9b73431a4a465ea120409a1fe48">get_path</a> () const </td></tr>
<tr class="separator:ae65eb9b73431a4a465ea120409a1fe48 inherit pub_methods_classOpenRaw_1_1IO_1_1Stream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e1513085e02456d6444d9a549168916 inherit pub_methods_classOpenRaw_1_1IO_1_1Stream"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6e1513085e02456d6444d9a549168916"></a>
uint8_t&#160;</td><td class="memItemRight" valign="bottom"><b>readByte</b> ()  throw (Internals::IOException)</td></tr>
<tr class="separator:a6e1513085e02456d6444d9a549168916 inherit pub_methods_classOpenRaw_1_1IO_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_types_classOpenRaw_1_1IO_1_1Stream"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classOpenRaw_1_1IO_1_1Stream')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classOpenRaw_1_1IO_1_1Stream.html">OpenRaw::IO::Stream</a></td></tr>
<tr class="memitem:a31943b38cba6c7ae975509859f9021c0 inherit pub_types_classOpenRaw_1_1IO_1_1Stream"><td class="memItemLeft" align="right" valign="top">typedef ::or_error&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenRaw_1_1IO_1_1Stream.html#a31943b38cba6c7ae975509859f9021c0">Error</a></td></tr>
<tr class="separator:a31943b38cba6c7ae975509859f9021c0 inherit pub_types_classOpenRaw_1_1IO_1_1Stream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classOpenRaw_1_1IO_1_1Stream"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classOpenRaw_1_1IO_1_1Stream')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classOpenRaw_1_1IO_1_1Stream.html">OpenRaw::IO::Stream</a></td></tr>
<tr class="memitem:ade1759cd8b17cd74f355ddab9e2da9ad inherit pro_methods_classOpenRaw_1_1IO_1_1Stream"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ade1759cd8b17cd74f355ddab9e2da9ad"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_error</b> (<a class="el" href="classOpenRaw_1_1IO_1_1Stream.html#a31943b38cba6c7ae975509859f9021c0">Error</a> error)</td></tr>
<tr class="separator:ade1759cd8b17cd74f355ddab9e2da9ad inherit pro_methods_classOpenRaw_1_1IO_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>cloned stream. Allow reading from a different offset </p>

<p>Definition at line <a class="el" href="streamclone_8h_source.html#l00035">35</a> of file <a class="el" href="streamclone_8h_source.html">streamclone.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a2a1acc98ff238117a8fa80f5cbbd8df8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int OpenRaw::IO::StreamClone::close </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>close the file </p>

<p>Implements <a class="el" href="classOpenRaw_1_1IO_1_1Stream.html#a2929d3da1fe4d2102ee38c75cc1e2ee7">OpenRaw::IO::Stream</a>.</p>

<p>Definition at line <a class="el" href="streamclone_8cpp_source.html#l00055">55</a> of file <a class="el" href="streamclone_8cpp_source.html">streamclone.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab8096b7871d8777b97571215eb591827"></a>
<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="classOpenRaw_1_1IO_1_1Stream.html#a31943b38cba6c7ae975509859f9021c0">Stream::Error</a> OpenRaw::IO::StreamClone::open </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>open the file </p>

<p>Implements <a class="el" href="classOpenRaw_1_1IO_1_1Stream.html#a2331c05ce11fbd9443810c333c9d7ef1">OpenRaw::IO::Stream</a>.</p>

<p>Definition at line <a class="el" href="streamclone_8cpp_source.html#l00042">42</a> of file <a class="el" href="streamclone_8cpp_source.html">streamclone.cpp</a>.</p>

<p>References <a class="el" href="classOpenRaw_1_1IO_1_1Stream.html#af3f62e12445433f96b060446130f11f7">OpenRaw::IO::Stream::seek()</a>.</p>

</div>
</div>
<a class="anchor" id="aadd9852410a250bf2161bd2c031a3cda"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int OpenRaw::IO::StreamClone::read </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>read in the file. Semantics are similar to POSIX <a class="el" href="classOpenRaw_1_1IO_1_1StreamClone.html#aadd9852410a250bf2161bd2c031a3cda">read()</a> </p>

<p>Implements <a class="el" href="classOpenRaw_1_1IO_1_1Stream.html#a644cac743aa92c0b2dcc12d82d8356e2">OpenRaw::IO::Stream</a>.</p>

<p>Definition at line <a class="el" href="streamclone_8cpp_source.html#l00075">75</a> of file <a class="el" href="streamclone_8cpp_source.html">streamclone.cpp</a>.</p>

<p>References <a class="el" href="classOpenRaw_1_1IO_1_1Stream.html#a644cac743aa92c0b2dcc12d82d8356e2">OpenRaw::IO::Stream::read()</a>.</p>

</div>
</div>
<a class="anchor" id="acbe380bb843f9fe3c93be3998162dc03"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int OpenRaw::IO::StreamClone::seek </td>
          <td>(</td>
          <td class="paramtype">off_t&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>whence</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>seek in the file. Semantics are similar to POSIX lseek() </p>

<p>Implements <a class="el" href="classOpenRaw_1_1IO_1_1Stream.html#af3f62e12445433f96b060446130f11f7">OpenRaw::IO::Stream</a>.</p>

<p>Definition at line <a class="el" href="streamclone_8cpp_source.html#l00062">62</a> of file <a class="el" href="streamclone_8cpp_source.html">streamclone.cpp</a>.</p>

<p>References <a class="el" href="classOpenRaw_1_1IO_1_1Stream.html#af3f62e12445433f96b060446130f11f7">OpenRaw::IO::Stream::seek()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>lib/io/<a class="el" href="streamclone_8h_source.html">streamclone.h</a></li>
<li>lib/io/<a class="el" href="streamclone_8cpp_source.html">streamclone.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Oct 17 2014 20:21:10 for libopenraw by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>