Files
CocoaTweet/help/html/structnlohmann_1_1detail_1_1input__adapter__protocol.html
T

172 lines
9.9 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::input_adapter_protocol Struct 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_1input__adapter__protocol.html">input_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_1input__adapter__protocol-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">nlohmann::detail::input_adapter_protocol Struct Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p>abstract input adapter interface
<a href="structnlohmann_1_1detail_1_1input__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::input_adapter_protocol:</div>
<div class="dyncontent">
<div class="center"><img src="structnlohmann_1_1detail_1_1input__adapter__protocol__inherit__graph.png" border="0" usemap="#nlohmann_1_1detail_1_1input__adapter__protocol_inherit__map" alt="Inheritance graph"/></div>
<map name="nlohmann_1_1detail_1_1input__adapter__protocol_inherit__map" id="nlohmann_1_1detail_1_1input__adapter__protocol_inherit__map">
<area shape="rect" title="abstract input adapter interface" alt="" coords="5,104,179,145"/>
<area shape="rect" href="classnlohmann_1_1detail_1_1file__input__adapter.html" title=" " alt="" coords="233,5,394,47"/>
<area shape="rect" href="classnlohmann_1_1detail_1_1input__buffer__adapter.html" title="input adapter for buffer input" alt="" coords="227,71,400,112"/>
<area shape="rect" href="classnlohmann_1_1detail_1_1input__stream__adapter.html" title=" " alt="" coords="227,136,400,177"/>
<area shape="rect" href="classnlohmann_1_1detail_1_1wide__string__input__adapter.html" title=" " alt="" coords="228,202,399,258"/>
</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:aac10a6a4048a8ce8e2ed50277692a3ca"><td class="memItemLeft" align="right" valign="top">virtual std::char_traits&lt; char &gt;::int_type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnlohmann_1_1detail_1_1input__adapter__protocol.html#aac10a6a4048a8ce8e2ed50277692a3ca">get_character</a> ()=0</td></tr>
<tr class="memdesc:aac10a6a4048a8ce8e2ed50277692a3ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">get a character [0,255] or std::char_traits&lt;char&gt;::eof(). <a href="structnlohmann_1_1detail_1_1input__adapter__protocol.html#aac10a6a4048a8ce8e2ed50277692a3ca">More...</a><br /></td></tr>
<tr class="separator:aac10a6a4048a8ce8e2ed50277692a3ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92dac74def4ac5adacd0684088bd4082"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnlohmann_1_1detail_1_1input__adapter__protocol.html#a92dac74def4ac5adacd0684088bd4082">~input_adapter_protocol</a> ()=default</td></tr>
<tr class="separator:a92dac74def4ac5adacd0684088bd4082"><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>abstract input adapter interface </p>
<p>Produces a stream of std::char_traits&lt;char&gt;::int_type characters from a std::istream, a buffer, or some other input type. Accepts the return of exactly one non-EOF character for future input. The int_type characters returned consist of all valid char values as positive values (typically unsigned char), plus an EOF value outside that range, specified by the value of the function std::char_traits&lt;char&gt;::eof(). This value is typically -1, but could be any arbitrary value which is not a valid char value. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a92dac74def4ac5adacd0684088bd4082"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92dac74def4ac5adacd0684088bd4082">&#9670;&nbsp;</a></span>~input_adapter_protocol()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual nlohmann::detail::input_adapter_protocol::~input_adapter_protocol </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="aac10a6a4048a8ce8e2ed50277692a3ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac10a6a4048a8ce8e2ed50277692a3ca">&#9670;&nbsp;</a></span>get_character()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual std::char_traits&lt;char&gt;::int_type nlohmann::detail::input_adapter_protocol::get_character </td>
<td>(</td>
<td class="paramname"></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>get a character [0,255] or std::char_traits&lt;char&gt;::eof(). </p>
<p>Implemented in <a class="el" href="classnlohmann_1_1detail_1_1input__stream__adapter.html#ae0760af923583de6354725e901d1869d">nlohmann::detail::input_stream_adapter</a>, <a class="el" href="classnlohmann_1_1detail_1_1wide__string__input__adapter.html#abb62b34cf77e557ce5321b7f2490c3b0">nlohmann::detail::wide_string_input_adapter&lt; WideStringType &gt;</a>, <a class="el" href="classnlohmann_1_1detail_1_1input__buffer__adapter.html#ae9e195b04f3551fafb0925aafba00124">nlohmann::detail::input_buffer_adapter</a>, <a class="el" href="classnlohmann_1_1detail_1_1file__input__adapter.html#a0d4ff48617c8f63c30babdfd09482329">nlohmann::detail::file_input_adapter</a>, <a class="el" href="classnlohmann_1_1detail_1_1wide__string__input__adapter.html#ad8e32e4b47dc63a2d88f5f203eef019b">nlohmann::detail::wide_string_input_adapter&lt; WideStringType &gt;</a>, <a class="el" href="classnlohmann_1_1detail_1_1file__input__adapter.html#a300fa4e2da1891e97eb0d85bf14cb022">nlohmann::detail::file_input_adapter</a>, and <a class="el" href="classnlohmann_1_1detail_1_1input__stream__adapter.html#ac6c760c5df3a85b5800b4271c09e8671">nlohmann::detail::input_stream_adapter</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>