1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
|
<!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>
<title>MySQL++ Reference Manual</title>
<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.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MySQL++ SSQLS v2 Translator: ParseV2::Line Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.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">MySQL++ SSQLS v2 Translator
 <span id="projectnumber">3.2.5</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<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&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="classParseV2.html">ParseV2</a></li><li class="navelem"><a class="el" href="classParseV2_1_1Line.html">Line</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="#pro-methods">Protected Member Functions</a> |
<a href="classParseV2_1_1Line-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ParseV2::Line Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p>Base class for parsed SSQLS v2 declaration lines.
<a href="classParseV2_1_1Line.html#details">More...</a></p>
<p><code>#include <<a class="el" href="parsev2_8h_source.html">parsev2.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for ParseV2::Line:</div>
<div class="dyncontent">
<div class="center"><img src="classParseV2_1_1Line__inherit__graph.png" border="0" usemap="#ParseV2_1_1Line_inherit__map" alt="Inheritance graph"/></div>
<map name="ParseV2_1_1Line_inherit__map" id="ParseV2_1_1Line_inherit__map">
<area shape="rect" title="Base class for parsed SSQLS v2 declaration lines." alt="" coords="5,80,110,105"/>
<area shape="rect" href="classParseV2_1_1Field.html" title="'field' directive line" alt="" coords="165,5,274,31"/>
<area shape="rect" href="classParseV2_1_1Include.html" title="'include' directive line" alt="" coords="158,55,281,80"/>
<area shape="rect" href="classParseV2_1_1Option.html" title="Base class for known SSQLS v2 'option' directives." alt="" coords="160,104,279,129"/>
<area shape="rect" href="classParseV2_1_1Table.html" title="'table' directive line" alt="" coords="164,153,276,179"/>
<area shape="rect" href="classParseV2_1_1AccessorStyleOption.html" title="'option accessor_style' directive line" alt="" coords="342,16,546,41"/>
<area shape="rect" href="classParseV2_1_1ExceptionOnSchemaMismatchOption.html" title="'option exception_on_schema_mismatch' directive line" alt="" coords="342,65,547,104"/>
<area shape="rect" href="classParseV2_1_1HeaderExtensionOption.html" title="'option header_extension' directive line" alt="" coords="353,128,535,167"/>
<area shape="rect" href="classParseV2_1_1ImplementationExtensionOption.html" title="'option implementation_extension' directive line" alt="" coords="329,191,559,229"/>
</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:aff17fe2a6e9ffca4cfc9590b43cd9015"><td class="memItemLeft" align="right" valign="top"><a id="aff17fe2a6e9ffca4cfc9590b43cd9015"></a>
virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classParseV2_1_1Line.html#aff17fe2a6e9ffca4cfc9590b43cd9015">~Line</a> ()</td></tr>
<tr class="memdesc:aff17fe2a6e9ffca4cfc9590b43cd9015"><td class="mdescLeft"> </td><td class="mdescRight">Virtual dtor, since this is a base class. <br /></td></tr>
<tr class="separator:aff17fe2a6e9ffca4cfc9590b43cd9015"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7b009a7af2f3f28522ee4879cdc5a714"><td class="memItemLeft" align="right" valign="top"><a id="a7b009a7af2f3f28522ee4879cdc5a714"></a>
virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classParseV2_1_1Line.html#a7b009a7af2f3f28522ee4879cdc5a714">print</a> (std::ostream &os) const =0</td></tr>
<tr class="memdesc:a7b009a7af2f3f28522ee4879cdc5a714"><td class="mdescLeft"> </td><td class="mdescRight">Print line's contents out to a stream in SSQLS v2 form. <br /></td></tr>
<tr class="separator:a7b009a7af2f3f28522ee4879cdc5a714"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:aa826982abc96f7d5013440572a0dafe1"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classParseV2_1_1Line.html">Line</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classParseV2_1_1Line.html#aa826982abc96f7d5013440572a0dafe1">parse</a> (const <a class="el" href="classParseV2.html#a82c28f8cd009372d06cd0bd39927ff34">StringList</a> &tl, bool subdirective, const <a class="el" href="classParseV2_1_1File.html">File</a> &file)</td></tr>
<tr class="memdesc:aa826982abc96f7d5013440572a0dafe1"><td class="mdescLeft"> </td><td class="mdescRight">Virtual ctor, creating one of our subclass objects based on what we're passed. <a href="#aa826982abc96f7d5013440572a0dafe1">More...</a><br /></td></tr>
<tr class="separator:aa826982abc96f7d5013440572a0dafe1"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a7b9e9c446ef2a7985598b2f4cb0e2820"><td class="memItemLeft" align="right" valign="top"><a id="a7b9e9c446ef2a7985598b2f4cb0e2820"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classParseV2_1_1Line.html#a7b9e9c446ef2a7985598b2f4cb0e2820">Line</a> ()</td></tr>
<tr class="memdesc:a7b9e9c446ef2a7985598b2f4cb0e2820"><td class="mdescLeft"> </td><td class="mdescRight">Protected ctor, to prevent instantiation. <br /></td></tr>
<tr class="separator:a7b9e9c446ef2a7985598b2f4cb0e2820"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Base class for parsed SSQLS v2 declaration lines. </p>
<p>Types of parsed lines, and related stuff </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="aa826982abc96f7d5013440572a0dafe1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa826982abc96f7d5013440572a0dafe1">◆ </a></span>parse()</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="classParseV2_1_1Line.html">ParseV2::Line</a> * ParseV2::Line::parse </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classParseV2.html#a82c28f8cd009372d06cd0bd39927ff34">StringList</a> & </td>
<td class="paramname"><em>tl</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>subdirective</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classParseV2_1_1File.html">File</a> & </td>
<td class="paramname"><em>file</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Virtual ctor, creating one of our subclass objects based on what we're passed. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">tl</td><td>list of tokens found on a line in an SSQLS v2 file </td></tr>
<tr><td class="paramname">subdirective</td><td>true if there was leading whitespace on that line, which changes how we interpret tl </td></tr>
<tr><td class="paramname">file</td><td>information about the file we're currently parsing</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classParseV2_1_1Line.html" title="Base class for parsed SSQLS v2 declaration lines.">Line</a> object pointer if line was successfully parsed, else 0 </dd></dl>
<p class="reference">References <a class="el" href="classParseV2_1_1Field.html#aa7f960b3aefb37f18f4c8160c468f2c6">ParseV2::Field::parse()</a>, <a class="el" href="classParseV2_1_1Include.html#a15dac2571c420a8afed5111d20ba2cb4">ParseV2::Include::parse()</a>, <a class="el" href="classParseV2_1_1Option.html#a53cc8e9341f541bb753b1c49eed14380">ParseV2::Option::parse()</a>, <a class="el" href="classParseV2_1_1Table.html#a944b5b591f2ed8e0265cc952d5f65432">ParseV2::Table::parse()</a>, and <a class="el" href="classParseV2_1_1File.html#a398eef7e1fe978865b26b24e8efb7443">ParseV2::File::parse_error()</a>.</p>
<p class="reference">Referenced by <a class="el" href="classParseV2.html#a3d4d6a0732b282675a789f3d34447eda">ParseV2::ParseV2()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="parsev2_8h_source.html">parsev2.h</a></li>
<li>parsev2.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Jul 21 2019 05:32:22 for MySQL++ SSQLS v2 Translator by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
|