XQuilla/docs/simple-api/classASTNodeEventGenerator.html
2020-02-17 22:24:47 +01:00

239 lines
17 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>XQilla Simple API Documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
<!-- Generated by Doxygen 1.8.5 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classASTNodeEventGenerator-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ASTNodeEventGenerator Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="EventGenerator_8hpp_source.html">EventGenerator.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ASTNodeEventGenerator:</div>
<div class="dyncontent">
<div class="center"><img src="classASTNodeEventGenerator__inherit__graph.png" border="0" usemap="#ASTNodeEventGenerator_inherit__map" alt="Inheritance graph"/></div>
<map name="ASTNodeEventGenerator_inherit__map" id="ASTNodeEventGenerator_inherit__map">
<area shape="rect" id="node2" href="classEventGenerator.html" title="EventGenerator" alt="" coords="34,80,147,107"/><area shape="rect" id="node3" href="classReferenceCounted.html" title="Super class for reference counted classes. " alt="" coords="25,5,156,32"/></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:a19cc57d7c26fec370b118f029b40b267"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classASTNodeEventGenerator.html#a19cc57d7c26fec370b118f029b40b267">ASTNodeEventGenerator</a> (const ASTNode *ast, bool preserveNS, bool preserveType)</td></tr>
<tr class="separator:a19cc57d7c26fec370b118f029b40b267"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e9a356c47705b7dd398f2edf70a4583"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classEventGenerator.html#ae6e5557a3042765b3be5e6d7136280fe">EventGenerator::Ptr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classASTNodeEventGenerator.html#a0e9a356c47705b7dd398f2edf70a4583">generateEvents</a> (<a class="el" href="classEventHandler.html">EventHandler</a> *events, <a class="el" href="classDynamicContext.html">DynamicContext</a> *context)</td></tr>
<tr class="memdesc:a0e9a356c47705b7dd398f2edf70a4583"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the result of this expression via the <a class="el" href="classEventHandler.html">EventHandler</a> provided. <a href="#a0e9a356c47705b7dd398f2edf70a4583">More...</a><br/></td></tr>
<tr class="separator:a0e9a356c47705b7dd398f2edf70a4583"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classEventGenerator"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classEventGenerator')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classEventGenerator.html">EventGenerator</a></td></tr>
<tr class="memitem:a65ef84c1033c722593ce41386efe679a inherit pub_methods_classEventGenerator"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEventGenerator.html#a65ef84c1033c722593ce41386efe679a">~EventGenerator</a> ()</td></tr>
<tr class="separator:a65ef84c1033c722593ce41386efe679a inherit pub_methods_classEventGenerator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classReferenceCounted"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classReferenceCounted')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classReferenceCounted.html">ReferenceCounted</a></td></tr>
<tr class="memitem:a5dc30ae895897b5008dc71ea26f175a1 inherit pub_methods_classReferenceCounted"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classReferenceCounted.html#a5dc30ae895897b5008dc71ea26f175a1">ReferenceCounted</a> ()</td></tr>
<tr class="separator:a5dc30ae895897b5008dc71ea26f175a1 inherit pub_methods_classReferenceCounted"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a039b1f45b252a226c55598f31e3993cc inherit pub_methods_classReferenceCounted"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classReferenceCounted.html#a039b1f45b252a226c55598f31e3993cc">~ReferenceCounted</a> ()</td></tr>
<tr class="separator:a039b1f45b252a226c55598f31e3993cc inherit pub_methods_classReferenceCounted"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a386d6aab0473c14a32ce81226b939cb3 inherit pub_methods_classReferenceCounted"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classReferenceCounted.html#a386d6aab0473c14a32ce81226b939cb3">incrementRefCount</a> () const </td></tr>
<tr class="memdesc:a386d6aab0473c14a32ce81226b939cb3 inherit pub_methods_classReferenceCounted"><td class="mdescLeft">&#160;</td><td class="mdescRight">Increment the reference count. <a href="#a386d6aab0473c14a32ce81226b939cb3">More...</a><br/></td></tr>
<tr class="separator:a386d6aab0473c14a32ce81226b939cb3 inherit pub_methods_classReferenceCounted"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a426ce234c4797e7150f44a9bb50537b5 inherit pub_methods_classReferenceCounted"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classReferenceCounted.html#a426ce234c4797e7150f44a9bb50537b5">decrementRefCount</a> () const </td></tr>
<tr class="memdesc:a426ce234c4797e7150f44a9bb50537b5 inherit pub_methods_classReferenceCounted"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decrement the reference count, deleting if it becomes zero. <a href="#a426ce234c4797e7150f44a9bb50537b5">More...</a><br/></td></tr>
<tr class="separator:a426ce234c4797e7150f44a9bb50537b5 inherit pub_methods_classReferenceCounted"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a462eca1b13abf41350ef3d969435db2c inherit pub_methods_classReferenceCounted"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classReferenceCounted.html#a462eca1b13abf41350ef3d969435db2c">getRefCount</a> () const </td></tr>
<tr class="separator:a462eca1b13abf41350ef3d969435db2c inherit pub_methods_classReferenceCounted"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a5090d55d1f185291bd45cee4d32c5b3b"><td class="memItemLeft" align="right" valign="top">const ASTNode *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classASTNodeEventGenerator.html#a5090d55d1f185291bd45cee4d32c5b3b">ast_</a></td></tr>
<tr class="separator:a5090d55d1f185291bd45cee4d32c5b3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92b7a427797667379eb7b5edad79d2c2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classASTNodeEventGenerator.html#a92b7a427797667379eb7b5edad79d2c2">preserveNS_</a></td></tr>
<tr class="separator:a92b7a427797667379eb7b5edad79d2c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a90882b1e31984d57a322a5fce8a015"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classASTNodeEventGenerator.html#a0a90882b1e31984d57a322a5fce8a015">preserveType_</a></td></tr>
<tr class="separator:a0a90882b1e31984d57a322a5fce8a015"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classReferenceCounted"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classReferenceCounted')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classReferenceCounted.html">ReferenceCounted</a></td></tr>
<tr class="memitem:a09e5d033e5224cd8b94cdc061cb56fe0 inherit pro_attribs_classReferenceCounted"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classReferenceCounted.html#a09e5d033e5224cd8b94cdc061cb56fe0">_ref_count</a></td></tr>
<tr class="separator:a09e5d033e5224cd8b94cdc061cb56fe0 inherit pro_attribs_classReferenceCounted"><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 pub_types_classEventGenerator"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classEventGenerator')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classEventGenerator.html">EventGenerator</a></td></tr>
<tr class="memitem:ae6e5557a3042765b3be5e6d7136280fe inherit pub_types_classEventGenerator"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classRefCountPointer.html">RefCountPointer</a><br class="typebreak"/>
&lt; <a class="el" href="classEventGenerator.html">EventGenerator</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEventGenerator.html#ae6e5557a3042765b3be5e6d7136280fe">Ptr</a></td></tr>
<tr class="separator:ae6e5557a3042765b3be5e6d7136280fe inherit pub_types_classEventGenerator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classEventGenerator"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classEventGenerator')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classEventGenerator.html">EventGenerator</a></td></tr>
<tr class="memitem:af5706f4d964a19492fed64cb14a9eb73 inherit pub_static_methods_classEventGenerator"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEventGenerator.html#af5706f4d964a19492fed64cb14a9eb73">generateAndTailCall</a> (const <a class="el" href="classEventGenerator.html#ae6e5557a3042765b3be5e6d7136280fe">EventGenerator::Ptr</a> &amp;generator, <a class="el" href="classEventHandler.html">EventHandler</a> *events, <a class="el" href="classDynamicContext.html">DynamicContext</a> *context)</td></tr>
<tr class="separator:af5706f4d964a19492fed64cb14a9eb73 inherit pub_static_methods_classEventGenerator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a546f948491fc8cb975afc82cd515ebd8 inherit pub_static_methods_classEventGenerator"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classResult.html">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEventGenerator.html#a546f948491fc8cb975afc82cd515ebd8">createResult</a> (const ASTNode *ast, const QueryPathNode *projection, <a class="el" href="classDynamicContext.html">DynamicContext</a> *context)</td></tr>
<tr class="separator:a546f948491fc8cb975afc82cd515ebd8 inherit pub_static_methods_classEventGenerator"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a19cc57d7c26fec370b118f029b40b267"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ASTNodeEventGenerator::ASTNodeEventGenerator </td>
<td>(</td>
<td class="paramtype">const ASTNode *&#160;</td>
<td class="paramname"><em>ast</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>preserveNS</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>preserveType</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a0e9a356c47705b7dd398f2edf70a4583"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classEventGenerator.html#ae6e5557a3042765b3be5e6d7136280fe">EventGenerator::Ptr</a> ASTNodeEventGenerator::generateEvents </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classEventHandler.html">EventHandler</a> *&#160;</td>
<td class="paramname"><em>events</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classDynamicContext.html">DynamicContext</a> *&#160;</td>
<td class="paramname"><em>context</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">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the result of this expression via the <a class="el" href="classEventHandler.html">EventHandler</a> provided. </p>
<p>An <a class="el" href="classEventGenerator.html">EventGenerator</a> may be returned to be called as a tail call optimization </p>
<p>Implements <a class="el" href="classEventGenerator.html#a067ad4ae2db64171737fd6c1e538f90e">EventGenerator</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a5090d55d1f185291bd45cee4d32c5b3b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const ASTNode* ASTNodeEventGenerator::ast_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a92b7a427797667379eb7b5edad79d2c2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ASTNodeEventGenerator::preserveNS_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a0a90882b1e31984d57a322a5fce8a015"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ASTNodeEventGenerator::preserveType_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="EventGenerator_8hpp_source.html">EventGenerator.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.5
</small></address>
</body>
</html>