File: classParseV2_1_1Include.html

package info (click to toggle)
mysql%2B%2B 3.2.5-2.3
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 18,356 kB
  • sloc: cpp: 35,788; sh: 3,693; perl: 789; makefile: 728
file content (220 lines) | stat: -rwxr-xr-x 15,525 bytes parent folder | download | duplicates (3)
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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
<!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::Include 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
       &#160;<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&amp;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_1Include.html">Include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classParseV2_1_1Include-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ParseV2::Include Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>'include' directive line  
 <a href="classParseV2_1_1Include.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="parsev2_8h_source.html">parsev2.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ParseV2::Include:</div>
<div class="dyncontent">
<div class="center"><img src="classParseV2_1_1Include__inherit__graph.png" border="0" usemap="#ParseV2_1_1Include_inherit__map" alt="Inheritance graph"/></div>
<map name="ParseV2_1_1Include_inherit__map" id="ParseV2_1_1Include_inherit__map">
<area shape="rect"  title="&#39;include&#39; directive line" alt="" coords="5,79,128,104"/>
<area shape="rect"  href="classParseV2_1_1Line.html" title="Base class for parsed SSQLS v2 declaration lines." alt="" coords="14,5,119,31"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ParseV2::Include:</div>
<div class="dyncontent">
<div class="center"><img src="classParseV2_1_1Include__coll__graph.png" border="0" usemap="#ParseV2_1_1Include_coll__map" alt="Collaboration graph"/></div>
<map name="ParseV2_1_1Include_coll__map" id="ParseV2_1_1Include_coll__map">
<area shape="rect"  title="&#39;include&#39; directive line" alt="" coords="5,79,128,104"/>
<area shape="rect"  href="classParseV2_1_1Line.html" title="Base class for parsed SSQLS v2 declaration lines." alt="" coords="14,5,119,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 name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a485c5a373fb7c33a1d20e9696381e4ba"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParseV2_1_1Include.html#a485c5a373fb7c33a1d20e9696381e4ba">Include</a> (const char *file_name)</td></tr>
<tr class="memdesc:a485c5a373fb7c33a1d20e9696381e4ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given the name of another SSQLS v2 file, load it up and parse it. Its contents will appear transparently as part of the overall parse result.  <a href="#a485c5a373fb7c33a1d20e9696381e4ba">More...</a><br /></td></tr>
<tr class="separator:a485c5a373fb7c33a1d20e9696381e4ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d606e2fa4ce9b6d9c5855c1283015d8"><td class="memItemLeft" align="right" valign="top"><a id="a1d606e2fa4ce9b6d9c5855c1283015d8"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParseV2_1_1Include.html#a1d606e2fa4ce9b6d9c5855c1283015d8">~Include</a> ()</td></tr>
<tr class="memdesc:a1d606e2fa4ce9b6d9c5855c1283015d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a1d606e2fa4ce9b6d9c5855c1283015d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7da4b13607657458c4c5a14585012b2"><td class="memItemLeft" align="right" valign="top"><a id="ab7da4b13607657458c4c5a14585012b2"></a>
<a class="el" href="classParseV2.html#a584f29a938ee2a610d92c42e735e9345">LineListIt</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParseV2_1_1Include.html#ab7da4b13607657458c4c5a14585012b2">begin</a> () const</td></tr>
<tr class="memdesc:ab7da4b13607657458c4c5a14585012b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get an iterator pointing to the start of the. <br /></td></tr>
<tr class="separator:ab7da4b13607657458c4c5a14585012b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a056ae31993becdc3720e019931d427ea"><td class="memItemLeft" align="right" valign="top"><a id="a056ae31993becdc3720e019931d427ea"></a>
<a class="el" href="classParseV2.html#a584f29a938ee2a610d92c42e735e9345">LineListIt</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParseV2_1_1Include.html#a056ae31993becdc3720e019931d427ea">end</a> () const</td></tr>
<tr class="memdesc:a056ae31993becdc3720e019931d427ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get an iterator pointing to just past the end of the sub-parse's LineList. <br /></td></tr>
<tr class="separator:a056ae31993becdc3720e019931d427ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classParseV2_1_1Line"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classParseV2_1_1Line')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classParseV2_1_1Line.html">ParseV2::Line</a></td></tr>
<tr class="memitem:aff17fe2a6e9ffca4cfc9590b43cd9015 inherit pub_methods_classParseV2_1_1Line"><td class="memItemLeft" align="right" valign="top"><a id="aff17fe2a6e9ffca4cfc9590b43cd9015"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParseV2_1_1Line.html#aff17fe2a6e9ffca4cfc9590b43cd9015">~Line</a> ()</td></tr>
<tr class="memdesc:aff17fe2a6e9ffca4cfc9590b43cd9015 inherit pub_methods_classParseV2_1_1Line"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual dtor, since this is a base class. <br /></td></tr>
<tr class="separator:aff17fe2a6e9ffca4cfc9590b43cd9015 inherit pub_methods_classParseV2_1_1Line"><td class="memSeparator" colspan="2">&#160;</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:a15dac2571c420a8afed5111d20ba2cb4"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classParseV2_1_1Include.html">Include</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParseV2_1_1Include.html#a15dac2571c420a8afed5111d20ba2cb4">parse</a> (const <a class="el" href="classParseV2.html#a82c28f8cd009372d06cd0bd39927ff34">StringList</a> &amp;tl, bool subdirective, const <a class="el" href="classParseV2_1_1File.html">File</a> &amp;file)</td></tr>
<tr class="memdesc:a15dac2571c420a8afed5111d20ba2cb4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attempt to create an <a class="el" href="classParseV2_1_1Include.html" title="&#39;include&#39; directive line">Include</a> object from information in the passed StringList.  <a href="#a15dac2571c420a8afed5111d20ba2cb4">More...</a><br /></td></tr>
<tr class="separator:a15dac2571c420a8afed5111d20ba2cb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classParseV2_1_1Line"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classParseV2_1_1Line')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classParseV2_1_1Line.html">ParseV2::Line</a></td></tr>
<tr class="memitem:aa826982abc96f7d5013440572a0dafe1 inherit pub_static_methods_classParseV2_1_1Line"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classParseV2_1_1Line.html">Line</a> *&#160;</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> &amp;tl, bool subdirective, const <a class="el" href="classParseV2_1_1File.html">File</a> &amp;file)</td></tr>
<tr class="memdesc:aa826982abc96f7d5013440572a0dafe1 inherit pub_static_methods_classParseV2_1_1Line"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual ctor, creating one of our subclass objects based on what we're passed.  <a href="classParseV2_1_1Line.html#aa826982abc96f7d5013440572a0dafe1">More...</a><br /></td></tr>
<tr class="separator:aa826982abc96f7d5013440572a0dafe1 inherit pub_static_methods_classParseV2_1_1Line"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classParseV2_1_1Line"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classParseV2_1_1Line')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classParseV2_1_1Line.html">ParseV2::Line</a></td></tr>
<tr class="memitem:a7b9e9c446ef2a7985598b2f4cb0e2820 inherit pro_methods_classParseV2_1_1Line"><td class="memItemLeft" align="right" valign="top"><a id="a7b9e9c446ef2a7985598b2f4cb0e2820"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParseV2_1_1Line.html#a7b9e9c446ef2a7985598b2f4cb0e2820">Line</a> ()</td></tr>
<tr class="memdesc:a7b9e9c446ef2a7985598b2f4cb0e2820 inherit pro_methods_classParseV2_1_1Line"><td class="mdescLeft">&#160;</td><td class="mdescRight">Protected ctor, to prevent instantiation. <br /></td></tr>
<tr class="separator:a7b9e9c446ef2a7985598b2f4cb0e2820 inherit pro_methods_classParseV2_1_1Line"><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>'include' directive line </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a485c5a373fb7c33a1d20e9696381e4ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a485c5a373fb7c33a1d20e9696381e4ba">&#9670;&nbsp;</a></span>Include()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ParseV2::Include::Include </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>file_name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Given the name of another SSQLS v2 file, load it up and parse it. Its contents will appear transparently as part of the overall parse result. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">file_name</td><td>name of other SSQLS v2 file to parse </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a15dac2571c420a8afed5111d20ba2cb4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15dac2571c420a8afed5111d20ba2cb4">&#9670;&nbsp;</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_1Include.html">ParseV2::Include</a> * ParseV2::Include::parse </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classParseV2.html#a82c28f8cd009372d06cd0bd39927ff34">StringList</a> &amp;&#160;</td>
          <td class="paramname"><em>tl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>file</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">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Attempt to create an <a class="el" href="classParseV2_1_1Include.html" title="&#39;include&#39; directive line">Include</a> object from information in the passed StringList. </p>
<p>A kind of pre-processor for the <a class="el" href="classParseV2_1_1Include.html" title="&#39;include&#39; directive line">Include</a> ctor, creating one of those objects only if the given StringList makes sense, using the values we find in that StringList as parameters to the ctor. </p>

<p class="reference">References <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_1_1Line.html#aa826982abc96f7d5013440572a0dafe1">ParseV2::Line::parse()</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 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>