Files
CocoaTweet/help/html/structnlohmann_1_1detail_1_1output__adapter__protocol.html
T

320 lines
20 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>CocoaTweet: nlohmann::detail::output_adapter_protocol&lt; CharType &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="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">CocoaTweet
</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="namespacenlohmann.html">nlohmann</a></li><li class="navelem"><a class="el" href="namespacenlohmann_1_1detail.html">detail</a></li><li class="navelem"><a class="el" href="structnlohmann_1_1detail_1_1output__adapter__protocol.html">output_adapter_protocol</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="structnlohmann_1_1detail_1_1output__adapter__protocol-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">nlohmann::detail::output_adapter_protocol&lt; CharType &gt; Struct Template Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p>abstract output adapter interface
<a href="structnlohmann_1_1detail_1_1output__adapter__protocol.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="build_2__deps_2json-src_2include_2nlohmann_2json_8hpp_source.html">json.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for nlohmann::detail::output_adapter_protocol&lt; CharType &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="structnlohmann_1_1detail_1_1output__adapter__protocol__inherit__graph.png" border="0" usemap="#nlohmann_1_1detail_1_1output__adapter__protocol_3_01CharType_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="nlohmann_1_1detail_1_1output__adapter__protocol_3_01CharType_01_4_inherit__map" id="nlohmann_1_1detail_1_1output__adapter__protocol_3_01CharType_01_4_inherit__map">
<area shape="rect" title="abstract output adapter interface" alt="" coords="5,71,235,112"/>
<area shape="rect" href="classnlohmann_1_1detail_1_1output__stream__adapter.html" title="output adapter for output streams" alt="" coords="283,5,505,47"/>
<area shape="rect" href="classnlohmann_1_1detail_1_1output__string__adapter.html" title="output adapter for basic_string" alt="" coords="287,71,501,112"/>
<area shape="rect" href="classnlohmann_1_1detail_1_1output__vector__adapter.html" title="output adapter for byte vectors" alt="" coords="285,136,503,177"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></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:a3381896fe1be557f591de2e917cdc7d5"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespacenlohmann_1_1detail.html#a59fca69799f6b9e366710cb9043aa77d">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnlohmann_1_1detail_1_1output__adapter__protocol.html#a3381896fe1be557f591de2e917cdc7d5">write_character</a> (CharType c)=0</td></tr>
<tr class="separator:a3381896fe1be557f591de2e917cdc7d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f410a164e0eda17cf6561114b0eee4a"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespacenlohmann_1_1detail.html#a59fca69799f6b9e366710cb9043aa77d">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnlohmann_1_1detail_1_1output__adapter__protocol.html#a2f410a164e0eda17cf6561114b0eee4a">write_characters</a> (const CharType *s, std::size_t length)=0</td></tr>
<tr class="separator:a2f410a164e0eda17cf6561114b0eee4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad71cdc057030f8a775a191face25061a"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnlohmann_1_1detail_1_1output__adapter__protocol.html#ad71cdc057030f8a775a191face25061a">~output_adapter_protocol</a> ()=default</td></tr>
<tr class="separator:ad71cdc057030f8a775a191face25061a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3381896fe1be557f591de2e917cdc7d5"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespacenlohmann_1_1detail.html#a59fca69799f6b9e366710cb9043aa77d">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnlohmann_1_1detail_1_1output__adapter__protocol.html#a3381896fe1be557f591de2e917cdc7d5">write_character</a> (CharType c)=0</td></tr>
<tr class="separator:a3381896fe1be557f591de2e917cdc7d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f410a164e0eda17cf6561114b0eee4a"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespacenlohmann_1_1detail.html#a59fca69799f6b9e366710cb9043aa77d">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnlohmann_1_1detail_1_1output__adapter__protocol.html#a2f410a164e0eda17cf6561114b0eee4a">write_characters</a> (const CharType *s, std::size_t length)=0</td></tr>
<tr class="separator:a2f410a164e0eda17cf6561114b0eee4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad71cdc057030f8a775a191face25061a"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnlohmann_1_1detail_1_1output__adapter__protocol.html#ad71cdc057030f8a775a191face25061a">~output_adapter_protocol</a> ()=default</td></tr>
<tr class="separator:ad71cdc057030f8a775a191face25061a"><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 CharType&gt;<br />
struct nlohmann::detail::output_adapter_protocol&lt; CharType &gt;</h3>
<p>abstract output adapter interface </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ad71cdc057030f8a775a191face25061a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad71cdc057030f8a775a191face25061a">&#9670;&nbsp;</a></span>~output_adapter_protocol() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename CharType &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="structnlohmann_1_1detail_1_1output__adapter__protocol.html">nlohmann::detail::output_adapter_protocol</a>&lt; CharType &gt;::~<a class="el" href="structnlohmann_1_1detail_1_1output__adapter__protocol.html">output_adapter_protocol</a> </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 class="mlabel">default</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ad71cdc057030f8a775a191face25061a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad71cdc057030f8a775a191face25061a">&#9670;&nbsp;</a></span>~output_adapter_protocol() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename CharType &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="structnlohmann_1_1detail_1_1output__adapter__protocol.html">nlohmann::detail::output_adapter_protocol</a>&lt; CharType &gt;::~<a class="el" href="structnlohmann_1_1detail_1_1output__adapter__protocol.html">output_adapter_protocol</a> </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 class="mlabel">default</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a3381896fe1be557f591de2e917cdc7d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3381896fe1be557f591de2e917cdc7d5">&#9670;&nbsp;</a></span>write_character() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename CharType &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="namespacenlohmann_1_1detail.html#a59fca69799f6b9e366710cb9043aa77d">void</a> <a class="el" href="structnlohmann_1_1detail_1_1output__adapter__protocol.html">nlohmann::detail::output_adapter_protocol</a>&lt; CharType &gt;::write_character </td>
<td>(</td>
<td class="paramtype">CharType&#160;</td>
<td class="paramname"><em>c</em></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>Implemented in <a class="el" href="classnlohmann_1_1detail_1_1output__string__adapter.html#a2d76cc6c88ddbc196a63fcfcac9ee7d1">nlohmann::detail::output_string_adapter&lt; CharType, StringType &gt;</a>, <a class="el" href="classnlohmann_1_1detail_1_1output__stream__adapter.html#a6e2698c76b200b2d8fac6cebfc43a245">nlohmann::detail::output_stream_adapter&lt; CharType &gt;</a>, <a class="el" href="classnlohmann_1_1detail_1_1output__vector__adapter.html#af6a22d4210bb7bc2da66021300ddd6db">nlohmann::detail::output_vector_adapter&lt; CharType &gt;</a>, <a class="el" href="classnlohmann_1_1detail_1_1output__string__adapter.html#a2d76cc6c88ddbc196a63fcfcac9ee7d1">nlohmann::detail::output_string_adapter&lt; CharType, StringType &gt;</a>, <a class="el" href="classnlohmann_1_1detail_1_1output__stream__adapter.html#a6e2698c76b200b2d8fac6cebfc43a245">nlohmann::detail::output_stream_adapter&lt; CharType &gt;</a>, and <a class="el" href="classnlohmann_1_1detail_1_1output__vector__adapter.html#af6a22d4210bb7bc2da66021300ddd6db">nlohmann::detail::output_vector_adapter&lt; CharType &gt;</a>.</p>
</div>
</div>
<a id="a3381896fe1be557f591de2e917cdc7d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3381896fe1be557f591de2e917cdc7d5">&#9670;&nbsp;</a></span>write_character() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename CharType &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="namespacenlohmann_1_1detail.html#a59fca69799f6b9e366710cb9043aa77d">void</a> <a class="el" href="structnlohmann_1_1detail_1_1output__adapter__protocol.html">nlohmann::detail::output_adapter_protocol</a>&lt; CharType &gt;::write_character </td>
<td>(</td>
<td class="paramtype">CharType&#160;</td>
<td class="paramname"><em>c</em></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>Implemented in <a class="el" href="classnlohmann_1_1detail_1_1output__string__adapter.html#a2d76cc6c88ddbc196a63fcfcac9ee7d1">nlohmann::detail::output_string_adapter&lt; CharType, StringType &gt;</a>, <a class="el" href="classnlohmann_1_1detail_1_1output__stream__adapter.html#a6e2698c76b200b2d8fac6cebfc43a245">nlohmann::detail::output_stream_adapter&lt; CharType &gt;</a>, <a class="el" href="classnlohmann_1_1detail_1_1output__vector__adapter.html#af6a22d4210bb7bc2da66021300ddd6db">nlohmann::detail::output_vector_adapter&lt; CharType &gt;</a>, <a class="el" href="classnlohmann_1_1detail_1_1output__string__adapter.html#a2d76cc6c88ddbc196a63fcfcac9ee7d1">nlohmann::detail::output_string_adapter&lt; CharType, StringType &gt;</a>, <a class="el" href="classnlohmann_1_1detail_1_1output__stream__adapter.html#a6e2698c76b200b2d8fac6cebfc43a245">nlohmann::detail::output_stream_adapter&lt; CharType &gt;</a>, and <a class="el" href="classnlohmann_1_1detail_1_1output__vector__adapter.html#af6a22d4210bb7bc2da66021300ddd6db">nlohmann::detail::output_vector_adapter&lt; CharType &gt;</a>.</p>
</div>
</div>
<a id="a2f410a164e0eda17cf6561114b0eee4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f410a164e0eda17cf6561114b0eee4a">&#9670;&nbsp;</a></span>write_characters() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename CharType &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="namespacenlohmann_1_1detail.html#a59fca69799f6b9e366710cb9043aa77d">void</a> <a class="el" href="structnlohmann_1_1detail_1_1output__adapter__protocol.html">nlohmann::detail::output_adapter_protocol</a>&lt; CharType &gt;::write_characters </td>
<td>(</td>
<td class="paramtype">const CharType *&#160;</td>
<td class="paramname"><em>s</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::size_t&#160;</td>
<td class="paramname"><em>length</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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implemented in <a class="el" href="classnlohmann_1_1detail_1_1output__string__adapter.html#ab5ea4da075305d225dfd84ad997e8747">nlohmann::detail::output_string_adapter&lt; CharType, StringType &gt;</a>, <a class="el" href="classnlohmann_1_1detail_1_1output__stream__adapter.html#ad61375497a7d03cb0bdcddfdaad185d0">nlohmann::detail::output_stream_adapter&lt; CharType &gt;</a>, <a class="el" href="classnlohmann_1_1detail_1_1output__vector__adapter.html#ad6f6c461dec7bedd5359454dc22fc9aa">nlohmann::detail::output_vector_adapter&lt; CharType &gt;</a>, <a class="el" href="classnlohmann_1_1detail_1_1output__string__adapter.html#ab5ea4da075305d225dfd84ad997e8747">nlohmann::detail::output_string_adapter&lt; CharType, StringType &gt;</a>, <a class="el" href="classnlohmann_1_1detail_1_1output__stream__adapter.html#ad61375497a7d03cb0bdcddfdaad185d0">nlohmann::detail::output_stream_adapter&lt; CharType &gt;</a>, and <a class="el" href="classnlohmann_1_1detail_1_1output__vector__adapter.html#ad6f6c461dec7bedd5359454dc22fc9aa">nlohmann::detail::output_vector_adapter&lt; CharType &gt;</a>.</p>
</div>
</div>
<a id="a2f410a164e0eda17cf6561114b0eee4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f410a164e0eda17cf6561114b0eee4a">&#9670;&nbsp;</a></span>write_characters() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename CharType &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="namespacenlohmann_1_1detail.html#a59fca69799f6b9e366710cb9043aa77d">void</a> <a class="el" href="structnlohmann_1_1detail_1_1output__adapter__protocol.html">nlohmann::detail::output_adapter_protocol</a>&lt; CharType &gt;::write_characters </td>
<td>(</td>
<td class="paramtype">const CharType *&#160;</td>
<td class="paramname"><em>s</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::size_t&#160;</td>
<td class="paramname"><em>length</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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implemented in <a class="el" href="classnlohmann_1_1detail_1_1output__string__adapter.html#ab5ea4da075305d225dfd84ad997e8747">nlohmann::detail::output_string_adapter&lt; CharType, StringType &gt;</a>, <a class="el" href="classnlohmann_1_1detail_1_1output__stream__adapter.html#ad61375497a7d03cb0bdcddfdaad185d0">nlohmann::detail::output_stream_adapter&lt; CharType &gt;</a>, <a class="el" href="classnlohmann_1_1detail_1_1output__vector__adapter.html#ad6f6c461dec7bedd5359454dc22fc9aa">nlohmann::detail::output_vector_adapter&lt; CharType &gt;</a>, <a class="el" href="classnlohmann_1_1detail_1_1output__string__adapter.html#ab5ea4da075305d225dfd84ad997e8747">nlohmann::detail::output_string_adapter&lt; CharType, StringType &gt;</a>, <a class="el" href="classnlohmann_1_1detail_1_1output__stream__adapter.html#ad61375497a7d03cb0bdcddfdaad185d0">nlohmann::detail::output_stream_adapter&lt; CharType &gt;</a>, and <a class="el" href="classnlohmann_1_1detail_1_1output__vector__adapter.html#ad6f6c461dec7bedd5359454dc22fc9aa">nlohmann::detail::output_vector_adapter&lt; CharType &gt;</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>build/_deps/json-src/include/nlohmann/<a class="el" href="build_2__deps_2json-src_2include_2nlohmann_2json_8hpp_source.html">json.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated 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>