<!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/TokenRefCount.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">TokenRefCount.hpp</div> </div> </div><!--header--> <div class="contents"> <a href="TokenRefCount_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_TokenRefCount_hpp__</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor"># define INC_TokenRefCount_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:$</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="classToken.html">Token</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="structTokenRef.html"> 19</a></span> <span class="keyword">struct </span><a class="code" href="config_8hpp.html#ad583892c7af76867441115e41aa1ce52">ANTLR_API</a> <a class="code" href="structTokenRef.html">TokenRef</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="structTokenRef.html#a658b42164c08d0b5f3f456dcf0190a34"> 21</a></span>  <a class="code" href="classToken.html">Token</a>* <span class="keyword">const</span> <a class="code" href="structTokenRef.html#a658b42164c08d0b5f3f456dcf0190a34">ptr</a>;</div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="structTokenRef.html#a800b42792a6486d995d882af3d54628f"> 22</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structTokenRef.html#a800b42792a6486d995d882af3d54628f">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="structTokenRef.html">TokenRef</a>(<a class="code" href="classToken.html">Token</a>* p);</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  ~<a class="code" href="structTokenRef.html">TokenRef</a>();</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="structTokenRef.html#afce68bd261fdc3950f2cf834745d7228"> 26</a></span>  <a class="code" href="structTokenRef.html">TokenRef</a>* <a class="code" href="structTokenRef.html#afce68bd261fdc3950f2cf834745d7228">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="structTokenRef.html#a9f8c5da90f94d6d9dd1fd467847bdcc9"> 31</a></span>  <span class="keywordtype">bool</span> <a class="code" href="structTokenRef.html#a9f8c5da90f94d6d9dd1fd467847bdcc9">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="structTokenRef.html">TokenRef</a>* getRef(<span class="keyword">const</span> <a class="code" href="classToken.html">Token</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="structTokenRef.html">TokenRef</a>( <span class="keyword">const</span> <a class="code" href="structTokenRef.html">TokenRef</a>& );</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <a class="code" href="structTokenRef.html">TokenRef</a>& operator=( <span class="keyword">const</span> <a class="code" href="structTokenRef.html">TokenRef</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="classTokenRefCount.html"> 43</a></span>  <span class="keyword">class </span><a class="code" href="config_8hpp.html#ad583892c7af76867441115e41aa1ce52">ANTLR_API</a> <a class="code" href="classTokenRefCount.html">TokenRefCount</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="classTokenRefCount.html#a3041f40f4fba43712b14e7ade58712c1"> 46</a></span>  <a class="code" href="structTokenRef.html">TokenRef</a>* <a class="code" href="classTokenRefCount.html#a3041f40f4fba43712b14e7ade58712c1">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="classTokenRefCount.html#abbe2ee0ab6a9f855ae590499d406f633"> 49</a></span>  <a class="code" href="classTokenRefCount.html#abbe2ee0ab6a9f855ae590499d406f633">TokenRefCount</a>(<span class="keyword">const</span> <a class="code" href="classToken.html">Token</a>* p=0)</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  : ref(p ? <a class="code" href="structTokenRef.html">TokenRef</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="classTokenRefCount.html#a7578138c8ebf1adb18251d74695b0805"> 53</a></span>  <a class="code" href="classTokenRefCount.html#a7578138c8ebf1adb18251d74695b0805">TokenRefCount</a>(<span class="keyword">const</span> <a class="code" href="classTokenRefCount.html">TokenRefCount<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="classTokenRefCount.html#abc58f0ec0bf81642c95e49753aaa99eb"> 57</a></span>  <a class="code" href="classTokenRefCount.html#abc58f0ec0bf81642c95e49753aaa99eb">~TokenRefCount</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="structTokenRef.html#a9f8c5da90f94d6d9dd1fd467847bdcc9">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="classTokenRefCount.html#ae848b8c7b52f4c5b064db998a2480326"> 62</a></span>  <a class="code" href="classTokenRefCount.html">TokenRefCount<T></a>& <a class="code" href="classTokenRefCount.html#ae848b8c7b52f4c5b064db998a2480326">operator=</a>(<a class="code" href="classToken.html">Token</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="structTokenRef.html">TokenRef</a>* tmp = <a class="code" href="structTokenRef.html#a13dbb784e09fee9400c1218fde5737ef">TokenRef::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="structTokenRef.html#a9f8c5da90f94d6d9dd1fd467847bdcc9">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="classTokenRefCount.html#aff1d1910d1419e0884bbc96ad76b4b5e"> 73</a></span>  <a class="code" href="classTokenRefCount.html">TokenRefCount<T></a>& <a class="code" href="classTokenRefCount.html#aff1d1910d1419e0884bbc96ad76b4b5e">operator=</a>(<span class="keyword">const</span> <a class="code" href="classTokenRefCount.html">TokenRefCount<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="classTokenRefCount.html#a3041f40f4fba43712b14e7ade58712c1">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="structTokenRef.html">TokenRef</a>* tmp = other.<a class="code" href="classTokenRefCount.html#a3041f40f4fba43712b14e7ade58712c1">ref</a> ? other.<a class="code" href="classTokenRefCount.html#a3041f40f4fba43712b14e7ade58712c1">ref</a>-><a class="code" href="structTokenRef.html#afce68bd261fdc3950f2cf834745d7228">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="structTokenRef.html#a9f8c5da90f94d6d9dd1fd467847bdcc9">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="classTokenRefCount.html#a255595082427dbc3b7a62e06a9ddc4d5"> 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="structTokenRef.html#a658b42164c08d0b5f3f456dcf0190a34">ptr</a>) : 0; }</div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="classTokenRefCount.html#a4a1b5b467f2781b614f0ca69aebaa303"> 88</a></span>  T* <a class="code" href="classTokenRefCount.html#a4a1b5b467f2781b614f0ca69aebaa303">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="structTokenRef.html#a658b42164c08d0b5f3f456dcf0190a34">ptr</a>) : 0; }</div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classTokenRefCount.html#a75cd7eb0b43a23cbc93b5cbbaad8027d"> 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="structTokenRef.html#a658b42164c08d0b5f3f456dcf0190a34">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="TokenRefCount_8hpp.html#a90bf433b9f39606e6bf39757f6910ac7"> 92</a></span> <span class="keyword">typedef</span> <a class="code" href="classTokenRefCount.html">TokenRefCount<Token></a> <a class="code" href="TokenRefCount_8hpp.html#a90bf433b9f39606e6bf39757f6910ac7">RefToken</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_TokenRefCount_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="classTokenRefCount_html"><div class="ttname"><a href="classTokenRefCount.html">TokenRefCount</a></div><div class="ttdef"><b>Definition:</b> TokenRefCount.hpp:43</div></div> <div class="ttc" id="classTokenRefCount_html_abbe2ee0ab6a9f855ae590499d406f633"><div class="ttname"><a href="classTokenRefCount.html#abbe2ee0ab6a9f855ae590499d406f633">TokenRefCount::TokenRefCount</a></div><div class="ttdeci">TokenRefCount(const Token *p=0)</div><div class="ttdef"><b>Definition:</b> TokenRefCount.hpp:49</div></div> <div class="ttc" id="classTokenRefCount_html_a3041f40f4fba43712b14e7ade58712c1"><div class="ttname"><a href="classTokenRefCount.html#a3041f40f4fba43712b14e7ade58712c1">TokenRefCount::ref</a></div><div class="ttdeci">TokenRef * ref</div><div class="ttdef"><b>Definition:</b> TokenRefCount.hpp:46</div></div> <div class="ttc" id="structTokenRef_html_a658b42164c08d0b5f3f456dcf0190a34"><div class="ttname"><a href="structTokenRef.html#a658b42164c08d0b5f3f456dcf0190a34">TokenRef::ptr</a></div><div class="ttdeci">Token *const ptr</div><div class="ttdef"><b>Definition:</b> TokenRefCount.hpp:21</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="structTokenRef_html_a800b42792a6486d995d882af3d54628f"><div class="ttname"><a href="structTokenRef.html#a800b42792a6486d995d882af3d54628f">TokenRef::count</a></div><div class="ttdeci">unsigned int count</div><div class="ttdef"><b>Definition:</b> TokenRefCount.hpp:22</div></div> <div class="ttc" id="structTokenRef_html_a9f8c5da90f94d6d9dd1fd467847bdcc9"><div class="ttname"><a href="structTokenRef.html#a9f8c5da90f94d6d9dd1fd467847bdcc9">TokenRef::decrement</a></div><div class="ttdeci">bool decrement()</div><div class="ttdef"><b>Definition:</b> TokenRefCount.hpp:31</div></div> <div class="ttc" id="structTokenRef_html"><div class="ttname"><a href="structTokenRef.html">TokenRef</a></div><div class="ttdef"><b>Definition:</b> TokenRefCount.hpp:19</div></div> <div class="ttc" id="classTokenRefCount_html_a7578138c8ebf1adb18251d74695b0805"><div class="ttname"><a href="classTokenRefCount.html#a7578138c8ebf1adb18251d74695b0805">TokenRefCount::TokenRefCount</a></div><div class="ttdeci">TokenRefCount(const TokenRefCount< T > &other)</div><div class="ttdef"><b>Definition:</b> TokenRefCount.hpp:53</div></div> <div class="ttc" id="classTokenRefCount_html_a4a1b5b467f2781b614f0ca69aebaa303"><div class="ttname"><a href="classTokenRefCount.html#a4a1b5b467f2781b614f0ca69aebaa303">TokenRefCount::operator-></a></div><div class="ttdeci">T * operator->() const</div><div class="ttdef"><b>Definition:</b> TokenRefCount.hpp:88</div></div> <div class="ttc" id="TokenRefCount_8hpp_html_a90bf433b9f39606e6bf39757f6910ac7"><div class="ttname"><a href="TokenRefCount_8hpp.html#a90bf433b9f39606e6bf39757f6910ac7">RefToken</a></div><div class="ttdeci">TokenRefCount< Token > RefToken</div><div class="ttdef"><b>Definition:</b> TokenRefCount.hpp:92</div></div> <div class="ttc" id="structTokenRef_html_afce68bd261fdc3950f2cf834745d7228"><div class="ttname"><a href="structTokenRef.html#afce68bd261fdc3950f2cf834745d7228">TokenRef::increment</a></div><div class="ttdeci">TokenRef * increment()</div><div class="ttdef"><b>Definition:</b> TokenRefCount.hpp:26</div></div> <div class="ttc" id="classTokenRefCount_html_aff1d1910d1419e0884bbc96ad76b4b5e"><div class="ttname"><a href="classTokenRefCount.html#aff1d1910d1419e0884bbc96ad76b4b5e">TokenRefCount::operator=</a></div><div class="ttdeci">TokenRefCount< T > & operator=(const TokenRefCount< T > &other)</div><div class="ttdef"><b>Definition:</b> TokenRefCount.hpp:73</div></div> <div class="ttc" id="classTokenRefCount_html_ae848b8c7b52f4c5b064db998a2480326"><div class="ttname"><a href="classTokenRefCount.html#ae848b8c7b52f4c5b064db998a2480326">TokenRefCount::operator=</a></div><div class="ttdeci">TokenRefCount< T > & operator=(Token *other)</div><div class="ttdef"><b>Definition:</b> TokenRefCount.hpp:62</div></div> <div class="ttc" id="classTokenRefCount_html_abc58f0ec0bf81642c95e49753aaa99eb"><div class="ttname"><a href="classTokenRefCount.html#abc58f0ec0bf81642c95e49753aaa99eb">TokenRefCount::~TokenRefCount</a></div><div class="ttdeci">~TokenRefCount()</div><div class="ttdef"><b>Definition:</b> TokenRefCount.hpp:57</div></div> <div class="ttc" id="classToken_html"><div class="ttname"><a href="classToken.html">Token</a></div><div class="ttdef"><b>Definition:</b> Token.hpp:24</div></div> <div class="ttc" id="structTokenRef_html_a13dbb784e09fee9400c1218fde5737ef"><div class="ttname"><a href="structTokenRef.html#a13dbb784e09fee9400c1218fde5737ef">TokenRef::getRef</a></div><div class="ttdeci">static TokenRef * getRef(const Token *p)</div><div class="ttdef"><b>Definition:</b> TokenRefCount.cpp:26</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>