shaka-packager/docs/db/de2/classshaka_1_1media_1_1Line...

145 lines
7.4 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=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Shaka Packager SDK: shaka::media::LineReader 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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Shaka Packager SDK
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<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');
/* @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"><a class="el" href="../../d8/daf/namespaceshaka.html">shaka</a></li><li class="navelem"><b>media</b></li><li class="navelem"><a class="el" href="../../db/de2/classshaka_1_1media_1_1LineReader.html">LineReader</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="../../d2/d26/classshaka_1_1media_1_1LineReader-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">shaka::media::LineReader Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<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:aefbf919837a91de33bac0f14feb25a96"><td class="memItemLeft" align="right" valign="top"><a id="aefbf919837a91de33bac0f14feb25a96"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/de2/classshaka_1_1media_1_1LineReader.html#aefbf919837a91de33bac0f14feb25a96">PushData</a> (const uint8_t *data, size_t data_size)</td></tr>
<tr class="memdesc:aefbf919837a91de33bac0f14feb25a96"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pushes data onto the end of the buffer. <br /></td></tr>
<tr class="separator:aefbf919837a91de33bac0f14feb25a96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad75892efb765091aabcede75dac10cc3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/de2/classshaka_1_1media_1_1LineReader.html#ad75892efb765091aabcede75dac10cc3">Next</a> (std::string *out)</td></tr>
<tr class="separator:ad75892efb765091aabcede75dac10cc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a225861ff0be8f69c62a3649ca993e50a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/de2/classshaka_1_1media_1_1LineReader.html#a225861ff0be8f69c62a3649ca993e50a">Flush</a> ()</td></tr>
<tr class="separator:a225861ff0be8f69c62a3649ca993e50a"><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 class="definition">Definition at line <a class="el" href="../../d4/d0c/text__readers_8h_source.html#l00022">22</a> of file <a class="el" href="../../d4/d0c/text__readers_8h_source.html">text_readers.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a225861ff0be8f69c62a3649ca993e50a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a225861ff0be8f69c62a3649ca993e50a">&#9670;&nbsp;</a></span>Flush()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void shaka::media::LineReader::Flush </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Indicates that no more data is coming and that calls to Next should return even possibly-incomplete data. </p>
<p class="definition">Definition at line <a class="el" href="../../d8/d51/text__readers_8cc_source.html#l00067">67</a> of file <a class="el" href="../../d8/d51/text__readers_8cc_source.html">text_readers.cc</a>.</p>
</div>
</div>
<a id="ad75892efb765091aabcede75dac10cc3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad75892efb765091aabcede75dac10cc3">&#9670;&nbsp;</a></span>Next()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool shaka::media::LineReader::Next </td>
<td>(</td>
<td class="paramtype">std::string *&#160;</td>
<td class="paramname"><em>out</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads the next line from the buffer. </p><dl class="section return"><dt>Returns</dt><dd>True if a line is read, false if there's no line in the buffer. </dd></dl>
<p class="definition">Definition at line <a class="el" href="../../d8/d51/text__readers_8cc_source.html#l00024">24</a> of file <a class="el" href="../../d8/d51/text__readers_8cc_source.html">text_readers.cc</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>packager/media/formats/webvtt/<a class="el" href="../../d4/d0c/text__readers_8h_source.html">text_readers.h</a></li>
<li>packager/media/formats/webvtt/<a class="el" href="../../d8/d51/text__readers_8cc_source.html">text_readers.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Jun 22 2021 00:16:05 for Shaka Packager SDK by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>