<areahref="classcrashpad_1_1FileReaderInterface.html"title="An interface to read to files and other file-like objects with semantics matching the underlying plat..."alt="crashpad::FileReaderInterface"shape="rect"coords="352,56,577,80"/>
<areahref="classcrashpad_1_1FileWriterInterface.html"title="An interface to write to files and other file-like objects with semantics matching the underlying pla..."alt="crashpad::FileWriterInterface"shape="rect"coords="1175,56,1400,80"/>
<areahref="classcrashpad_1_1FileReader.html"title="A file reader implementation that wraps traditional system file operations on files accessed through ..."alt="crashpad::FileReader"shape="rect"coords="0,112,225,136"/>
<areahref="classcrashpad_1_1StringFile.html"title="A file reader and writer backed by a virtual file, as opposed to a file on disk or other operating sy..."alt="crashpad::StringFile"shape="rect"coords="235,112,460,136"/>
<areahref="classcrashpad_1_1WeakFileHandleFileReader.html"title="A file reader backed by a FileHandle. "alt="crashpad::WeakFileHandleFileReader"shape="rect"coords="470,112,695,136"/>
<areahref="classcrashpad_1_1WeakStdioFileReader.html"title="A file reader backed by a standard input/output FILE*. "alt="crashpad::WeakStdioFileReader"shape="rect"coords="705,112,930,136"/>
<areahref="classcrashpad_1_1FileWriter.html"title="A file writer implementation that wraps traditional system file operations on files accessed through ..."alt="crashpad::FileWriter"shape="rect"coords="940,112,1165,136"/>
<areahref="classcrashpad_1_1StringFile.html"title="A file reader and writer backed by a virtual file, as opposed to a file on disk or other operating sy..."alt="crashpad::StringFile"shape="rect"coords="1175,112,1400,136"/>
<areahref="classcrashpad_1_1WeakFileHandleFileWriter.html"title="A file writer backed by a FileHandle. "alt="crashpad::WeakFileHandleFileWriter"shape="rect"coords="1410,112,1635,136"/>
<trclass="memitem:a8d56f7d12dfcce3e4a39ad1524302aa1"><tdclass="memItemLeft"align="right"valign="top">virtual <aclass="el"href="namespacecrashpad.html#a1e53a1957d9edcba8b406ea632b6daf2">FileOffset</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcrashpad_1_1FileSeekerInterface.html#a8d56f7d12dfcce3e4a39ad1524302aa1">Seek</a> (<aclass="el"href="namespacecrashpad.html#a1e53a1957d9edcba8b406ea632b6daf2">FileOffset</a> offset, int whence)=0</td></tr>
<trclass="memdesc:a8d56f7d12dfcce3e4a39ad1524302aa1"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Wraps <aclass="el"href="namespacecrashpad.html#a3d6cedc10e24145d4a0c1000c33f8a10"title="Wraps lseek() or SetFilePointerEx(). Logs an error if the operation fails. ">LoggingSeekFile()</a> or provides an alternate implementation with identical semantics. <ahref="#a8d56f7d12dfcce3e4a39ad1524302aa1">More...</a><br/></td></tr>
<trclass="memdesc:a49a884bfb0a61461b0291c975aa15382"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Wraps <aclass="el"href="classcrashpad_1_1FileSeekerInterface.html#a8d56f7d12dfcce3e4a39ad1524302aa1"title="Wraps LoggingSeekFile() or provides an alternate implementation with identical semantics. ">Seek()</a>, using <code>SEEK_CUR</code> to obtain the file’s current position. <ahref="#a49a884bfb0a61461b0291c975aa15382">More...</a><br/></td></tr>
<trclass="memdesc:add2e1ee642d94c91ef722911e9aee250"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Wraps <aclass="el"href="classcrashpad_1_1FileSeekerInterface.html#a8d56f7d12dfcce3e4a39ad1524302aa1"title="Wraps LoggingSeekFile() or provides an alternate implementation with identical semantics. ">Seek()</a>, using <code>SEEK_SET</code>, ensuring that the seek succeeded and the file is positioned as desired. <ahref="#add2e1ee642d94c91ef722911e9aee250">More...</a><br/></td></tr>
<divclass="textblock"><p>An interface to seek in files and other file-like objects with semantics matching the underlying platform (POSIX or Windows). </p>
</div><h2class="groupheader">Member Function Documentation</h2>
<p>Wraps <aclass="el"href="namespacecrashpad.html#a3d6cedc10e24145d4a0c1000c33f8a10"title="Wraps lseek() or SetFilePointerEx(). Logs an error if the operation fails. ">LoggingSeekFile()</a> or provides an alternate implementation with identical semantics. </p>
<dlclass="section return"><dt>Returns</dt><dd>The return value of <aclass="el"href="namespacecrashpad.html#a3d6cedc10e24145d4a0c1000c33f8a10"title="Wraps lseek() or SetFilePointerEx(). Logs an error if the operation fails. ">LoggingSeekFile()</a>. <code>-1</code> on failure, with an error message logged. </dd></dl>
<p>Implemented in <aclass="el"href="classcrashpad_1_1WeakStdioFileReader.html#aadfb883a076615e7f6c2b4e4f29ce3a5">crashpad::WeakStdioFileReader</a>, <aclass="el"href="classcrashpad_1_1FileWriter.html#a2dbaf9ac2c3f1802fea09843127d24e2">crashpad::FileWriter</a>, <aclass="el"href="classcrashpad_1_1FileReader.html#aa468e6ee52895d46173aed720230f4b8">crashpad::FileReader</a>, <aclass="el"href="classcrashpad_1_1WeakFileHandleFileWriter.html#a98976c8eab56aa6d1e0bfe3e01a87b08">crashpad::WeakFileHandleFileWriter</a>, <aclass="el"href="classcrashpad_1_1WeakFileHandleFileReader.html#a8374ad1eb0a03bfb5f36d6a5e8959f98">crashpad::WeakFileHandleFileReader</a>, and <aclass="el"href="classcrashpad_1_1StringFile.html#acabb59b99e86bea5949f7a9a47c6dbcc">crashpad::StringFile</a>.</p>
<p>Wraps <aclass="el"href="classcrashpad_1_1FileSeekerInterface.html#a8d56f7d12dfcce3e4a39ad1524302aa1"title="Wraps LoggingSeekFile() or provides an alternate implementation with identical semantics. ">Seek()</a>, using <code>SEEK_CUR</code> to obtain the file’s current position. </p>
<dlclass="section return"><dt>Returns</dt><dd>The file’s current position on success. <code>-1</code> on failure, with an error message logged. </dd></dl>
<p>Wraps <aclass="el"href="classcrashpad_1_1FileSeekerInterface.html#a8d56f7d12dfcce3e4a39ad1524302aa1"title="Wraps LoggingSeekFile() or provides an alternate implementation with identical semantics. ">Seek()</a>, using <code>SEEK_SET</code>, ensuring that the seek succeeded and the file is positioned as desired. </p>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> if the operation succeeded, <code>false</code> if it failed, with an error message logged. A failure to reposition the file as desired is treated as a failure. </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>util/file/file_seeker.h</li>
<li>util/file/file_seeker.cc</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hrclass="footer"/><addressclass="footer"><small>
Generated by  <ahref="http://www.doxygen.org/index.html">