You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
532 lines
34 KiB
532 lines
34 KiB
<!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" lang="en-US">
|
|
<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.7"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>Webserv: JSONParser 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">Webserv
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.7 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "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">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> </div>
|
|
<div class="headertitle"><div class="title">JSONParser Class Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="Parser_8hpp_source.html">Parser.hpp</a>></code></p>
|
|
<div class="dynheader">
|
|
Collaboration diagram for JSONParser:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classJSONParser__coll__graph.png" border="0" usemap="#aJSONParser_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="aJSONParser_coll__map" id="aJSONParser_coll__map">
|
|
<area shape="rect" title=" " alt="" coords="5,93,100,119"/>
|
|
<area shape="rect" href="classTokenizer.html" title=" " alt="" coords="11,5,94,31"/>
|
|
</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 id="pub-methods" name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a454c91e50419d949c3c74cd9e49e4d3e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classJSONParser.html#a454c91e50419d949c3c74cd9e49e4d3e">JSONParser</a> (const string filename)</td></tr>
|
|
<tr class="separator:a454c91e50419d949c3c74cd9e49e4d3e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac397e1ef199b5cd553c1dece740a045e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJSONNode.html">JSONNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classJSONParser.html#ac397e1ef199b5cd553c1dece740a045e">parse</a> ()</td></tr>
|
|
<tr class="separator:ac397e1ef199b5cd553c1dece740a045e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acccb70f3b476f4bf15ac2ab4fc6b2389"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJSONNode.html">JSONNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classJSONParser.html#acccb70f3b476f4bf15ac2ab4fc6b2389">parseObject</a> ()</td></tr>
|
|
<tr class="separator:acccb70f3b476f4bf15ac2ab4fc6b2389"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7d5a3239976c55ca83d974c886146f88"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJSONNode.html">JSONNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classJSONParser.html#a7d5a3239976c55ca83d974c886146f88">parseList</a> ()</td></tr>
|
|
<tr class="separator:a7d5a3239976c55ca83d974c886146f88"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1ca29ba38533304c6601eafd249d9ed4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJSONNode.html">JSONNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classJSONParser.html#a1ca29ba38533304c6601eafd249d9ed4">parseString</a> ()</td></tr>
|
|
<tr class="separator:a1ca29ba38533304c6601eafd249d9ed4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2d1a9d64e8bedc107cb5c9e7c4143fdf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJSONNode.html">JSONNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classJSONParser.html#a2d1a9d64e8bedc107cb5c9e7c4143fdf">parseNumber</a> ()</td></tr>
|
|
<tr class="separator:a2d1a9d64e8bedc107cb5c9e7c4143fdf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afc1f8f30a01440eae32445b153d6e572"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJSONNode.html">JSONNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classJSONParser.html#afc1f8f30a01440eae32445b153d6e572">parseBoolean</a> ()</td></tr>
|
|
<tr class="separator:afc1f8f30a01440eae32445b153d6e572"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a914758f808caf1443960df96d98810cc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJSONNode.html">JSONNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classJSONParser.html#a914758f808caf1443960df96d98810cc">parseNull</a> ()</td></tr>
|
|
<tr class="separator:a914758f808caf1443960df96d98810cc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
|
|
Private Attributes</h2></td></tr>
|
|
<tr class="memitem:a1089fd3496dc6865d0137daec6310905"><td class="memItemLeft" align="right" valign="top">std::fstream </td><td class="memItemRight" valign="bottom"><a class="el" href="classJSONParser.html#a1089fd3496dc6865d0137daec6310905">file</a></td></tr>
|
|
<tr class="separator:a1089fd3496dc6865d0137daec6310905"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0ef04e64c276d2f24d02689ce1c101bc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTokenizer.html">Tokenizer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classJSONParser.html#a0ef04e64c276d2f24d02689ce1c101bc">tokenizer</a></td></tr>
|
|
<tr class="separator:a0ef04e64c276d2f24d02689ce1c101bc"><td class="memSeparator" colspan="2"> </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="Parser_8hpp_source.html#l00004">4</a> of file <a class="el" href="Parser_8hpp_source.html">Parser.hpp</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a454c91e50419d949c3c74cd9e49e4d3e" name="a454c91e50419d949c3c74cd9e49e4d3e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a454c91e50419d949c3c74cd9e49e4d3e">◆ </a></span>JSONParser()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">JSONParser::JSONParser </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const string </td>
|
|
<td class="paramname"><em>filename</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Parser_8cpp_source.html#l00003">3</a> of file <a class="el" href="Parser_8cpp_source.html">Parser.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="ac397e1ef199b5cd553c1dece740a045e" name="ac397e1ef199b5cd553c1dece740a045e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac397e1ef199b5cd553c1dece740a045e">◆ </a></span>parse()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classJSONNode.html">JSONNode</a> * JSONParser::parse </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Parser_8cpp_source.html#l00005">5</a> of file <a class="el" href="Parser_8cpp_source.html">Parser.cpp</a>.</p>
|
|
<div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classJSONParser_ac397e1ef199b5cd553c1dece740a045e_cgraph.png" border="0" usemap="#aclassJSONParser_ac397e1ef199b5cd553c1dece740a045e_cgraph" alt=""/></div>
|
|
<map name="aclassJSONParser_ac397e1ef199b5cd553c1dece740a045e_cgraph" id="aclassJSONParser_ac397e1ef199b5cd553c1dece740a045e_cgraph">
|
|
<area shape="rect" title=" " alt="" coords="5,149,144,175"/>
|
|
<area shape="rect" href="classTokenizer.html#ad1c7c0a8f85fe189acefe26b857b7375" title=" " alt="" coords="878,237,1027,263"/>
|
|
<area shape="rect" href="classTokenizer.html#ace80ed64add3ef2d0ee9f659a182d935" title=" " alt="" coords="629,161,820,187"/>
|
|
<area shape="rect" href="classJSONParser.html#afc1f8f30a01440eae32445b153d6e572" title=" " alt="" coords="629,87,820,112"/>
|
|
<area shape="rect" href="classJSONParser.html#a7d5a3239976c55ca83d974c886146f88" title=" " alt="" coords="192,337,353,363"/>
|
|
<area shape="rect" href="classJSONParser.html#a2d1a9d64e8bedc107cb5c9e7c4143fdf" title=" " alt="" coords="629,313,820,339"/>
|
|
<area shape="rect" href="classJSONParser.html#acccb70f3b476f4bf15ac2ab4fc6b2389" title=" " alt="" coords="401,287,581,312"/>
|
|
<area shape="rect" href="classJSONParser.html#a1ca29ba38533304c6601eafd249d9ed4" title=" " alt="" coords="637,461,813,487"/>
|
|
<area shape="rect" href="classTokenizer.html#a49db8c86447ad2cb543b5b1ea877f34d" title=" " alt="" coords="634,641,815,667"/>
|
|
<area shape="rect" href="classTokenizer.html#a879cee0d079f48f300cb44ddfe3fb2c5" title=" " alt="" coords="1085,230,1287,270"/>
|
|
<area shape="rect" href="classJSONNode.html#a7cfe3d9edfbc49ef0d1d78fa3f294680" title=" " alt="" coords="868,87,1037,112"/>
|
|
<area shape="rect" href="classJSONNode.html#a3c65ea4af29daa3869273af827ebe43c" title=" " alt="" coords="1127,413,1245,439"/>
|
|
<area shape="rect" href="classJSONParser.html#a914758f808caf1443960df96d98810cc" title=" " alt="" coords="643,412,807,437"/>
|
|
<area shape="rect" href="classJSONNode.html#acc698e882b650c5679469ccd376b39db" title=" " alt="" coords="1129,565,1243,591"/>
|
|
<area shape="rect" href="classJSONNode.html#ae4e89e9fbf82c980d2facf7edc1ea68e" title=" " alt="" coords="422,489,561,515"/>
|
|
<area shape="rect" href="classJSONNode.html#a70bb6ffc78aae08eb6afead5cddadee9" title=" " alt="" coords="881,412,1024,437"/>
|
|
<area shape="rect" href="classJSONNode.html#a625fbde0f162e32c4de6b8df32f0a0af" title=" " alt="" coords="869,337,1037,363"/>
|
|
<area shape="rect" href="classJSONNode.html#a0abbf1d52e0c984569af190bcb70e640" title=" " alt="" coords="645,363,804,388"/>
|
|
<area shape="rect" href="classJSONNode.html#acfb95d8ee5d047099424d55f1fc07e3e" title=" " alt="" coords="875,540,1030,565"/>
|
|
</map>
|
|
</div>
|
|
<div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classJSONParser_ac397e1ef199b5cd553c1dece740a045e_icgraph.png" border="0" usemap="#aclassJSONParser_ac397e1ef199b5cd553c1dece740a045e_icgraph" alt=""/></div>
|
|
<map name="aclassJSONParser_ac397e1ef199b5cd553c1dece740a045e_icgraph" id="aclassJSONParser_ac397e1ef199b5cd553c1dece740a045e_icgraph">
|
|
<area shape="rect" title=" " alt="" coords="108,5,247,31"/>
|
|
<area shape="rect" href="webserv_8cpp.html#a0c99d968a34e803d378692bde2e3f18f" title="< The amount of sockets listens" alt="" coords="5,5,60,31"/>
|
|
</map>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="afc1f8f30a01440eae32445b153d6e572" name="afc1f8f30a01440eae32445b153d6e572"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afc1f8f30a01440eae32445b153d6e572">◆ </a></span>parseBoolean()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classJSONNode.html">JSONNode</a> * JSONParser::parseBoolean </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Parser_8cpp_source.html#l00189">189</a> of file <a class="el" href="Parser_8cpp_source.html">Parser.cpp</a>.</p>
|
|
<div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classJSONParser_afc1f8f30a01440eae32445b153d6e572_cgraph.png" border="0" usemap="#aclassJSONParser_afc1f8f30a01440eae32445b153d6e572_cgraph" alt=""/></div>
|
|
<map name="aclassJSONParser_afc1f8f30a01440eae32445b153d6e572_cgraph" id="aclassJSONParser_afc1f8f30a01440eae32445b153d6e572_cgraph">
|
|
<area shape="rect" title=" " alt="" coords="5,38,196,63"/>
|
|
<area shape="rect" href="classTokenizer.html#ad1c7c0a8f85fe189acefe26b857b7375" title=" " alt="" coords="254,13,403,38"/>
|
|
<area shape="rect" href="classJSONNode.html#a7cfe3d9edfbc49ef0d1d78fa3f294680" title=" " alt="" coords="244,62,413,87"/>
|
|
<area shape="rect" href="classTokenizer.html#a879cee0d079f48f300cb44ddfe3fb2c5" title=" " alt="" coords="461,5,663,45"/>
|
|
</map>
|
|
</div>
|
|
<div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classJSONParser_afc1f8f30a01440eae32445b153d6e572_icgraph.png" border="0" usemap="#aclassJSONParser_afc1f8f30a01440eae32445b153d6e572_icgraph" alt=""/></div>
|
|
<map name="aclassJSONParser_afc1f8f30a01440eae32445b153d6e572_icgraph" id="aclassJSONParser_afc1f8f30a01440eae32445b153d6e572_icgraph">
|
|
<area shape="rect" title=" " alt="" coords="732,55,923,80"/>
|
|
<area shape="rect" href="classJSONParser.html#ac397e1ef199b5cd553c1dece740a045e" title=" " alt="" coords="108,31,247,56"/>
|
|
<area shape="rect" href="classJSONParser.html#a7d5a3239976c55ca83d974c886146f88" title=" " alt="" coords="523,55,684,80"/>
|
|
<area shape="rect" href="classJSONParser.html#acccb70f3b476f4bf15ac2ab4fc6b2389" title=" " alt="" coords="295,105,475,131"/>
|
|
<area shape="rect" href="webserv_8cpp.html#a0c99d968a34e803d378692bde2e3f18f" title="< The amount of sockets listens" alt="" coords="5,31,60,56"/>
|
|
</map>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7d5a3239976c55ca83d974c886146f88" name="a7d5a3239976c55ca83d974c886146f88"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7d5a3239976c55ca83d974c886146f88">◆ </a></span>parseList()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classJSONNode.html">JSONNode</a> * JSONParser::parseList </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Parser_8cpp_source.html#l00111">111</a> of file <a class="el" href="Parser_8cpp_source.html">Parser.cpp</a>.</p>
|
|
<div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classJSONParser_a7d5a3239976c55ca83d974c886146f88_cgraph.png" border="0" usemap="#aclassJSONParser_a7d5a3239976c55ca83d974c886146f88_cgraph" alt=""/></div>
|
|
<map name="aclassJSONParser_a7d5a3239976c55ca83d974c886146f88_cgraph" id="aclassJSONParser_a7d5a3239976c55ca83d974c886146f88_cgraph">
|
|
<area shape="rect" title=" " alt="" coords="5,294,167,319"/>
|
|
<area shape="rect" href="classTokenizer.html#ad1c7c0a8f85fe189acefe26b857b7375" title=" " alt="" coords="691,266,841,291"/>
|
|
<area shape="rect" href="classTokenizer.html#ace80ed64add3ef2d0ee9f659a182d935" title=" " alt="" coords="443,166,633,191"/>
|
|
<area shape="rect" href="classJSONNode.html#a3c65ea4af29daa3869273af827ebe43c" title=" " alt="" coords="941,67,1058,92"/>
|
|
<area shape="rect" href="classJSONParser.html#afc1f8f30a01440eae32445b153d6e572" title=" " alt="" coords="443,215,633,240"/>
|
|
<area shape="rect" href="classJSONParser.html#a914758f808caf1443960df96d98810cc" title=" " alt="" coords="456,67,620,92"/>
|
|
<area shape="rect" href="classJSONParser.html#a2d1a9d64e8bedc107cb5c9e7c4143fdf" title=" " alt="" coords="443,116,633,142"/>
|
|
<area shape="rect" href="classJSONParser.html#acccb70f3b476f4bf15ac2ab4fc6b2389" title=" " alt="" coords="215,294,395,319"/>
|
|
<area shape="rect" href="classJSONParser.html#a1ca29ba38533304c6601eafd249d9ed4" title=" " alt="" coords="450,415,626,440"/>
|
|
<area shape="rect" href="classJSONNode.html#acc698e882b650c5679469ccd376b39db" title=" " alt="" coords="943,491,1056,516"/>
|
|
<area shape="rect" href="classTokenizer.html#a49db8c86447ad2cb543b5b1ea877f34d" title=" " alt="" coords="447,366,629,391"/>
|
|
<area shape="rect" href="classJSONNode.html#ae4e89e9fbf82c980d2facf7edc1ea68e" title=" " alt="" coords="235,567,374,592"/>
|
|
<area shape="rect" href="classTokenizer.html#a879cee0d079f48f300cb44ddfe3fb2c5" title=" " alt="" coords="899,258,1100,298"/>
|
|
<area shape="rect" href="classJSONNode.html#a7cfe3d9edfbc49ef0d1d78fa3f294680" title=" " alt="" coords="681,215,851,240"/>
|
|
<area shape="rect" href="classJSONNode.html#a70bb6ffc78aae08eb6afead5cddadee9" title=" " alt="" coords="695,67,837,92"/>
|
|
<area shape="rect" href="classJSONNode.html#a625fbde0f162e32c4de6b8df32f0a0af" title=" " alt="" coords="682,116,850,142"/>
|
|
<area shape="rect" href="classJSONNode.html#a0abbf1d52e0c984569af190bcb70e640" title=" " alt="" coords="459,316,617,342"/>
|
|
<area shape="rect" href="classJSONNode.html#acfb95d8ee5d047099424d55f1fc07e3e" title=" " alt="" coords="689,440,843,466"/>
|
|
</map>
|
|
</div>
|
|
<div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classJSONParser_a7d5a3239976c55ca83d974c886146f88_icgraph.png" border="0" usemap="#aclassJSONParser_a7d5a3239976c55ca83d974c886146f88_icgraph" alt=""/></div>
|
|
<map name="aclassJSONParser_a7d5a3239976c55ca83d974c886146f88_icgraph" id="aclassJSONParser_a7d5a3239976c55ca83d974c886146f88_icgraph">
|
|
<area shape="rect" title=" " alt="" coords="523,51,684,76"/>
|
|
<area shape="rect" href="classJSONParser.html#ac397e1ef199b5cd553c1dece740a045e" title=" " alt="" coords="108,13,247,39"/>
|
|
<area shape="rect" href="classJSONParser.html#acccb70f3b476f4bf15ac2ab4fc6b2389" title=" " alt="" coords="295,51,475,76"/>
|
|
<area shape="rect" href="webserv_8cpp.html#a0c99d968a34e803d378692bde2e3f18f" title="< The amount of sockets listens" alt="" coords="5,13,60,39"/>
|
|
</map>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a914758f808caf1443960df96d98810cc" name="a914758f808caf1443960df96d98810cc"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a914758f808caf1443960df96d98810cc">◆ </a></span>parseNull()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classJSONNode.html">JSONNode</a> * JSONParser::parseNull </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Parser_8cpp_source.html#l00195">195</a> of file <a class="el" href="Parser_8cpp_source.html">Parser.cpp</a>.</p>
|
|
<div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classJSONParser_a914758f808caf1443960df96d98810cc_cgraph.png" border="0" usemap="#aclassJSONParser_a914758f808caf1443960df96d98810cc_cgraph" alt=""/></div>
|
|
<map name="aclassJSONParser_a914758f808caf1443960df96d98810cc_cgraph" id="aclassJSONParser_a914758f808caf1443960df96d98810cc_cgraph">
|
|
<area shape="rect" title=" " alt="" coords="5,5,169,31"/>
|
|
<area shape="rect" href="classJSONNode.html#a70bb6ffc78aae08eb6afead5cddadee9" title=" " alt="" coords="217,5,360,31"/>
|
|
</map>
|
|
</div>
|
|
<div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classJSONParser_a914758f808caf1443960df96d98810cc_icgraph.png" border="0" usemap="#aclassJSONParser_a914758f808caf1443960df96d98810cc_icgraph" alt=""/></div>
|
|
<map name="aclassJSONParser_a914758f808caf1443960df96d98810cc_icgraph" id="aclassJSONParser_a914758f808caf1443960df96d98810cc_icgraph">
|
|
<area shape="rect" title=" " alt="" coords="732,55,896,80"/>
|
|
<area shape="rect" href="classJSONParser.html#a7d5a3239976c55ca83d974c886146f88" title=" " alt="" coords="523,29,684,55"/>
|
|
<area shape="rect" href="classJSONParser.html#acccb70f3b476f4bf15ac2ab4fc6b2389" title=" " alt="" coords="295,55,475,80"/>
|
|
<area shape="rect" href="classJSONParser.html#ac397e1ef199b5cd553c1dece740a045e" title=" " alt="" coords="108,17,247,43"/>
|
|
<area shape="rect" href="webserv_8cpp.html#a0c99d968a34e803d378692bde2e3f18f" title="< The amount of sockets listens" alt="" coords="5,17,60,43"/>
|
|
</map>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2d1a9d64e8bedc107cb5c9e7c4143fdf" name="a2d1a9d64e8bedc107cb5c9e7c4143fdf"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2d1a9d64e8bedc107cb5c9e7c4143fdf">◆ </a></span>parseNumber()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classJSONNode.html">JSONNode</a> * JSONParser::parseNumber </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Parser_8cpp_source.html#l00181">181</a> of file <a class="el" href="Parser_8cpp_source.html">Parser.cpp</a>.</p>
|
|
<div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classJSONParser_a2d1a9d64e8bedc107cb5c9e7c4143fdf_cgraph.png" border="0" usemap="#aclassJSONParser_a2d1a9d64e8bedc107cb5c9e7c4143fdf_cgraph" alt=""/></div>
|
|
<map name="aclassJSONParser_a2d1a9d64e8bedc107cb5c9e7c4143fdf_cgraph" id="aclassJSONParser_a2d1a9d64e8bedc107cb5c9e7c4143fdf_cgraph">
|
|
<area shape="rect" title=" " alt="" coords="5,42,196,67"/>
|
|
<area shape="rect" href="classTokenizer.html#ad1c7c0a8f85fe189acefe26b857b7375" title=" " alt="" coords="253,15,403,41"/>
|
|
<area shape="rect" href="classJSONNode.html#a625fbde0f162e32c4de6b8df32f0a0af" title=" " alt="" coords="244,66,412,91"/>
|
|
<area shape="rect" href="classTokenizer.html#a879cee0d079f48f300cb44ddfe3fb2c5" title=" " alt="" coords="460,5,661,45"/>
|
|
<area shape="rect" href="classJSONNode.html#a3c65ea4af29daa3869273af827ebe43c" title=" " alt="" coords="502,70,619,95"/>
|
|
</map>
|
|
</div>
|
|
<div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classJSONParser_a2d1a9d64e8bedc107cb5c9e7c4143fdf_icgraph.png" border="0" usemap="#aclassJSONParser_a2d1a9d64e8bedc107cb5c9e7c4143fdf_icgraph" alt=""/></div>
|
|
<map name="aclassJSONParser_a2d1a9d64e8bedc107cb5c9e7c4143fdf_icgraph" id="aclassJSONParser_a2d1a9d64e8bedc107cb5c9e7c4143fdf_icgraph">
|
|
<area shape="rect" title=" " alt="" coords="732,55,923,80"/>
|
|
<area shape="rect" href="classJSONParser.html#ac397e1ef199b5cd553c1dece740a045e" title=" " alt="" coords="108,31,247,56"/>
|
|
<area shape="rect" href="classJSONParser.html#a7d5a3239976c55ca83d974c886146f88" title=" " alt="" coords="523,55,684,80"/>
|
|
<area shape="rect" href="classJSONParser.html#acccb70f3b476f4bf15ac2ab4fc6b2389" title=" " alt="" coords="295,105,475,131"/>
|
|
<area shape="rect" href="webserv_8cpp.html#a0c99d968a34e803d378692bde2e3f18f" title="< The amount of sockets listens" alt="" coords="5,31,60,56"/>
|
|
</map>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="acccb70f3b476f4bf15ac2ab4fc6b2389" name="acccb70f3b476f4bf15ac2ab4fc6b2389"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acccb70f3b476f4bf15ac2ab4fc6b2389">◆ </a></span>parseObject()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classJSONNode.html">JSONNode</a> * JSONParser::parseObject </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Parser_8cpp_source.html#l00046">46</a> of file <a class="el" href="Parser_8cpp_source.html">Parser.cpp</a>.</p>
|
|
<div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classJSONParser_acccb70f3b476f4bf15ac2ab4fc6b2389_cgraph.png" border="0" usemap="#aclassJSONParser_acccb70f3b476f4bf15ac2ab4fc6b2389_cgraph" alt=""/></div>
|
|
<map name="aclassJSONParser_acccb70f3b476f4bf15ac2ab4fc6b2389_cgraph" id="aclassJSONParser_acccb70f3b476f4bf15ac2ab4fc6b2389_cgraph">
|
|
<area shape="rect" title=" " alt="" coords="5,283,185,308"/>
|
|
<area shape="rect" href="classTokenizer.html#ad1c7c0a8f85fe189acefe26b857b7375" title=" " alt="" coords="691,107,841,132"/>
|
|
<area shape="rect" href="classTokenizer.html#ace80ed64add3ef2d0ee9f659a182d935" title=" " alt="" coords="443,409,633,435"/>
|
|
<area shape="rect" href="classJSONParser.html#afc1f8f30a01440eae32445b153d6e572" title=" " alt="" coords="443,5,633,31"/>
|
|
<area shape="rect" href="classJSONParser.html#a7d5a3239976c55ca83d974c886146f88" title=" " alt="" coords="233,283,395,308"/>
|
|
<area shape="rect" href="classJSONParser.html#a914758f808caf1443960df96d98810cc" title=" " alt="" coords="456,459,620,484"/>
|
|
<area shape="rect" href="classJSONParser.html#a2d1a9d64e8bedc107cb5c9e7c4143fdf" title=" " alt="" coords="443,107,633,132"/>
|
|
<area shape="rect" href="classJSONParser.html#a1ca29ba38533304c6601eafd249d9ed4" title=" " alt="" coords="450,208,626,233"/>
|
|
<area shape="rect" href="classTokenizer.html#a49db8c86447ad2cb543b5b1ea877f34d" title=" " alt="" coords="447,508,629,533"/>
|
|
<area shape="rect" href="classJSONNode.html#a0abbf1d52e0c984569af190bcb70e640" title=" " alt="" coords="235,485,393,511"/>
|
|
<area shape="rect" href="classTokenizer.html#a879cee0d079f48f300cb44ddfe3fb2c5" title=" " alt="" coords="899,99,1100,139"/>
|
|
<area shape="rect" href="classJSONNode.html#a7cfe3d9edfbc49ef0d1d78fa3f294680" title=" " alt="" coords="681,5,851,31"/>
|
|
<area shape="rect" href="classJSONNode.html#a3c65ea4af29daa3869273af827ebe43c" title=" " alt="" coords="941,212,1058,237"/>
|
|
<area shape="rect" href="classJSONNode.html#acc698e882b650c5679469ccd376b39db" title=" " alt="" coords="943,261,1056,287"/>
|
|
<area shape="rect" href="classJSONNode.html#ae4e89e9fbf82c980d2facf7edc1ea68e" title=" " alt="" coords="469,360,607,385"/>
|
|
<area shape="rect" href="classJSONNode.html#a70bb6ffc78aae08eb6afead5cddadee9" title=" " alt="" coords="695,459,837,484"/>
|
|
<area shape="rect" href="classJSONNode.html#a625fbde0f162e32c4de6b8df32f0a0af" title=" " alt="" coords="682,157,850,183"/>
|
|
<area shape="rect" href="classJSONNode.html#acfb95d8ee5d047099424d55f1fc07e3e" title=" " alt="" coords="689,208,843,233"/>
|
|
</map>
|
|
</div>
|
|
<div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classJSONParser_acccb70f3b476f4bf15ac2ab4fc6b2389_icgraph.png" border="0" usemap="#aclassJSONParser_acccb70f3b476f4bf15ac2ab4fc6b2389_icgraph" alt=""/></div>
|
|
<map name="aclassJSONParser_acccb70f3b476f4bf15ac2ab4fc6b2389_icgraph" id="aclassJSONParser_acccb70f3b476f4bf15ac2ab4fc6b2389_icgraph">
|
|
<area shape="rect" title=" " alt="" coords="504,49,684,75"/>
|
|
<area shape="rect" href="classJSONParser.html#ac397e1ef199b5cd553c1dece740a045e" title=" " alt="" coords="108,12,247,37"/>
|
|
<area shape="rect" href="classJSONParser.html#a7d5a3239976c55ca83d974c886146f88" title=" " alt="" coords="295,49,456,75"/>
|
|
<area shape="rect" href="webserv_8cpp.html#a0c99d968a34e803d378692bde2e3f18f" title="< The amount of sockets listens" alt="" coords="5,12,60,37"/>
|
|
</map>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1ca29ba38533304c6601eafd249d9ed4" name="a1ca29ba38533304c6601eafd249d9ed4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1ca29ba38533304c6601eafd249d9ed4">◆ </a></span>parseString()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classJSONNode.html">JSONNode</a> * JSONParser::parseString </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Parser_8cpp_source.html#l00174">174</a> of file <a class="el" href="Parser_8cpp_source.html">Parser.cpp</a>.</p>
|
|
<div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classJSONParser_a1ca29ba38533304c6601eafd249d9ed4_cgraph.png" border="0" usemap="#aclassJSONParser_a1ca29ba38533304c6601eafd249d9ed4_cgraph" alt=""/></div>
|
|
<map name="aclassJSONParser_a1ca29ba38533304c6601eafd249d9ed4_cgraph" id="aclassJSONParser_a1ca29ba38533304c6601eafd249d9ed4_cgraph">
|
|
<area shape="rect" title=" " alt="" coords="5,42,181,67"/>
|
|
<area shape="rect" href="classTokenizer.html#ad1c7c0a8f85fe189acefe26b857b7375" title=" " alt="" coords="232,15,381,41"/>
|
|
<area shape="rect" href="classJSONNode.html#acfb95d8ee5d047099424d55f1fc07e3e" title=" " alt="" coords="229,66,384,91"/>
|
|
<area shape="rect" href="classTokenizer.html#a879cee0d079f48f300cb44ddfe3fb2c5" title=" " alt="" coords="432,5,633,45"/>
|
|
<area shape="rect" href="classJSONNode.html#acc698e882b650c5679469ccd376b39db" title=" " alt="" coords="476,70,589,95"/>
|
|
</map>
|
|
</div>
|
|
<div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classJSONParser_a1ca29ba38533304c6601eafd249d9ed4_icgraph.png" border="0" usemap="#aclassJSONParser_a1ca29ba38533304c6601eafd249d9ed4_icgraph" alt=""/></div>
|
|
<map name="aclassJSONParser_a1ca29ba38533304c6601eafd249d9ed4_icgraph" id="aclassJSONParser_a1ca29ba38533304c6601eafd249d9ed4_icgraph">
|
|
<area shape="rect" title=" " alt="" coords="732,55,908,81"/>
|
|
<area shape="rect" href="classJSONParser.html#ac397e1ef199b5cd553c1dece740a045e" title=" " alt="" coords="108,31,247,57"/>
|
|
<area shape="rect" href="classJSONParser.html#a7d5a3239976c55ca83d974c886146f88" title=" " alt="" coords="523,55,684,81"/>
|
|
<area shape="rect" href="classJSONParser.html#acccb70f3b476f4bf15ac2ab4fc6b2389" title=" " alt="" coords="295,106,475,131"/>
|
|
<area shape="rect" href="webserv_8cpp.html#a0c99d968a34e803d378692bde2e3f18f" title="< The amount of sockets listens" alt="" coords="5,31,60,57"/>
|
|
</map>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Field Documentation</h2>
|
|
<a id="a1089fd3496dc6865d0137daec6310905" name="a1089fd3496dc6865d0137daec6310905"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1089fd3496dc6865d0137daec6310905">◆ </a></span>file</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::fstream JSONParser::file</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Parser_8hpp_source.html#l00005">5</a> of file <a class="el" href="Parser_8hpp_source.html">Parser.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0ef04e64c276d2f24d02689ce1c101bc" name="a0ef04e64c276d2f24d02689ce1c101bc"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0ef04e64c276d2f24d02689ce1c101bc">◆ </a></span>tokenizer</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classTokenizer.html">Tokenizer</a> JSONParser::tokenizer</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Parser_8hpp_source.html#l00006">6</a> of file <a class="el" href="Parser_8hpp_source.html">Parser.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li>includes/<a class="el" href="Parser_8hpp_source.html">Parser.hpp</a></li>
|
|
<li>srcs/json/<a class="el" href="Parser_8cpp_source.html">Parser.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.7
|
|
</small></address>
|
|
</body>
|
|
</html>
|
|
|