blob: 216a00fb5f22c67a25a39fbdce4c2f64fe4e1591 [file] [log] [blame]
<!-- HTML header for doxygen 1.8.7-->
<!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.16"/>
<title>RapidJSON: rapidjson::GenericInsituStringStream&lt; Encoding &gt; Struct Template 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="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="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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygenextra.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="topbanner"><a href="https://github.com/Tencent/rapidjson" title="RapidJSON GitHub"><i class="githublogo"></i></a></div>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<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>
</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('structrapidjson_1_1_generic_insitu_string_stream.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structrapidjson_1_1_generic_insitu_string_stream-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">rapidjson::GenericInsituStringStream&lt; Encoding &gt; Struct Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A read-write string stream.
<a href="structrapidjson_1_1_generic_insitu_string_stream.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="stream_8h_source.html">stream.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a3a7ed47ee193d1e5f850aa841b743631"><td class="memItemLeft" align="right" valign="top"><a id="a3a7ed47ee193d1e5f850aa841b743631"></a>
typedef Encoding::Ch&#160;</td><td class="memItemRight" valign="bottom"><b>Ch</b></td></tr>
<tr class="separator:a3a7ed47ee193d1e5f850aa841b743631"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:a5a17e183fec782bf9bc11d247ffbee73"><td class="memItemLeft" align="right" valign="top"><a id="a5a17e183fec782bf9bc11d247ffbee73"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>GenericInsituStringStream</b> (Ch *src)</td></tr>
<tr class="separator:a5a17e183fec782bf9bc11d247ffbee73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f88ca6c2d9ccd0c201ddb37dae39298"><td class="memItemLeft" align="right" valign="top"><a id="a0f88ca6c2d9ccd0c201ddb37dae39298"></a>
Ch&#160;</td><td class="memItemRight" valign="bottom"><b>Peek</b> ()</td></tr>
<tr class="separator:a0f88ca6c2d9ccd0c201ddb37dae39298"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99d4a96da7d602895136c90fed68695f"><td class="memItemLeft" align="right" valign="top"><a id="a99d4a96da7d602895136c90fed68695f"></a>
Ch&#160;</td><td class="memItemRight" valign="bottom"><b>Take</b> ()</td></tr>
<tr class="separator:a99d4a96da7d602895136c90fed68695f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a94ae3504087a55c85c73772eaf4405"><td class="memItemLeft" align="right" valign="top"><a id="a2a94ae3504087a55c85c73772eaf4405"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><b>Tell</b> ()</td></tr>
<tr class="separator:a2a94ae3504087a55c85c73772eaf4405"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6e262e1319e2645870082a2da03ce50"><td class="memItemLeft" align="right" valign="top"><a id="ab6e262e1319e2645870082a2da03ce50"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Put</b> (Ch c)</td></tr>
<tr class="separator:ab6e262e1319e2645870082a2da03ce50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a136bffd9cb0f8dc4aa3b768f14c50546"><td class="memItemLeft" align="right" valign="top"><a id="a136bffd9cb0f8dc4aa3b768f14c50546"></a>
Ch *&#160;</td><td class="memItemRight" valign="bottom"><b>PutBegin</b> ()</td></tr>
<tr class="separator:a136bffd9cb0f8dc4aa3b768f14c50546"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75f19e02d6aa78478aab0d5a5c03c1c8"><td class="memItemLeft" align="right" valign="top"><a id="a75f19e02d6aa78478aab0d5a5c03c1c8"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><b>PutEnd</b> (Ch *begin)</td></tr>
<tr class="separator:a75f19e02d6aa78478aab0d5a5c03c1c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95abb3fe7cc3b08ecb70d804eb234dc2"><td class="memItemLeft" align="right" valign="top"><a id="a95abb3fe7cc3b08ecb70d804eb234dc2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Flush</b> ()</td></tr>
<tr class="separator:a95abb3fe7cc3b08ecb70d804eb234dc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33114ed86002c6ed6f1ca0bbbe3d5141"><td class="memItemLeft" align="right" valign="top"><a id="a33114ed86002c6ed6f1ca0bbbe3d5141"></a>
Ch *&#160;</td><td class="memItemRight" valign="bottom"><b>Push</b> (size_t count)</td></tr>
<tr class="separator:a33114ed86002c6ed6f1ca0bbbe3d5141"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affff67ccd9e6cd2816fd7e67cb5b147d"><td class="memItemLeft" align="right" valign="top"><a id="affff67ccd9e6cd2816fd7e67cb5b147d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Pop</b> (size_t count)</td></tr>
<tr class="separator:affff67ccd9e6cd2816fd7e67cb5b147d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ae68a80f99fd484704af045a0ccd9c00f"><td class="memItemLeft" align="right" valign="top"><a id="ae68a80f99fd484704af045a0ccd9c00f"></a>
Ch *&#160;</td><td class="memItemRight" valign="bottom"><b>src_</b></td></tr>
<tr class="separator:ae68a80f99fd484704af045a0ccd9c00f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6b5cf07cdb691f99abd52a672790d8a"><td class="memItemLeft" align="right" valign="top"><a id="ac6b5cf07cdb691f99abd52a672790d8a"></a>
Ch *&#160;</td><td class="memItemRight" valign="bottom"><b>dst_</b></td></tr>
<tr class="separator:ac6b5cf07cdb691f99abd52a672790d8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d611d9f5372d457373b90a711dd2717"><td class="memItemLeft" align="right" valign="top"><a id="a6d611d9f5372d457373b90a711dd2717"></a>
Ch *&#160;</td><td class="memItemRight" valign="bottom"><b>head_</b></td></tr>
<tr class="separator:a6d611d9f5372d457373b90a711dd2717"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename Encoding&gt;<br />
struct rapidjson::GenericInsituStringStream&lt; Encoding &gt;</h3>
<p>A read-write string stream. </p>
<p>This string stream is particularly designed for in-situ parsing. </p><dl class="section note"><dt>Note</dt><dd>implements <a class="el" href="classrapidjson_1_1_stream.html" title="Concept for reading and writing characters.">Stream</a> concept </dd></dl>
</div><hr/>The documentation for this struct was generated from the following files:<ul>
<li>include/rapidjson/<a class="el" href="fwd_8h_source.html">fwd.h</a></li>
<li>include/rapidjson/<a class="el" href="stream_8h_source.html">stream.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.7-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespacerapidjson.html">rapidjson</a></li><li class="navelem"><a class="el" href="structrapidjson_1_1_generic_insitu_string_stream.html">GenericInsituStringStream</a></li>
</ul>
</div>
</body>
</html>