254 lines
13 KiB
HTML
254 lines
13 KiB
HTML
<!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=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.4"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>DNA Calib: trio::Readable 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="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 id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">DNA Calib<span id="projectnumber"> 1.1</span>
|
|
</div>
|
|
<div id="projectbrief">Project brief</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.4 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search",'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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(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"><a class="el" href="namespacetrio.html">trio</a></li><li class="navelem"><a class="el" href="classtrio_1_1Readable.html">Readable</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pro-methods">Protected Member Functions</a> |
|
|
<a href="classtrio_1_1Readable-members.html">List of all members</a> </div>
|
|
<div class="headertitle"><div class="title">trio::Readable Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="Concepts_8h_source.html">Concepts.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for trio::Readable:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classtrio_1_1Readable__inherit__graph.png" border="0" usemap="#atrio_1_1Readable_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="atrio_1_1Readable_inherit__map" id="atrio_1_1Readable_inherit__map">
|
|
<area shape="rect" title=" " alt="" coords="367,5,470,112"/>
|
|
<area shape="rect" href="classtrio_1_1BoundedIOStream.html" title=" " alt="" coords="242,160,398,296"/>
|
|
<area shape="rect" href="classtrio_1_1anonymous__namespace_02MemoryStreamImpl_8cpp_03_1_1MemoryReader.html" title=" " alt="" coords="423,160,612,296"/>
|
|
<area shape="rect" href="classtrio_1_1FileStream.html" title="Standard file stream." alt="" coords="55,351,169,531"/>
|
|
<area shape="rect" href="classtrio_1_1MemoryMappedFileStream.html" title="Memory mapped file stream." alt="" coords="217,351,423,531"/>
|
|
<area shape="rect" href="classtrio_1_1MemoryStream.html" title="In-memory stream." alt="" coords="465,344,604,539"/>
|
|
<area shape="rect" href="classtrio_1_1FileStreamImpl.html" title=" " alt="" coords="5,609,168,921"/>
|
|
<area shape="rect" href="classtrio_1_1MemoryMappedFileStreamFallback.html" title=" " alt="" coords="193,587,447,943"/>
|
|
<area shape="rect" href="classtrio_1_1MemoryStreamImpl.html" title=" " alt="" coords="472,631,635,899"/>
|
|
</map>
|
|
</div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for trio::Readable:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classtrio_1_1Readable__coll__graph.png" border="0" usemap="#atrio_1_1Readable_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="atrio_1_1Readable_coll__map" id="atrio_1_1Readable_coll__map">
|
|
<area shape="rect" title=" " alt="" coords="5,5,108,112"/>
|
|
</map>
|
|
</div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a134ad61b17c812f7aa2d912fc96d36f9"><td class="memItemLeft" align="right" valign="top">virtual std::size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classtrio_1_1Readable.html#a134ad61b17c812f7aa2d912fc96d36f9">read</a> (char *destination, std::size_t size)=0</td></tr>
|
|
<tr class="memdesc:a134ad61b17c812f7aa2d912fc96d36f9"><td class="mdescLeft"> </td><td class="mdescRight">Read bytes from stream into the given buffer. <a href="classtrio_1_1Readable.html#a134ad61b17c812f7aa2d912fc96d36f9">More...</a><br /></td></tr>
|
|
<tr class="separator:a134ad61b17c812f7aa2d912fc96d36f9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae7272a2547bb33c20c9b37493491c6c1"><td class="memItemLeft" align="right" valign="top">virtual std::size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classtrio_1_1Readable.html#ae7272a2547bb33c20c9b37493491c6c1">read</a> (<a class="el" href="classtrio_1_1Writable.html">Writable</a> *destination, std::size_t size)=0</td></tr>
|
|
<tr class="memdesc:ae7272a2547bb33c20c9b37493491c6c1"><td class="mdescLeft"> </td><td class="mdescRight">Read bytes from this stream into the given stream. <a href="classtrio_1_1Readable.html#ae7272a2547bb33c20c9b37493491c6c1">More...</a><br /></td></tr>
|
|
<tr class="separator:ae7272a2547bb33c20c9b37493491c6c1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
|
|
Protected Member Functions</h2></td></tr>
|
|
<tr class="memitem:a49421a76a150a17207dc2d896d73d7a7"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classtrio_1_1Readable.html#a49421a76a150a17207dc2d896d73d7a7">~Readable</a> ()</td></tr>
|
|
<tr class="separator:a49421a76a150a17207dc2d896d73d7a7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a49421a76a150a17207dc2d896d73d7a7" name="a49421a76a150a17207dc2d896d73d7a7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a49421a76a150a17207dc2d896d73d7a7">◆ </a></span>~Readable()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">trio::Readable::~Readable </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span><span class="mlabel">default</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a134ad61b17c812f7aa2d912fc96d36f9" name="a134ad61b17c812f7aa2d912fc96d36f9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a134ad61b17c812f7aa2d912fc96d36f9">◆ </a></span>read() <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual std::size_t trio::Readable::read </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>destination</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">std::size_t </td>
|
|
<td class="paramname"><em>size</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Read bytes from stream into the given buffer. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">destination</td><td>Destination buffer into which the data is going to be read from the stream. </td></tr>
|
|
<tr><td class="paramname">size</td><td>Number of bytes to read from stream. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Number of bytes read. </dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="classtrio_1_1FileStreamImpl.html#abf0a546ad27b383f94b94e58a9210845">trio::FileStreamImpl</a>, <a class="el" href="classtrio_1_1MemoryMappedFileStreamFallback.html#a864b9b75d23fe1ba0ea258b373bdddd2">trio::MemoryMappedFileStreamFallback</a>, <a class="el" href="classtrio_1_1anonymous__namespace_02MemoryStreamImpl_8cpp_03_1_1MemoryReader.html#a38427a9a781125a6561b3028fe6ecde5">trio::anonymous_namespace{MemoryStreamImpl.cpp}::MemoryReader</a>, and <a class="el" href="classtrio_1_1MemoryStreamImpl.html#a4f661e5c8c728e64bef2b19f5e16cfa9">trio::MemoryStreamImpl</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="classtrio_1_1FileStreamImpl.html#a876dfedc5ad235e338e53b6ab80d087d">trio::FileStreamImpl::write()</a>, <a class="el" href="classtrio_1_1anonymous__namespace_02MemoryStreamImpl_8cpp_03_1_1MemoryWriter.html#a9c1479f6c1a5db074cd8a280f03afab5">trio::anonymous_namespace{MemoryStreamImpl.cpp}::MemoryWriter::write()</a>, and <a class="el" href="classtrio_1_1MemoryStreamImpl.html#ac83e4c44edeca8b430aec1fe554fc350">trio::MemoryStreamImpl::write()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae7272a2547bb33c20c9b37493491c6c1" name="ae7272a2547bb33c20c9b37493491c6c1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae7272a2547bb33c20c9b37493491c6c1">◆ </a></span>read() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual std::size_t trio::Readable::read </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classtrio_1_1Writable.html">Writable</a> * </td>
|
|
<td class="paramname"><em>destination</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">std::size_t </td>
|
|
<td class="paramname"><em>size</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Read bytes from this stream into the given stream. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">destination</td><td>Destination stream into which the data is going to be read from this stream. </td></tr>
|
|
<tr><td class="paramname">size</td><td>Number of bytes to read from stream. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Number of bytes read. </dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="classtrio_1_1FileStreamImpl.html#a6ea1c44150f144f5b632d4c32f62f08c">trio::FileStreamImpl</a>, <a class="el" href="classtrio_1_1MemoryMappedFileStreamFallback.html#a4d270f7f74be83be888cb550f71de656">trio::MemoryMappedFileStreamFallback</a>, <a class="el" href="classtrio_1_1anonymous__namespace_02MemoryStreamImpl_8cpp_03_1_1MemoryReader.html#a4d05920810106ba6bc9e22ab23b7f939">trio::anonymous_namespace{MemoryStreamImpl.cpp}::MemoryReader</a>, and <a class="el" href="classtrio_1_1MemoryStreamImpl.html#a1b9085ee7ff1210ca46142414cadbedc">trio::MemoryStreamImpl</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li><a class="el" href="Concepts_8h_source.html">Concepts.h</a></li>
|
|
<li><a class="el" href="Concepts_8cpp.html">Concepts.cpp</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
|
</small></address>
|
|
</body>
|
|
</html>
|