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.
 
 
 
 

236 lines
15 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: includes/Token.hpp File 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&amp;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&amp;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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_09e761304027c904456130627fd4dcf5.html">includes</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> </div>
<div class="headertitle"><div class="title">Token.hpp File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="webserv_8hpp_source.html">webserv.hpp</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for Token.hpp:</div>
<div class="dyncontent">
<div class="center"><img src="Token_8hpp__incl.png" border="0" usemap="#aincludes_2Token_8hpp" alt=""/></div>
<map name="aincludes_2Token_8hpp" id="aincludes_2Token_8hpp">
<area shape="rect" title=" " alt="" coords="1909,5,2055,31"/>
<area shape="rect" href="webserv_8hpp.html" title=" " alt="" coords="1930,79,2034,104"/>
<area shape="rect" title=" " alt="" coords="5,152,97,177"/>
<area shape="rect" title=" " alt="" coords="122,152,194,177"/>
<area shape="rect" title=" " alt="" coords="219,152,281,177"/>
<area shape="rect" title=" " alt="" coords="306,152,402,177"/>
<area shape="rect" title=" " alt="" coords="427,152,529,177"/>
<area shape="rect" title=" " alt="" coords="554,152,639,177"/>
<area shape="rect" title=" " alt="" coords="663,152,754,177"/>
<area shape="rect" title=" " alt="" coords="778,152,874,177"/>
<area shape="rect" title=" " alt="" coords="898,152,986,177"/>
<area shape="rect" title=" " alt="" coords="1010,152,1077,177"/>
<area shape="rect" title=" " alt="" coords="1101,152,1175,177"/>
<area shape="rect" title=" " alt="" coords="1199,152,1285,177"/>
<area shape="rect" title=" " alt="" coords="1309,152,1375,177"/>
<area shape="rect" title=" " alt="" coords="1399,152,1461,177"/>
<area shape="rect" title=" " alt="" coords="1486,152,1553,177"/>
<area shape="rect" title=" " alt="" coords="1577,152,1638,177"/>
<area shape="rect" title=" " alt="" coords="1663,152,1728,177"/>
<area shape="rect" title=" " alt="" coords="1753,152,1819,177"/>
<area shape="rect" title=" " alt="" coords="1844,152,1917,177"/>
<area shape="rect" title=" " alt="" coords="1942,152,2022,177"/>
<area shape="rect" title=" " alt="" coords="2047,152,2117,177"/>
<area shape="rect" title=" " alt="" coords="2142,152,2217,177"/>
<area shape="rect" title=" " alt="" coords="2241,152,2299,177"/>
<area shape="rect" title=" " alt="" coords="2323,152,2374,177"/>
<area shape="rect" title=" " alt="" coords="2399,152,2461,177"/>
<area shape="rect" href="Client_8hpp.html" title=" " alt="" coords="2486,152,2574,177"/>
<area shape="rect" href="Master_8hpp.html" title=" " alt="" coords="2599,152,2693,177"/>
<area shape="rect" href="Nodes_8hpp.html" title=" " alt="" coords="2718,152,2809,177"/>
<area shape="rect" href="Parser_8hpp.html" title=" " alt="" coords="2833,152,2923,177"/>
<area shape="rect" href="Route_8hpp.html" title=" " alt="" coords="2947,152,3035,177"/>
<area shape="rect" href="Server_8hpp.html" title=" " alt="" coords="3059,152,3150,177"/>
<area shape="rect" href="Env_8hpp.html" title=" " alt="" coords="3175,152,3248,177"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="Token_8hpp__dep__incl.png" border="0" usemap="#aincludes_2Token_8hppdep" alt=""/></div>
<map name="aincludes_2Token_8hppdep" id="aincludes_2Token_8hppdep">
<area shape="rect" title=" " alt="" coords="1023,5,1169,31"/>
<area shape="rect" href="webserv_8hpp.html" title=" " alt="" coords="1015,79,1177,104"/>
<area shape="rect" href="Client_8hpp.html" title=" " alt="" coords="5,152,152,177"/>
<area shape="rect" href="Env_8hpp.html" title=" " alt="" coords="176,152,307,177"/>
<area shape="rect" href="Master_8hpp.html" title=" " alt="" coords="331,152,483,177"/>
<area shape="rect" href="Nodes_8hpp.html" title=" " alt="" coords="507,152,656,177"/>
<area shape="rect" href="Parser_8hpp.html" title=" " alt="" coords="680,152,827,177"/>
<area shape="rect" href="Route_8hpp.html" title=" " alt="" coords="851,152,997,177"/>
<area shape="rect" href="Server_8hpp.html" title=" " alt="" coords="1021,152,1171,177"/>
<area shape="rect" href="debug_8cpp.html" title=" " alt="" coords="1195,152,1314,177"/>
<area shape="rect" href="Nodes_8cpp.html" title=" " alt="" coords="1338,152,1489,177"/>
<area shape="rect" href="Parser_8cpp.html" title=" " alt="" coords="1513,152,1663,177"/>
<area shape="rect" href="Token_8cpp.html" title=" " alt="" coords="1687,152,1833,177"/>
<area shape="rect" href="Env_8cpp.html" title=" " alt="" coords="1858,152,1993,177"/>
<area shape="rect" href="Route_8cpp.html" title="A location class which handle." alt="" coords="2017,152,2167,177"/>
<area shape="rect" href="Server_8cpp.html" title="The servers object. One is created for each config server." alt="" coords="2191,152,2343,177"/>
<area shape="rect" href="Client_8cpp.html" title="The client sockets class which keep keep clients information and handle answer to them." alt="" coords="2367,152,2518,177"/>
<area shape="rect" href="Master_8cpp.html" title="The master sockets class which receive each incomming new client." alt="" coords="2543,152,2700,177"/>
<area shape="rect" href="tools_8cpp.html" title=" " alt="" coords="2725,152,2835,177"/>
<area shape="rect" href="webserv_8cpp.html" title="A http server written in c++." alt="" coords="2860,152,2993,177"/>
</map>
</div>
</div>
<p><a href="Token_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structToken__s.html">Token_s</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTokenizer.html">Tokenizer</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a72a5c4804fbceb590019d751a6842f1f"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structToken__s.html">Token_s</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Token_8hpp.html#a72a5c4804fbceb590019d751a6842f1f">Token</a></td></tr>
<tr class="separator:a72a5c4804fbceb590019d751a6842f1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ac6f62333aafcf3546f487ccd7caa9928"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Token_8hpp.html#ac6f62333aafcf3546f487ccd7caa9928">TOKEN</a> { <br />
&#160;&#160;<a class="el" href="Token_8hpp.html#ac6f62333aafcf3546f487ccd7caa9928a50e6b569a6062129ae6db26de31ed634">CURLY_OPEN</a>
, <a class="el" href="Token_8hpp.html#ac6f62333aafcf3546f487ccd7caa9928ab7b2767f4af70f630238c234b74372e3">CURLY_CLOSE</a>
, <a class="el" href="Token_8hpp.html#ac6f62333aafcf3546f487ccd7caa9928a29cf94637337909c3813bb50d6e9b3ee">COLON</a>
, <a class="el" href="Token_8hpp.html#ac6f62333aafcf3546f487ccd7caa9928aee847e634a4297b274316de8a8ca9921">STRING</a>
, <br />
&#160;&#160;<a class="el" href="Token_8hpp.html#ac6f62333aafcf3546f487ccd7caa9928a12a90dfe20486bbe3e075afcd19ef2d0">NUMBER</a>
, <a class="el" href="Token_8hpp.html#ac6f62333aafcf3546f487ccd7caa9928a69bc977cb9fc1fb8e85c2f5898a72ac7">ARRAY_OPEN</a>
, <a class="el" href="Token_8hpp.html#ac6f62333aafcf3546f487ccd7caa9928a8d7d97ea3ba9c9e041c1c79aa0d41786">ARRAY_CLOSE</a>
, <a class="el" href="Token_8hpp.html#ac6f62333aafcf3546f487ccd7caa9928af81277bcd86412fe04bb68718ea09392">COMMA</a>
, <br />
&#160;&#160;<a class="el" href="Token_8hpp.html#ac6f62333aafcf3546f487ccd7caa9928a8a583f16e8d237a423c8c1d9087a4c72">BOOLEAN</a>
, <a class="el" href="Token_8hpp.html#ac6f62333aafcf3546f487ccd7caa9928a74cf8825b522b9721ea02973803d76b4">NULL_TYPE</a>
<br />
}</td></tr>
<tr class="separator:ac6f62333aafcf3546f487ccd7caa9928"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="a72a5c4804fbceb590019d751a6842f1f" name="a72a5c4804fbceb590019d751a6842f1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72a5c4804fbceb590019d751a6842f1f">&#9670;&#160;</a></span>Token</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structToken__s.html">Token_s</a> <a class="el" href="Token_8hpp.html#a72a5c4804fbceb590019d751a6842f1f">Token</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="ac6f62333aafcf3546f487ccd7caa9928" name="ac6f62333aafcf3546f487ccd7caa9928"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6f62333aafcf3546f487ccd7caa9928">&#9670;&#160;</a></span>TOKEN</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="Token_8hpp.html#ac6f62333aafcf3546f487ccd7caa9928">TOKEN</a></td>
</tr>
</table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ac6f62333aafcf3546f487ccd7caa9928a50e6b569a6062129ae6db26de31ed634" name="ac6f62333aafcf3546f487ccd7caa9928a50e6b569a6062129ae6db26de31ed634"></a>CURLY_OPEN&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="ac6f62333aafcf3546f487ccd7caa9928ab7b2767f4af70f630238c234b74372e3" name="ac6f62333aafcf3546f487ccd7caa9928ab7b2767f4af70f630238c234b74372e3"></a>CURLY_CLOSE&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="ac6f62333aafcf3546f487ccd7caa9928a29cf94637337909c3813bb50d6e9b3ee" name="ac6f62333aafcf3546f487ccd7caa9928a29cf94637337909c3813bb50d6e9b3ee"></a>COLON&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="ac6f62333aafcf3546f487ccd7caa9928aee847e634a4297b274316de8a8ca9921" name="ac6f62333aafcf3546f487ccd7caa9928aee847e634a4297b274316de8a8ca9921"></a>STRING&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="ac6f62333aafcf3546f487ccd7caa9928a12a90dfe20486bbe3e075afcd19ef2d0" name="ac6f62333aafcf3546f487ccd7caa9928a12a90dfe20486bbe3e075afcd19ef2d0"></a>NUMBER&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="ac6f62333aafcf3546f487ccd7caa9928a69bc977cb9fc1fb8e85c2f5898a72ac7" name="ac6f62333aafcf3546f487ccd7caa9928a69bc977cb9fc1fb8e85c2f5898a72ac7"></a>ARRAY_OPEN&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="ac6f62333aafcf3546f487ccd7caa9928a8d7d97ea3ba9c9e041c1c79aa0d41786" name="ac6f62333aafcf3546f487ccd7caa9928a8d7d97ea3ba9c9e041c1c79aa0d41786"></a>ARRAY_CLOSE&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="ac6f62333aafcf3546f487ccd7caa9928af81277bcd86412fe04bb68718ea09392" name="ac6f62333aafcf3546f487ccd7caa9928af81277bcd86412fe04bb68718ea09392"></a>COMMA&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="ac6f62333aafcf3546f487ccd7caa9928a8a583f16e8d237a423c8c1d9087a4c72" name="ac6f62333aafcf3546f487ccd7caa9928a8a583f16e8d237a423c8c1d9087a4c72"></a>BOOLEAN&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="ac6f62333aafcf3546f487ccd7caa9928a74cf8825b522b9721ea02973803d76b4" name="ac6f62333aafcf3546f487ccd7caa9928a74cf8825b522b9721ea02973803d76b4"></a>NULL_TYPE&#160;</td><td class="fielddoc"></td></tr>
</table>
<p class="definition">Definition at line <a class="el" href="Token_8hpp_source.html#l00004">4</a> of file <a class="el" href="Token_8hpp_source.html">Token.hpp</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<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>