<!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> <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.14"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>ANTLR Support Libraries 2.7.1+: antlr/ASTRefCount.hpp Source File</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 style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">ANTLR Support Libraries 2.7.1+ </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.14 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "search",false,'Search'); /* @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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(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"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_9c8e8911af73f67dde8725dfb433f447.html">antlr</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">ASTRefCount.hpp</div> </div> </div><!--header--> <div class="contents"> <a href="ASTRefCount_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef INC_ASTRefCount_hpp__</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor"># define INC_ASTRefCount_hpp__</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> </div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">/* ANTLR Translator Generator</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Project led by Terence Parr at http://www.jGuru.com</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Software rights: http://www.antlr.org/license.html</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * $Id: //depot/code/org.antlr/release/antlr-2.7.7/lib/cpp/antlr/ASTRefCount.hpp#2 $</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> */</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor"># include <<a class="code" href="config_8hpp.html">antlr/config.hpp</a>></span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="keyword">namespace </span><a class="code" href="namespaceantlr.html">antlr</a> {</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <span class="keyword">class </span><a class="code" href="classAST.html">AST</a>;</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="structASTRef.html"> 19</a></span> <span class="keyword">struct </span><a class="code" href="config_8hpp.html#ad583892c7af76867441115e41aa1ce52">ANTLR_API</a> <a class="code" href="structASTRef.html">ASTRef</a></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> {</div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="structASTRef.html#a10c3e8f3fc4bae37aba9f6a642583b89"> 21</a></span>  <a class="code" href="classAST.html">AST</a>* <span class="keyword">const</span> <a class="code" href="structASTRef.html#a10c3e8f3fc4bae37aba9f6a642583b89">ptr</a>;</div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="structASTRef.html#a28e52e59a54e707c76f1fdba2ae6cf0f"> 22</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structASTRef.html#a28e52e59a54e707c76f1fdba2ae6cf0f">count</a>;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <a class="code" href="structASTRef.html">ASTRef</a>(<a class="code" href="classAST.html">AST</a>* p);</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  ~<a class="code" href="structASTRef.html">ASTRef</a>();</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="structASTRef.html#ada4522ea4201952e6d53e1cb9e656b8e"> 26</a></span>  <a class="code" href="structASTRef.html">ASTRef</a>* <a class="code" href="structASTRef.html#ada4522ea4201952e6d53e1cb9e656b8e">increment</a>()</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  {</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  ++count;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordflow">return</span> <span class="keyword">this</span>;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  }</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="structASTRef.html#a1ce0da7aeab8e05d49bc967befb6951b"> 31</a></span>  <span class="keywordtype">bool</span> <a class="code" href="structASTRef.html#a1ce0da7aeab8e05d49bc967befb6951b">decrement</a>()</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  {</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordflow">return</span> (--count==0);</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  }</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keyword">static</span> <a class="code" href="structASTRef.html">ASTRef</a>* getRef(<span class="keyword">const</span> <a class="code" href="classAST.html">AST</a>* p);</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <a class="code" href="structASTRef.html">ASTRef</a>( <span class="keyword">const</span> <a class="code" href="structASTRef.html">ASTRef</a>& );</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <a class="code" href="structASTRef.html">ASTRef</a>& operator=( <span class="keyword">const</span> <a class="code" href="structASTRef.html">ASTRef</a>& );</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> };</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">template</span><<span class="keyword">class</span> T></div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classASTRefCount.html"> 43</a></span>  <span class="keyword">class </span><a class="code" href="config_8hpp.html#ad583892c7af76867441115e41aa1ce52">ANTLR_API</a> <a class="code" href="classASTRefCount.html">ASTRefCount</a></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> {</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classASTRefCount.html#a57ebfcef5838bff839049d1b2ed16df3"> 46</a></span>  <a class="code" href="structASTRef.html">ASTRef</a>* <a class="code" href="classASTRefCount.html#a57ebfcef5838bff839049d1b2ed16df3">ref</a>;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classASTRefCount.html#ab7c755df93eda89c550ace2cf4b1dbd5"> 49</a></span>  <a class="code" href="classASTRefCount.html#ab7c755df93eda89c550ace2cf4b1dbd5">ASTRefCount</a>(<span class="keyword">const</span> <a class="code" href="classAST.html">AST</a>* p=0)</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  : ref(p ? <a class="code" href="structASTRef.html">ASTRef</a>::getRef(p) : 0)</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  {</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  }</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classASTRefCount.html#a1bff3dfd0ee4d153ae64df57e4f196c8"> 53</a></span>  <a class="code" href="classASTRefCount.html#a1bff3dfd0ee4d153ae64df57e4f196c8">ASTRefCount</a>(<span class="keyword">const</span> <a class="code" href="classASTRefCount.html">ASTRefCount<T></a>& other)</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  : ref(other.ref ? other.ref->increment() : 0)</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  {</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  }</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classASTRefCount.html#a97eeec4e5a8744a133498be5396e1681"> 57</a></span>  <a class="code" href="classASTRefCount.html#a97eeec4e5a8744a133498be5396e1681">~ASTRefCount</a>()</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  {</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">if</span> (ref && ref-><a class="code" href="structASTRef.html#a1ce0da7aeab8e05d49bc967befb6951b">decrement</a>())</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keyword">delete</span> ref;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  }</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classASTRefCount.html#a8bd9efd16d3526a5c922f5bbac83f06c"> 62</a></span>  <a class="code" href="classASTRefCount.html">ASTRefCount<T></a>& <a class="code" href="classASTRefCount.html#a8bd9efd16d3526a5c922f5bbac83f06c">operator=</a>(<a class="code" href="classAST.html">AST</a>* other)</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  {</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <a class="code" href="structASTRef.html">ASTRef</a>* tmp = <a class="code" href="structASTRef.html#a48fceba6cc8a36ca0bb12e25ed042223">ASTRef::getRef</a>(other);</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordflow">if</span> (ref && ref-><a class="code" href="structASTRef.html#a1ce0da7aeab8e05d49bc967befb6951b">decrement</a>())</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keyword">delete</span> ref;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  ref=tmp;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  }</div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classASTRefCount.html#a75c94d6f80c29a5f2ffc29af4c7a35cb"> 73</a></span>  <a class="code" href="classASTRefCount.html">ASTRefCount<T></a>& <a class="code" href="classASTRefCount.html#a75c94d6f80c29a5f2ffc29af4c7a35cb">operator=</a>(<span class="keyword">const</span> <a class="code" href="classASTRefCount.html">ASTRefCount<T></a>& other)</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  {</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordflow">if</span>( other.<a class="code" href="classASTRefCount.html#a57ebfcef5838bff839049d1b2ed16df3">ref</a> != ref )</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  {</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="structASTRef.html">ASTRef</a>* tmp = other.<a class="code" href="classASTRefCount.html#a57ebfcef5838bff839049d1b2ed16df3">ref</a> ? other.<a class="code" href="classASTRefCount.html#a57ebfcef5838bff839049d1b2ed16df3">ref</a>-><a class="code" href="structASTRef.html#ada4522ea4201952e6d53e1cb9e656b8e">increment</a>() : 0;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordflow">if</span> (ref && ref-><a class="code" href="structASTRef.html#a1ce0da7aeab8e05d49bc967befb6951b">decrement</a>())</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keyword">delete</span> ref;</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> </div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  ref=tmp;</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  }</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  }</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classASTRefCount.html#a1bc85855a6f0d2c1dd2b55c1c39e93f9"> 87</a></span>  <span class="keyword">operator</span> T* () <span class="keyword">const</span> { <span class="keywordflow">return</span> ref ? <span class="keyword">static_cast<</span>T*<span class="keyword">></span>(ref-><a class="code" href="structASTRef.html#a10c3e8f3fc4bae37aba9f6a642583b89">ptr</a>) : 0; }</div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="classASTRefCount.html#a58d8d818e704b08ab11e2ce954432ad2"> 88</a></span>  T* <a class="code" href="classASTRefCount.html#a58d8d818e704b08ab11e2ce954432ad2">operator-></a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ref ? <span class="keyword">static_cast<</span>T*<span class="keyword">></span>(ref-><a class="code" href="structASTRef.html#a10c3e8f3fc4bae37aba9f6a642583b89">ptr</a>) : 0; }</div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classASTRefCount.html#a1c6c7018e571f0f4d6fdb9cbb0578bc9"> 89</a></span>  T* <span class="keyword">get</span>() <span class="keyword">const</span> { <span class="keywordflow">return</span> ref ? <span class="keyword">static_cast<</span>T*<span class="keyword">></span>(ref-><a class="code" href="structASTRef.html#a10c3e8f3fc4bae37aba9f6a642583b89">ptr</a>) : 0; }</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> };</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="ASTRefCount_8hpp.html#a25b300faa8730e33c35b83c55afd2596"> 92</a></span> <span class="keyword">typedef</span> <a class="code" href="classASTRefCount.html">ASTRefCount<AST></a> <a class="code" href="ASTRefCount_8hpp.html#a25b300faa8730e33c35b83c55afd2596">RefAST</a>;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="preprocessor">#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE</span></div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> }</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="preprocessor">#endif //INC_ASTRefCount_hpp__</span></div><div class="ttc" id="namespaceantlr_html"><div class="ttname"><a href="namespaceantlr.html">antlr</a></div><div class="ttdef"><b>Definition:</b> ANTLRException.hpp:15</div></div> <div class="ttc" id="classAST_html"><div class="ttname"><a href="classAST.html">AST</a></div><div class="ttdef"><b>Definition:</b> AST.hpp:23</div></div> <div class="ttc" id="structASTRef_html_a48fceba6cc8a36ca0bb12e25ed042223"><div class="ttname"><a href="structASTRef.html#a48fceba6cc8a36ca0bb12e25ed042223">ASTRef::getRef</a></div><div class="ttdeci">static ASTRef * getRef(const AST *p)</div><div class="ttdef"><b>Definition:</b> ASTRefCount.cpp:26</div></div> <div class="ttc" id="classASTRefCount_html_a58d8d818e704b08ab11e2ce954432ad2"><div class="ttname"><a href="classASTRefCount.html#a58d8d818e704b08ab11e2ce954432ad2">ASTRefCount::operator-></a></div><div class="ttdeci">T * operator->() const</div><div class="ttdef"><b>Definition:</b> ASTRefCount.hpp:88</div></div> <div class="ttc" id="classASTRefCount_html_a57ebfcef5838bff839049d1b2ed16df3"><div class="ttname"><a href="classASTRefCount.html#a57ebfcef5838bff839049d1b2ed16df3">ASTRefCount::ref</a></div><div class="ttdeci">ASTRef * ref</div><div class="ttdef"><b>Definition:</b> ASTRefCount.hpp:46</div></div> <div class="ttc" id="classASTRefCount_html_a97eeec4e5a8744a133498be5396e1681"><div class="ttname"><a href="classASTRefCount.html#a97eeec4e5a8744a133498be5396e1681">ASTRefCount::~ASTRefCount</a></div><div class="ttdeci">~ASTRefCount()</div><div class="ttdef"><b>Definition:</b> ASTRefCount.hpp:57</div></div> <div class="ttc" id="classASTRefCount_html_a1bff3dfd0ee4d153ae64df57e4f196c8"><div class="ttname"><a href="classASTRefCount.html#a1bff3dfd0ee4d153ae64df57e4f196c8">ASTRefCount::ASTRefCount</a></div><div class="ttdeci">ASTRefCount(const ASTRefCount< T > &other)</div><div class="ttdef"><b>Definition:</b> ASTRefCount.hpp:53</div></div> <div class="ttc" id="config_8hpp_html"><div class="ttname"><a href="config_8hpp.html">config.hpp</a></div></div> <div class="ttc" id="config_8hpp_html_ad583892c7af76867441115e41aa1ce52"><div class="ttname"><a href="config_8hpp.html#ad583892c7af76867441115e41aa1ce52">ANTLR_API</a></div><div class="ttdeci">#define ANTLR_API</div><div class="ttdef"><b>Definition:</b> config.hpp:22</div></div> <div class="ttc" id="structASTRef_html_a1ce0da7aeab8e05d49bc967befb6951b"><div class="ttname"><a href="structASTRef.html#a1ce0da7aeab8e05d49bc967befb6951b">ASTRef::decrement</a></div><div class="ttdeci">bool decrement()</div><div class="ttdef"><b>Definition:</b> ASTRefCount.hpp:31</div></div> <div class="ttc" id="classASTRefCount_html_ab7c755df93eda89c550ace2cf4b1dbd5"><div class="ttname"><a href="classASTRefCount.html#ab7c755df93eda89c550ace2cf4b1dbd5">ASTRefCount::ASTRefCount</a></div><div class="ttdeci">ASTRefCount(const AST *p=0)</div><div class="ttdef"><b>Definition:</b> ASTRefCount.hpp:49</div></div> <div class="ttc" id="classASTRefCount_html_a8bd9efd16d3526a5c922f5bbac83f06c"><div class="ttname"><a href="classASTRefCount.html#a8bd9efd16d3526a5c922f5bbac83f06c">ASTRefCount::operator=</a></div><div class="ttdeci">ASTRefCount< T > & operator=(AST *other)</div><div class="ttdef"><b>Definition:</b> ASTRefCount.hpp:62</div></div> <div class="ttc" id="structASTRef_html_a10c3e8f3fc4bae37aba9f6a642583b89"><div class="ttname"><a href="structASTRef.html#a10c3e8f3fc4bae37aba9f6a642583b89">ASTRef::ptr</a></div><div class="ttdeci">AST *const ptr</div><div class="ttdef"><b>Definition:</b> ASTRefCount.hpp:21</div></div> <div class="ttc" id="structASTRef_html"><div class="ttname"><a href="structASTRef.html">ASTRef</a></div><div class="ttdef"><b>Definition:</b> ASTRefCount.hpp:19</div></div> <div class="ttc" id="classASTRefCount_html"><div class="ttname"><a href="classASTRefCount.html">ASTRefCount</a></div><div class="ttdef"><b>Definition:</b> ASTRefCount.hpp:43</div></div> <div class="ttc" id="structASTRef_html_a28e52e59a54e707c76f1fdba2ae6cf0f"><div class="ttname"><a href="structASTRef.html#a28e52e59a54e707c76f1fdba2ae6cf0f">ASTRef::count</a></div><div class="ttdeci">unsigned int count</div><div class="ttdef"><b>Definition:</b> ASTRefCount.hpp:22</div></div> <div class="ttc" id="ASTRefCount_8hpp_html_a25b300faa8730e33c35b83c55afd2596"><div class="ttname"><a href="ASTRefCount_8hpp.html#a25b300faa8730e33c35b83c55afd2596">RefAST</a></div><div class="ttdeci">ASTRefCount< AST > RefAST</div><div class="ttdef"><b>Definition:</b> ASTRefCount.hpp:92</div></div> <div class="ttc" id="structASTRef_html_ada4522ea4201952e6d53e1cb9e656b8e"><div class="ttname"><a href="structASTRef.html#ada4522ea4201952e6d53e1cb9e656b8e">ASTRef::increment</a></div><div class="ttdeci">ASTRef * increment()</div><div class="ttdef"><b>Definition:</b> ASTRefCount.hpp:26</div></div> <div class="ttc" id="classASTRefCount_html_a75c94d6f80c29a5f2ffc29af4c7a35cb"><div class="ttname"><a href="classASTRefCount.html#a75c94d6f80c29a5f2ffc29af4c7a35cb">ASTRefCount::operator=</a></div><div class="ttdeci">ASTRefCount< T > & operator=(const ASTRefCount< T > &other)</div><div class="ttdef"><b>Definition:</b> ASTRefCount.hpp:73</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.14 </small></address> </body> </html>