526 lines
89 KiB
HTML
526 lines
89 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&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 Page</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li class="current"><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="files.html"><span>File List</span></a></li>
|
|
<li><a href="globals.html"><span>File Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_e3266bbc227f825a287bdb912a8a79c0.html">include</a></li><li class="navelem"><a class="el" href="dir_a1bc92396ffc8a3dc7aa16f9f9aed8c7.html">xqilla</a></li><li class="navelem"><a class="el" href="dir_21314fd8aa3f00deb23a3694b8fb0d10.html">framework</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">XPath2MemoryManager.hpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="XPath2MemoryManager_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="comment">/*</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2001, 2008,</span></div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * DecisionSoft Limited. All rights reserved.</span></div>
|
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2004, 2018 Oracle and/or its affiliates. All rights reserved.</span></div>
|
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * </span></div>
|
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</span></div>
|
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * you may not use this file except in compliance with the License.</span></div>
|
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * You may obtain a copy of the License at</span></div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span></div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * See the License for the specific language governing permissions and</span></div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * limitations under the License.</span></div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> */</span></div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#ifndef __XPATH2MEMORYMANAGER_HPP</span></div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor"></span><span class="preprocessor">#define __XPATH2MEMORYMANAGER_HPP</span></div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor"></span></div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <algorithm></span></div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <assert.h></span></div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <cstddef></span></div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <xqilla/framework/XQillaExport.hpp></span></div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <<a class="code" href="MemoryManager_8hpp.html">xercesc/framework/MemoryManager.hpp</a>></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"> 31</span> XERCES_CPP_NAMESPACE_BEGIN</div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">class </span>DOMNode;</div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">class </span>XMLGrammarPool;</div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> XERCES_CPP_NAMESPACE_END</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">class </span><a class="code" href="classVariableStore.html">VariableStore</a>;</div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">class </span><a class="code" href="classVariableTypeStore.html">VariableTypeStore</a>;</div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">class </span><a class="code" href="classDynamicContext.html">DynamicContext</a>;</div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">class </span><a class="code" href="classCollation.html">Collation</a>;</div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">class </span>CollationHelper;</div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">class </span>XQillaNSResolver;</div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">class </span><a class="code" href="classATDecimalOrDerived.html">ATDecimalOrDerived</a>;</div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">class </span><a class="code" href="classStringPool.html">StringPool</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"><a class="line" href="classXPath2MemoryManager.html"> 45</a></span> <span class="keyword">class </span>XQILLA_API <a class="code" href="classXPath2MemoryManager.html">XPath2MemoryManager</a> : <span class="keyword">public</span> XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager</div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> {</div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classXPath2MemoryManager.html#a2a42454955f541092df5332858ff284c"> 48</a></span>  <span class="keyword">virtual</span> <a class="code" href="classXPath2MemoryManager.html#a2a42454955f541092df5332858ff284c">~XPath2MemoryManager</a>() {}</div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> reset() = 0;</div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* getPooledString(<span class="keyword">const</span> XMLCh *src) = 0;</div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* getPooledString(<span class="keyword">const</span> XMLCh *src, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> length) = 0;</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* getPooledString(<span class="keyword">const</span> <span class="keywordtype">char</span> *src) = 0;</div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="comment">// from MemoryManager</span></div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="preprocessor">#if _XERCES_VERSION >= 30000</span></div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span>* allocate(XMLSize_t numElements) = 0;</div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="preprocessor">#else</span></div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span>* allocate(<span class="keywordtype">size_t</span> numElements) = 0; </div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="preprocessor">#endif </span></div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> deallocate(<span class="keywordtype">void</span>* p) = 0;</div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  </div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keyword">virtual</span> <a class="code" href="classCollation.html">Collation</a>* createCollation(CollationHelper* helper) = 0;</div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">virtual</span> XQillaNSResolver* createNSResolver(XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *resolverNode) = 0;</div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  </div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keyword">virtual</span> <a class="code" href="classVariableTypeStore.html">VariableTypeStore</a>* createVariableTypeStore() = 0;</div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keyword">virtual</span> <a class="code" href="classATDecimalOrDerived.html">ATDecimalOrDerived</a>* createInteger(<span class="keywordtype">int</span> value) = 0;</div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> dumpStatistics() <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> getAllocatedObjectCount() <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> getTotalAllocatedMemory() <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classStringPool.html">StringPool</a> *getStringPool() <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> };<span class="comment">//XPath2MemoryManager</span></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="keyword">template</span> <<span class="keyword">class</span> _Tp></div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classXQillaAllocator.html"> 85</a></span> <span class="keyword">class </span><a class="code" href="classXQillaAllocator.html">XQillaAllocator</a></div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> {</div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="classXQillaAllocator.html#a276f8d8b17823fd320eb80e37a09c4dd"> 88</a></span>  <span class="keyword">typedef</span> <span class="keywordtype">size_t</span> <a class="code" href="classXQillaAllocator.html#a276f8d8b17823fd320eb80e37a09c4dd">size_type</a>;</div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classXQillaAllocator.html#a89df7c8392d644bcde141dcd602110f4"> 89</a></span>  <span class="keyword">typedef</span> ptrdiff_t <a class="code" href="classXQillaAllocator.html#a89df7c8392d644bcde141dcd602110f4">difference_type</a>;</div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classXQillaAllocator.html#a81d4c25067e642232a9f16e8996a0cd2"> 90</a></span>  <span class="keyword">typedef</span> _Tp* <a class="code" href="classXQillaAllocator.html#a81d4c25067e642232a9f16e8996a0cd2">pointer</a>;</div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classXQillaAllocator.html#acec548af851f23a1984b99cf37614235"> 91</a></span>  <span class="keyword">typedef</span> <span class="keyword">const</span> _Tp* <a class="code" href="classXQillaAllocator.html#acec548af851f23a1984b99cf37614235">const_pointer</a>;</div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classXQillaAllocator.html#a4d10ef0e016a60698016ed4bd730817e"> 92</a></span>  <span class="keyword">typedef</span> _Tp& <a class="code" href="classXQillaAllocator.html#a4d10ef0e016a60698016ed4bd730817e">reference</a>;</div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="classXQillaAllocator.html#ad77181acbd0fe45a361f5a7ef75cee7d"> 93</a></span>  <span class="keyword">typedef</span> <span class="keyword">const</span> _Tp& <a class="code" href="classXQillaAllocator.html#ad77181acbd0fe45a361f5a7ef75cee7d">const_reference</a>;</div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="classXQillaAllocator.html#ac1fe0b1a3f5533725c65e9a22fbe1330"> 94</a></span>  <span class="keyword">typedef</span> _Tp <a class="code" href="classXQillaAllocator.html#ac1fe0b1a3f5533725c65e9a22fbe1330">value_type</a>;</div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="structXQillaAllocator_1_1rebind.html"> 96</a></span>  <span class="keyword">template</span> <<span class="keyword">class</span> _Tp1> <span class="keyword">struct </span><a class="code" href="structXQillaAllocator_1_1rebind.html">rebind</a> {</div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="structXQillaAllocator_1_1rebind.html#a5dc95c37a843ba22e4b0c913984e295b"> 97</a></span>  <span class="keyword">typedef</span> <a class="code" href="classXQillaAllocator.html">XQillaAllocator<_Tp1></a> <a class="code" href="structXQillaAllocator_1_1rebind.html#a5dc95c37a843ba22e4b0c913984e295b">other</a>;</div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  };</div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="comment">// Should never be used - for compiling on AIX only</span></div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classXQillaAllocator.html#af520219abb4c15f9310a39932cfeedae"> 101</a></span>  <a class="code" href="classXQillaAllocator.html#af520219abb4c15f9310a39932cfeedae">XQillaAllocator</a>()</div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  {</div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  assert(<span class="keyword">false</span>);</div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  }</div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classXQillaAllocator.html#a76a14cd5932cbf00888a2d8ac3453c5d"> 106</a></span>  <a class="code" href="classXQillaAllocator.html#a76a14cd5932cbf00888a2d8ac3453c5d">XQillaAllocator</a>(XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager* memMgr)</div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  {</div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <a class="code" href="classXQillaAllocator.html#ad3f8310a45fd563d33a55e9542100fa9">_memMgr</a>=memMgr;</div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  }</div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="comment">// define a copy constructor, because we don't want to copy the singleton object</span></div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="classXQillaAllocator.html#a8c8b5274bae995052ab04cf48f6340f8"> 112</a></span>  <a class="code" href="classXQillaAllocator.html#a8c8b5274bae995052ab04cf48f6340f8">XQillaAllocator</a>(<span class="keyword">const</span> <a class="code" href="classXQillaAllocator.html">XQillaAllocator<_Tp></a>& o)</div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  {</div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <a class="code" href="classXQillaAllocator.html#ad3f8310a45fd563d33a55e9542100fa9">_memMgr</a>=o.<a class="code" href="classXQillaAllocator.html#ad3f8310a45fd563d33a55e9542100fa9">_memMgr</a>;</div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  }</div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="preprocessor">#if _MSC_VER >= 1500</span></div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="preprocessor"></span> <span class="comment">// Needed for Visual Studio 2008 </span></div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keyword">template</span><<span class="keyword">class</span> _Tp1> <a class="code" href="classXQillaAllocator.html#af520219abb4c15f9310a39932cfeedae">XQillaAllocator</a>(<span class="keyword">const</span> <a class="code" href="classXQillaAllocator.html">XQillaAllocator<_Tp1></a>& o)</div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  {</div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <a class="code" href="classXQillaAllocator.html#ad3f8310a45fd563d33a55e9542100fa9">_memMgr</a> = o.<a class="code" href="classXQillaAllocator.html#ad3f8310a45fd563d33a55e9542100fa9">_memMgr</a>;</div>
|
|
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  }</div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="classXQillaAllocator.html#af70c2dfdd0ad6102bd10dbdc34e302aa"> 123</a></span> <span class="preprocessor"></span> <a class="code" href="classXQillaAllocator.html#a81d4c25067e642232a9f16e8996a0cd2">pointer</a> <a class="code" href="classXQillaAllocator.html#af70c2dfdd0ad6102bd10dbdc34e302aa">allocate</a>(<span class="keywordtype">size_t</span> _n, <span class="keyword">const</span> <span class="keywordtype">void</span>* = 0)</div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  {</div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="preprocessor">#ifndef _MSC_VER</span></div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="preprocessor"></span> <span class="keywordflow">if</span>(_n==1)</div>
|
|
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordflow">return</span> (<a class="code" href="classXQillaAllocator.html#a81d4c25067e642232a9f16e8996a0cd2">pointer</a>)<a class="code" href="classXQillaAllocator.html#ae64ca33304db228d5eae2397710ef4d0">_singleton</a>;</div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="preprocessor"></span> <span class="comment">//std::cout << "XQillaAllocator::allocate(" << _n << ")" << std::endl;</span></div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keywordflow">if</span>(<a class="code" href="classXQillaAllocator.html#ad3f8310a45fd563d33a55e9542100fa9">_memMgr</a>)</div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keywordflow">return</span> _n != 0 ? <span class="keyword">static_cast<</span><a class="code" href="classXQillaAllocator.html#a81d4c25067e642232a9f16e8996a0cd2">pointer</a><span class="keyword">></span>(<a class="code" href="classXQillaAllocator.html#ad3f8310a45fd563d33a55e9542100fa9">_memMgr</a>-><a class="code" href="classxercesc_1_1MemoryManager.html#ab6bbb5b604d2159e7ccc4532e4f422af">allocate</a>(_n*<span class="keyword">sizeof</span>(_Tp))) : 0;</div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordflow">else</span></div>
|
|
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordflow">return</span> _n != 0 ? <span class="keyword">static_cast<</span><a class="code" href="classXQillaAllocator.html#a81d4c25067e642232a9f16e8996a0cd2">pointer</a><span class="keyword">></span>(malloc(_n*<span class="keyword">sizeof</span>(_Tp))) : 0; </div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  }</div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> </div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="classXQillaAllocator.html#a7dd8460bfe7d0cb32ddaeae25285cc6e"> 136</a></span>  <span class="keywordtype">void</span> <a class="code" href="classXQillaAllocator.html#a7dd8460bfe7d0cb32ddaeae25285cc6e">deallocate</a>(<span class="keywordtype">void</span>* _p, <span class="keywordtype">size_t</span> _n)</div>
|
|
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  {</div>
|
|
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="comment">//std::cout << "XQillaAllocator::deallocate(" << _n << ")" << std::endl;</span></div>
|
|
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keywordflow">if</span>(_p) {</div>
|
|
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keywordflow">if</span>(_p!=<a class="code" href="classXQillaAllocator.html#ae64ca33304db228d5eae2397710ef4d0">_singleton</a>) {</div>
|
|
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keywordflow">if</span>(<a class="code" href="classXQillaAllocator.html#ad3f8310a45fd563d33a55e9542100fa9">_memMgr</a>)</div>
|
|
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <a class="code" href="classXQillaAllocator.html#ad3f8310a45fd563d33a55e9542100fa9">_memMgr</a>-><a class="code" href="classxercesc_1_1MemoryManager.html#a4fd46b0b3634cf5540170ff3dcdfc414">deallocate</a>(_p);</div>
|
|
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keywordflow">else</span></div>
|
|
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  free(_p);</div>
|
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  }</div>
|
|
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  }</div>
|
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  }</div>
|
|
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div>
|
|
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="classXQillaAllocator.html#a42ebac999fcbd730f22c9135934b2b58"> 149</a></span>  <span class="keywordtype">void</span> <a class="code" href="classXQillaAllocator.html#a42ebac999fcbd730f22c9135934b2b58">construct</a>(<a class="code" href="classXQillaAllocator.html#a81d4c25067e642232a9f16e8996a0cd2">pointer</a> _p, <a class="code" href="classXQillaAllocator.html#ad77181acbd0fe45a361f5a7ef75cee7d">const_reference</a> _v)</div>
|
|
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  {</div>
|
|
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keyword">new</span> ((<span class="keywordtype">void</span> *)_p) _Tp(_v); </div>
|
|
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  }</div>
|
|
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> </div>
|
|
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="classXQillaAllocator.html#a3a2d8454aacf52e2300d64dc24217149"> 154</a></span>  <span class="keywordtype">void</span> <a class="code" href="classXQillaAllocator.html#a3a2d8454aacf52e2300d64dc24217149">destroy</a>(<a class="code" href="classXQillaAllocator.html#a81d4c25067e642232a9f16e8996a0cd2">pointer</a> _p)</div>
|
|
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  {</div>
|
|
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  _p->~_Tp();</div>
|
|
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  }</div>
|
|
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> </div>
|
|
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="classXQillaAllocator.html#ac05c18680abff04d434652d4b027574f"> 159</a></span>  <a class="code" href="classXQillaAllocator.html#a276f8d8b17823fd320eb80e37a09c4dd">size_type</a> <a class="code" href="classXQillaAllocator.html#ac05c18680abff04d434652d4b027574f">max_size</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordflow">return</span> 0xFFFFFFFF;</div>
|
|
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  }</div>
|
|
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  </div>
|
|
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="classXQillaAllocator.html#a06de1403cc59ae912772456f5b2fd9ed"> 164</a></span>  <a class="code" href="classXQillaAllocator.html#a276f8d8b17823fd320eb80e37a09c4dd">size_type</a> <a class="code" href="classXQillaAllocator.html#a06de1403cc59ae912772456f5b2fd9ed">max_size</a>(<a class="code" href="classXQillaAllocator.html#a276f8d8b17823fd320eb80e37a09c4dd">size_type</a>)<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keywordflow">return</span> 0xFFFFFFFF;</div>
|
|
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  }</div>
|
|
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> </div>
|
|
<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="classXQillaAllocator.html#a0a5900a1910b300d018f94206c4f471f"> 169</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classXQillaAllocator.html#a0a5900a1910b300d018f94206c4f471f">operator==</a>(<span class="keyword">const</span> <a class="code" href="classXQillaAllocator.html">XQillaAllocator<_Tp></a>& o)<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordflow">return</span> &o == <span class="keyword">this</span>;</div>
|
|
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  }</div>
|
|
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> </div>
|
|
<div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="classXQillaAllocator.html#a63714af17875ea8bc8fc44dcf93a7a1a"> 174</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classXQillaAllocator.html#a63714af17875ea8bc8fc44dcf93a7a1a">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classXQillaAllocator.html">XQillaAllocator<_Tp></a>& o)<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keywordflow">return</span> &o != <span class="keyword">this</span>;</div>
|
|
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  }</div>
|
|
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div>
|
|
<div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="classXQillaAllocator.html#aa0dff48b1437d9e30e3ea630cfc1f552"> 179</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classXQillaAllocator.html#aa0dff48b1437d9e30e3ea630cfc1f552">operator!=</a>(<a class="code" href="classXQillaAllocator.html">XQillaAllocator<_Tp></a>& o)</div>
|
|
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  {</div>
|
|
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keywordflow">return</span> <a class="code" href="classXQillaAllocator.html#ad3f8310a45fd563d33a55e9542100fa9">_memMgr</a> != o.<a class="code" href="classXQillaAllocator.html#ad3f8310a45fd563d33a55e9542100fa9">_memMgr</a>;</div>
|
|
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  }</div>
|
|
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> </div>
|
|
<div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="classXQillaAllocator.html#ae64ca33304db228d5eae2397710ef4d0"> 184</a></span>  <span class="keywordtype">char</span> <a class="code" href="classXQillaAllocator.html#ae64ca33304db228d5eae2397710ef4d0">_singleton</a>[<span class="keyword">sizeof</span>(_Tp)];</div>
|
|
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="classXQillaAllocator.html#ad3f8310a45fd563d33a55e9542100fa9"> 185</a></span>  XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager* <a class="code" href="classXQillaAllocator.html#ad3f8310a45fd563d33a55e9542100fa9">_memMgr</a>;</div>
|
|
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> };</div>
|
|
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div>
|
|
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <span class="comment">// ---------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> <span class="comment">//</span></div>
|
|
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> <span class="comment">// Operator new. Global overloaded version, lets any object be allocated on</span></div>
|
|
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span> <span class="comment">// the heap owned by a MemoryManager.</span></div>
|
|
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> <span class="comment">//</span></div>
|
|
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> <span class="comment">// ---------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="XPath2MemoryManager_8hpp.html#a167311a5bb3ed59f0f906d097e3a3363"> 194</a></span> <span class="keyword">inline</span> <span class="keywordtype">void</span> * <span class="keyword">operator</span> <span class="keyword">new</span>(<span class="keywordtype">size_t</span> amt, XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager* memMgr)</div>
|
|
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span> {</div>
|
|
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="keywordtype">void</span> *p = memMgr-><a class="code" href="classxercesc_1_1MemoryManager.html#ab6bbb5b604d2159e7ccc4532e4f422af">allocate</a>(amt);</div>
|
|
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordflow">return</span> p;</div>
|
|
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> }</div>
|
|
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> </div>
|
|
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="XPath2MemoryManager_8hpp.html#ae9e5a8b04973d492638fe3eb86f466f7"> 200</a></span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <span class="keyword">operator</span> <span class="keyword">delete</span>(<span class="keywordtype">void</span>* ptr, XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager* memMgr)</div>
|
|
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> {</div>
|
|
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  memMgr->deallocate(ptr);</div>
|
|
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> }</div>
|
|
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> </div>
|
|
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> <span class="keyword">template</span><<span class="keyword">class</span> TYPE></div>
|
|
<div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="classAutoRelease.html"> 206</a></span> <span class="keyword">class </span><a class="code" href="classAutoRelease.html">AutoRelease</a></div>
|
|
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span> {</div>
|
|
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span> <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="classAutoRelease.html#a686c035fad9b8aa2974261c7251bb672"> 209</a></span>  <a class="code" href="classAutoRelease.html#a686c035fad9b8aa2974261c7251bb672">AutoRelease</a>(TYPE *p)</div>
|
|
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  : p_(p) {}</div>
|
|
<div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="classAutoRelease.html#a9ee0c67d727350665894472e292524e3"> 211</a></span>  <a class="code" href="classAutoRelease.html#a9ee0c67d727350665894472e292524e3">~AutoRelease</a>()</div>
|
|
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  {</div>
|
|
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keywordflow">if</span>(p_ != 0)</div>
|
|
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  p_->release();</div>
|
|
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  }</div>
|
|
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span> </div>
|
|
<div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="classAutoRelease.html#a69ec68d4a46934e078c38efbaa445a17"> 217</a></span>  TYPE &<a class="code" href="classAutoRelease.html#a69ec68d4a46934e078c38efbaa445a17">operator*</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="keywordflow">return</span> *p_;</div>
|
|
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  }</div>
|
|
<div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="classAutoRelease.html#a989dbe58a526654e017147b182f717da"> 221</a></span>  TYPE *<a class="code" href="classAutoRelease.html#a989dbe58a526654e017147b182f717da">operator-></a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <span class="keywordflow">return</span> p_;</div>
|
|
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  }</div>
|
|
<div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="classAutoRelease.html#a10a8a1d86f7079a0884cb60be02b7716"> 225</a></span>  <span class="keyword">operator</span> TYPE*() <span class="keyword">const</span></div>
|
|
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  {</div>
|
|
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="keywordflow">return</span> p_;</div>
|
|
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  }</div>
|
|
<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="classAutoRelease.html#ace348d3e52b7a37db5d50692905be8aa"> 229</a></span>  TYPE *<span class="keyword">get</span>() <span class="keyword">const</span></div>
|
|
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  {</div>
|
|
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="keywordflow">return</span> p_;</div>
|
|
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  }</div>
|
|
<div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="classAutoRelease.html#a662a4db9c2b1d0a01a9c08d7f375ad28"> 233</a></span>  TYPE *<a class="code" href="classAutoRelease.html#a662a4db9c2b1d0a01a9c08d7f375ad28">adopt</a>()</div>
|
|
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  {</div>
|
|
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  TYPE *tmp = p_;</div>
|
|
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  p_ = 0;</div>
|
|
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <span class="keywordflow">return</span> tmp;</div>
|
|
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  }</div>
|
|
<div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="classAutoRelease.html#a372db34ea6ca4d9b4da4337f5f11cf5d"> 239</a></span>  TYPE *<a class="code" href="classAutoRelease.html#a372db34ea6ca4d9b4da4337f5f11cf5d">swap</a>(TYPE *p)</div>
|
|
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  {</div>
|
|
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  TYPE *tmp = p_;</div>
|
|
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  p_ = p;</div>
|
|
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <span class="keywordflow">return</span> tmp;</div>
|
|
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  }</div>
|
|
<div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="classAutoRelease.html#a9bf8d8491e856723e95e7263e3cec4a3"> 245</a></span>  <span class="keywordtype">void</span> <a class="code" href="classAutoRelease.html#a9bf8d8491e856723e95e7263e3cec4a3">set</a>(TYPE *p)</div>
|
|
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  {</div>
|
|
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <span class="keywordflow">if</span>(p_ != 0)</div>
|
|
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  p_->release();</div>
|
|
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  p_ = p;</div>
|
|
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  }</div>
|
|
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span> </div>
|
|
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span> <span class="keyword">private</span>:</div>
|
|
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <a class="code" href="classAutoRelease.html#a686c035fad9b8aa2974261c7251bb672">AutoRelease</a>(<span class="keyword">const</span> <a class="code" href="classAutoRelease.html">AutoRelease<TYPE></a> &);</div>
|
|
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <a class="code" href="classAutoRelease.html">AutoRelease<TYPE></a> &operator=(<span class="keyword">const</span> <a class="code" href="classAutoRelease.html">AutoRelease<TYPE></a> &);</div>
|
|
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span> </div>
|
|
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  TYPE *p_;</div>
|
|
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span> };</div>
|
|
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span> </div>
|
|
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span> <span class="keyword">template</span><<span class="keyword">class</span> TYPE></div>
|
|
<div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="classAutoDelete.html"> 260</a></span> <span class="keyword">class </span><a class="code" href="classAutoDelete.html">AutoDelete</a></div>
|
|
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span> {</div>
|
|
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span> <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="classAutoDelete.html#a670c852dae170f5c4bea55d3539ba9a8"> 263</a></span>  <a class="code" href="classAutoDelete.html#a670c852dae170f5c4bea55d3539ba9a8">AutoDelete</a>(TYPE *p)</div>
|
|
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  : p_(p) {}</div>
|
|
<div class="line"><a name="l00265"></a><span class="lineno"><a class="line" href="classAutoDelete.html#ad5ab2d6d805ba02bac1e1929a5603613"> 265</a></span>  <a class="code" href="classAutoDelete.html#ad5ab2d6d805ba02bac1e1929a5603613">~AutoDelete</a>()</div>
|
|
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  {</div>
|
|
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <span class="keyword">delete</span> p_;</div>
|
|
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  }</div>
|
|
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span> </div>
|
|
<div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="classAutoDelete.html#a6e3a15f982c029a4bcd72b164715650c"> 270</a></span>  TYPE &<a class="code" href="classAutoDelete.html#a6e3a15f982c029a4bcd72b164715650c">operator*</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <span class="keywordflow">return</span> *p_;</div>
|
|
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  }</div>
|
|
<div class="line"><a name="l00274"></a><span class="lineno"><a class="line" href="classAutoDelete.html#a56c27b16f0c679aeb8a77748fc5f196f"> 274</a></span>  TYPE *<a class="code" href="classAutoDelete.html#a56c27b16f0c679aeb8a77748fc5f196f">operator-></a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <span class="keywordflow">return</span> p_;</div>
|
|
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  }</div>
|
|
<div class="line"><a name="l00278"></a><span class="lineno"><a class="line" href="classAutoDelete.html#a02f98ce2be63b12a2197dd6419c81880"> 278</a></span>  <span class="keyword">operator</span> TYPE*() <span class="keyword">const</span></div>
|
|
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  {</div>
|
|
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keywordflow">return</span> p_;</div>
|
|
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  }</div>
|
|
<div class="line"><a name="l00282"></a><span class="lineno"><a class="line" href="classAutoDelete.html#ad99f9f2ce4238127f675a1e4f50efd43"> 282</a></span>  TYPE *<span class="keyword">get</span>() <span class="keyword">const</span></div>
|
|
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  {</div>
|
|
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="keywordflow">return</span> p_;</div>
|
|
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  }</div>
|
|
<div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="classAutoDelete.html#a1f33c6ac21f2160fa854975c96336491"> 286</a></span>  TYPE *<a class="code" href="classAutoDelete.html#a1f33c6ac21f2160fa854975c96336491">adopt</a>()</div>
|
|
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  {</div>
|
|
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  TYPE *tmp = p_;</div>
|
|
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  p_ = 0;</div>
|
|
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <span class="keywordflow">return</span> tmp;</div>
|
|
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  }</div>
|
|
<div class="line"><a name="l00292"></a><span class="lineno"><a class="line" href="classAutoDelete.html#a2960c5bdae56a81340b975f59b5066ce"> 292</a></span>  TYPE *<a class="code" href="classAutoDelete.html#a2960c5bdae56a81340b975f59b5066ce">swap</a>(TYPE *p)</div>
|
|
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  {</div>
|
|
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  TYPE *tmp = p_;</div>
|
|
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  p_ = p;</div>
|
|
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <span class="keywordflow">return</span> tmp;</div>
|
|
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  }</div>
|
|
<div class="line"><a name="l00298"></a><span class="lineno"><a class="line" href="classAutoDelete.html#aa00be90ea92eedd9b2e03b1bc527a669"> 298</a></span>  <span class="keywordtype">void</span> <a class="code" href="classAutoDelete.html#aa00be90ea92eedd9b2e03b1bc527a669">set</a>(TYPE *p)</div>
|
|
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  {</div>
|
|
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <span class="keyword">delete</span> p_;</div>
|
|
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  p_ = p;</div>
|
|
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  }</div>
|
|
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span> </div>
|
|
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span> <span class="keyword">private</span>:</div>
|
|
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <a class="code" href="classAutoDelete.html#a670c852dae170f5c4bea55d3539ba9a8">AutoDelete</a>(<span class="keyword">const</span> <a class="code" href="classAutoDelete.html">AutoDelete<TYPE></a> &);</div>
|
|
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <a class="code" href="classAutoDelete.html">AutoDelete<TYPE></a> &operator=(<span class="keyword">const</span> <a class="code" href="classAutoDelete.html">AutoDelete<TYPE></a> &);</div>
|
|
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span> </div>
|
|
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  TYPE *p_;</div>
|
|
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span> };</div>
|
|
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span> </div>
|
|
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span> <span class="keyword">template</span><<span class="keyword">class</span> TYPE></div>
|
|
<div class="line"><a name="l00312"></a><span class="lineno"><a class="line" href="classAutoDeleteArray.html"> 312</a></span> <span class="keyword">class </span><a class="code" href="classAutoDeleteArray.html">AutoDeleteArray</a></div>
|
|
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span> {</div>
|
|
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span> <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00315"></a><span class="lineno"><a class="line" href="classAutoDeleteArray.html#a326eefc335cf22f67e2e83928b6a6245"> 315</a></span>  <a class="code" href="classAutoDeleteArray.html#a326eefc335cf22f67e2e83928b6a6245">AutoDeleteArray</a>(TYPE *p)</div>
|
|
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  : p_(p) {}</div>
|
|
<div class="line"><a name="l00317"></a><span class="lineno"><a class="line" href="classAutoDeleteArray.html#a7f0f2786183326c4cc09d25b1879df5b"> 317</a></span>  <a class="code" href="classAutoDeleteArray.html#a7f0f2786183326c4cc09d25b1879df5b">~AutoDeleteArray</a>()</div>
|
|
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  {</div>
|
|
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <span class="keyword">delete</span> [] p_;</div>
|
|
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  }</div>
|
|
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span> </div>
|
|
<div class="line"><a name="l00322"></a><span class="lineno"><a class="line" href="classAutoDeleteArray.html#a3319a51ba40ffc33339b011024d4cc5f"> 322</a></span>  TYPE &<a class="code" href="classAutoDeleteArray.html#a3319a51ba40ffc33339b011024d4cc5f">operator*</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  <span class="keywordflow">return</span> *p_;</div>
|
|
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  }</div>
|
|
<div class="line"><a name="l00326"></a><span class="lineno"><a class="line" href="classAutoDeleteArray.html#a4b2e23b6ed81f19975b40ebcd947e813"> 326</a></span>  TYPE *<a class="code" href="classAutoDeleteArray.html#a4b2e23b6ed81f19975b40ebcd947e813">operator-></a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  <span class="keywordflow">return</span> p_;</div>
|
|
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  }</div>
|
|
<div class="line"><a name="l00330"></a><span class="lineno"><a class="line" href="classAutoDeleteArray.html#a700a80f1055dfb4cc1d3d1316ea1ef2e"> 330</a></span>  <span class="keyword">operator</span> TYPE*() <span class="keyword">const</span></div>
|
|
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  {</div>
|
|
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  <span class="keywordflow">return</span> p_;</div>
|
|
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  }</div>
|
|
<div class="line"><a name="l00334"></a><span class="lineno"><a class="line" href="classAutoDeleteArray.html#a03b9331d2c71a2fe29982171e9a5a803"> 334</a></span>  TYPE *<span class="keyword">get</span>() <span class="keyword">const</span></div>
|
|
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  {</div>
|
|
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  <span class="keywordflow">return</span> p_;</div>
|
|
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  }</div>
|
|
<div class="line"><a name="l00338"></a><span class="lineno"><a class="line" href="classAutoDeleteArray.html#aadcd29d03ab17fc8e3ab9856fe18eace"> 338</a></span>  TYPE *<a class="code" href="classAutoDeleteArray.html#aadcd29d03ab17fc8e3ab9856fe18eace">adopt</a>()</div>
|
|
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  {</div>
|
|
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  TYPE *tmp = p_;</div>
|
|
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  p_ = 0;</div>
|
|
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  <span class="keywordflow">return</span> tmp;</div>
|
|
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  }</div>
|
|
<div class="line"><a name="l00344"></a><span class="lineno"><a class="line" href="classAutoDeleteArray.html#a57ec3c1ed0e042230c5ca7e18ae7c382"> 344</a></span>  TYPE *<a class="code" href="classAutoDeleteArray.html#a57ec3c1ed0e042230c5ca7e18ae7c382">swap</a>(TYPE *p)</div>
|
|
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  {</div>
|
|
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  TYPE *tmp = p_;</div>
|
|
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  p_ = p;</div>
|
|
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  <span class="keywordflow">return</span> tmp;</div>
|
|
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  }</div>
|
|
<div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="classAutoDeleteArray.html#a9817f2407fc5ce75839ea01eacd108a6"> 350</a></span>  <span class="keywordtype">void</span> <a class="code" href="classAutoDeleteArray.html#a9817f2407fc5ce75839ea01eacd108a6">set</a>(TYPE *p)</div>
|
|
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  {</div>
|
|
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  <span class="keyword">delete</span> [] p_;</div>
|
|
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  p_ = p;</div>
|
|
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  }</div>
|
|
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span> </div>
|
|
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span> <span class="keyword">private</span>:</div>
|
|
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  <a class="code" href="classAutoDeleteArray.html#a326eefc335cf22f67e2e83928b6a6245">AutoDeleteArray</a>(<span class="keyword">const</span> <a class="code" href="classAutoDeleteArray.html">AutoDeleteArray<TYPE></a> &);</div>
|
|
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  <a class="code" href="classAutoDeleteArray.html">AutoDeleteArray<TYPE></a> &operator=(<span class="keyword">const</span> <a class="code" href="classAutoDeleteArray.html">AutoDeleteArray<TYPE></a> &);</div>
|
|
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span> </div>
|
|
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  TYPE *p_;</div>
|
|
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span> };</div>
|
|
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span> </div>
|
|
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span> <span class="keyword">template</span><<span class="keyword">class</span> TYPE></div>
|
|
<div class="line"><a name="l00364"></a><span class="lineno"><a class="line" href="classAutoDeallocate.html"> 364</a></span> <span class="keyword">class </span><a class="code" href="classAutoDeallocate.html">AutoDeallocate</a></div>
|
|
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span> {</div>
|
|
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span> <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  <a class="code" href="classAutoDeallocate.html#a8fad7fbdef93053789fd7382d7e4d4da">AutoDeallocate</a>(XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *mmgr, <span class="keywordtype">size_t</span> size = <span class="keyword">sizeof</span>(TYPE))</div>
|
|
<div class="line"><a name="l00368"></a><span class="lineno"><a class="line" href="classAutoDeallocate.html#a850a7ee172acd4bd465fd4aa1343df6a"> 368</a></span>  : p_(0), mmgr_(mmgr) {</div>
|
|
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  p_ = (TYPE*)mmgr_-><a class="code" href="classxercesc_1_1MemoryManager.html#ab6bbb5b604d2159e7ccc4532e4f422af">allocate</a>(size);</div>
|
|
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  }</div>
|
|
<div class="line"><a name="l00371"></a><span class="lineno"><a class="line" href="classAutoDeallocate.html#a8fad7fbdef93053789fd7382d7e4d4da"> 371</a></span>  <a class="code" href="classAutoDeallocate.html#a8fad7fbdef93053789fd7382d7e4d4da">AutoDeallocate</a>(TYPE *p, XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *mmgr)</div>
|
|
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  : p_(p), mmgr_(mmgr) {}</div>
|
|
<div class="line"><a name="l00373"></a><span class="lineno"><a class="line" href="classAutoDeallocate.html#af244dab4381f4490b00a4f6bbdaf9d73"> 373</a></span>  <a class="code" href="classAutoDeallocate.html#af244dab4381f4490b00a4f6bbdaf9d73">~AutoDeallocate</a>()</div>
|
|
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  {</div>
|
|
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  <span class="keywordflow">if</span>(p_ != 0)</div>
|
|
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  mmgr_-><a class="code" href="classxercesc_1_1MemoryManager.html#a4fd46b0b3634cf5540170ff3dcdfc414">deallocate</a>((<span class="keywordtype">void</span>*)p_);</div>
|
|
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  }</div>
|
|
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span> </div>
|
|
<div class="line"><a name="l00379"></a><span class="lineno"><a class="line" href="classAutoDeallocate.html#a2a072d4d603bd2a0f0e8b0fe1ecc52fc"> 379</a></span>  TYPE &<a class="code" href="classAutoDeallocate.html#a2a072d4d603bd2a0f0e8b0fe1ecc52fc">operator*</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  <span class="keywordflow">return</span> *p_;</div>
|
|
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  }</div>
|
|
<div class="line"><a name="l00383"></a><span class="lineno"><a class="line" href="classAutoDeallocate.html#a9300b0c82cd91c75dd878efc5968dbb6"> 383</a></span>  TYPE *<a class="code" href="classAutoDeallocate.html#a9300b0c82cd91c75dd878efc5968dbb6">operator-></a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  <span class="keywordflow">return</span> p_;</div>
|
|
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  }</div>
|
|
<div class="line"><a name="l00387"></a><span class="lineno"><a class="line" href="classAutoDeallocate.html#af379f1dd4a3428b6f72d548483eddefb"> 387</a></span>  <span class="keyword">operator</span> TYPE*() <span class="keyword">const</span></div>
|
|
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  {</div>
|
|
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  <span class="keywordflow">return</span> p_;</div>
|
|
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  }</div>
|
|
<div class="line"><a name="l00391"></a><span class="lineno"><a class="line" href="classAutoDeallocate.html#acd27913a88a0c797c3a781cb6b78478d"> 391</a></span>  TYPE *<span class="keyword">get</span>() <span class="keyword">const</span></div>
|
|
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  {</div>
|
|
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span>  <span class="keywordflow">return</span> p_;</div>
|
|
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  }</div>
|
|
<div class="line"><a name="l00395"></a><span class="lineno"><a class="line" href="classAutoDeallocate.html#a4dc196c0b9073fc712c34f27a8cd1dd1"> 395</a></span>  TYPE *<a class="code" href="classAutoDeallocate.html#a4dc196c0b9073fc712c34f27a8cd1dd1">adopt</a>()</div>
|
|
<div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  {</div>
|
|
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  TYPE *tmp = p_;</div>
|
|
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  p_ = 0;</div>
|
|
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  <span class="keywordflow">return</span> tmp;</div>
|
|
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  }</div>
|
|
<div class="line"><a name="l00401"></a><span class="lineno"><a class="line" href="classAutoDeallocate.html#aed2758752b4cc2cdb91e6192b6310ef0"> 401</a></span>  TYPE *<a class="code" href="classAutoDeallocate.html#aed2758752b4cc2cdb91e6192b6310ef0">swap</a>(TYPE *p)</div>
|
|
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  {</div>
|
|
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  TYPE *tmp = p_;</div>
|
|
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  p_ = p;</div>
|
|
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  <span class="keywordflow">return</span> tmp;</div>
|
|
<div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  }</div>
|
|
<div class="line"><a name="l00407"></a><span class="lineno"><a class="line" href="classAutoDeallocate.html#ac11b517f7786a4c2066415dbd30b001d"> 407</a></span>  <span class="keywordtype">void</span> <a class="code" href="classAutoDeallocate.html#ac11b517f7786a4c2066415dbd30b001d">set</a>(TYPE *p)</div>
|
|
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  {</div>
|
|
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  <span class="keywordflow">if</span>(p_ != 0)</div>
|
|
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  mmgr_-><a class="code" href="classxercesc_1_1MemoryManager.html#a4fd46b0b3634cf5540170ff3dcdfc414">deallocate</a>((<span class="keywordtype">void</span>*)p_);</div>
|
|
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  p_ = p;</div>
|
|
<div class="line"><a name="l00412"></a><span class="lineno"> 412</span>  }</div>
|
|
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span> </div>
|
|
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span> <span class="keyword">private</span>:</div>
|
|
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  <a class="code" href="classAutoDeallocate.html#a8fad7fbdef93053789fd7382d7e4d4da">AutoDeallocate</a>(<span class="keyword">const</span> <a class="code" href="classAutoDeallocate.html">AutoDeallocate<TYPE></a> &);</div>
|
|
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  <a class="code" href="classAutoDeallocate.html">AutoDeallocate<TYPE></a> &operator=(<span class="keyword">const</span> <a class="code" href="classAutoDeallocate.html">AutoDeallocate<TYPE></a> &);</div>
|
|
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span> </div>
|
|
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  TYPE *p_;</div>
|
|
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *mmgr_;</div>
|
|
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span> };</div>
|
|
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span> </div>
|
|
<div class="line"><a name="l00422"></a><span class="lineno"> 422</span> <span class="preprocessor">#endif //__XPATH2MEMORYMANAGER_HPP</span></div>
|
|
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span> <span class="preprocessor"></span></div>
|
|
<div class="ttc" id="classAutoDelete_html_a6e3a15f982c029a4bcd72b164715650c"><div class="ttname"><a href="classAutoDelete.html#a6e3a15f982c029a4bcd72b164715650c">AutoDelete::operator*</a></div><div class="ttdeci">TYPE & operator*() const </div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:270</div></div>
|
|
<div class="ttc" id="classXQillaAllocator_html_a76a14cd5932cbf00888a2d8ac3453c5d"><div class="ttname"><a href="classXQillaAllocator.html#a76a14cd5932cbf00888a2d8ac3453c5d">XQillaAllocator::XQillaAllocator</a></div><div class="ttdeci">XQillaAllocator(xercesc::MemoryManager *memMgr)</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:106</div></div>
|
|
<div class="ttc" id="classXQillaAllocator_html_a0a5900a1910b300d018f94206c4f471f"><div class="ttname"><a href="classXQillaAllocator.html#a0a5900a1910b300d018f94206c4f471f">XQillaAllocator::operator==</a></div><div class="ttdeci">bool operator==(const XQillaAllocator< _Tp > &o) const </div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:169</div></div>
|
|
<div class="ttc" id="classAutoDeallocate_html"><div class="ttname"><a href="classAutoDeallocate.html">AutoDeallocate</a></div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:364</div></div>
|
|
<div class="ttc" id="classAutoDeallocate_html_aed2758752b4cc2cdb91e6192b6310ef0"><div class="ttname"><a href="classAutoDeallocate.html#aed2758752b4cc2cdb91e6192b6310ef0">AutoDeallocate::swap</a></div><div class="ttdeci">TYPE * swap(TYPE *p)</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:401</div></div>
|
|
<div class="ttc" id="classAutoDeleteArray_html_aadcd29d03ab17fc8e3ab9856fe18eace"><div class="ttname"><a href="classAutoDeleteArray.html#aadcd29d03ab17fc8e3ab9856fe18eace">AutoDeleteArray::adopt</a></div><div class="ttdeci">TYPE * adopt()</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:338</div></div>
|
|
<div class="ttc" id="classXQillaAllocator_html_ac1fe0b1a3f5533725c65e9a22fbe1330"><div class="ttname"><a href="classXQillaAllocator.html#ac1fe0b1a3f5533725c65e9a22fbe1330">XQillaAllocator::value_type</a></div><div class="ttdeci">_Tp value_type</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:94</div></div>
|
|
<div class="ttc" id="classXQillaAllocator_html_ae64ca33304db228d5eae2397710ef4d0"><div class="ttname"><a href="classXQillaAllocator.html#ae64ca33304db228d5eae2397710ef4d0">XQillaAllocator::_singleton</a></div><div class="ttdeci">char _singleton[sizeof(_Tp)]</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:184</div></div>
|
|
<div class="ttc" id="classXPath2MemoryManager_html"><div class="ttname"><a href="classXPath2MemoryManager.html">XPath2MemoryManager</a></div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:45</div></div>
|
|
<div class="ttc" id="classAutoDeleteArray_html_a7f0f2786183326c4cc09d25b1879df5b"><div class="ttname"><a href="classAutoDeleteArray.html#a7f0f2786183326c4cc09d25b1879df5b">AutoDeleteArray::~AutoDeleteArray</a></div><div class="ttdeci">~AutoDeleteArray()</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:317</div></div>
|
|
<div class="ttc" id="classAutoDelete_html_a56c27b16f0c679aeb8a77748fc5f196f"><div class="ttname"><a href="classAutoDelete.html#a56c27b16f0c679aeb8a77748fc5f196f">AutoDelete::operator-></a></div><div class="ttdeci">TYPE * operator->() const </div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:274</div></div>
|
|
<div class="ttc" id="classVariableTypeStore_html"><div class="ttname"><a href="classVariableTypeStore.html">VariableTypeStore</a></div><div class="ttdoc">This is the wrapper class for the variable store, which implements the lookup and scoping of simple v...</div><div class="ttdef"><b>Definition:</b> VariableTypeStore.hpp:34</div></div>
|
|
<div class="ttc" id="classxercesc_1_1MemoryManager_html_a4fd46b0b3634cf5540170ff3dcdfc414"><div class="ttname"><a href="classxercesc_1_1MemoryManager.html#a4fd46b0b3634cf5540170ff3dcdfc414">xercesc::MemoryManager::deallocate</a></div><div class="ttdeci">virtual void deallocate(void *p)=0</div><div class="ttdoc">This method deallocates memory. </div></div>
|
|
<div class="ttc" id="classAutoDelete_html_a1f33c6ac21f2160fa854975c96336491"><div class="ttname"><a href="classAutoDelete.html#a1f33c6ac21f2160fa854975c96336491">AutoDelete::adopt</a></div><div class="ttdeci">TYPE * adopt()</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:286</div></div>
|
|
<div class="ttc" id="classXQillaAllocator_html_a7dd8460bfe7d0cb32ddaeae25285cc6e"><div class="ttname"><a href="classXQillaAllocator.html#a7dd8460bfe7d0cb32ddaeae25285cc6e">XQillaAllocator::deallocate</a></div><div class="ttdeci">void deallocate(void *_p, size_t _n)</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:136</div></div>
|
|
<div class="ttc" id="classXQillaAllocator_html"><div class="ttname"><a href="classXQillaAllocator.html">XQillaAllocator</a></div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:85</div></div>
|
|
<div class="ttc" id="classXQillaAllocator_html_a06de1403cc59ae912772456f5b2fd9ed"><div class="ttname"><a href="classXQillaAllocator.html#a06de1403cc59ae912772456f5b2fd9ed">XQillaAllocator::max_size</a></div><div class="ttdeci">size_type max_size(size_type) const </div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:164</div></div>
|
|
<div class="ttc" id="MemoryManager_8hpp_html"><div class="ttname"><a href="MemoryManager_8hpp.html">MemoryManager.hpp</a></div></div>
|
|
<div class="ttc" id="classAutoDeleteArray_html"><div class="ttname"><a href="classAutoDeleteArray.html">AutoDeleteArray</a></div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:312</div></div>
|
|
<div class="ttc" id="classAutoDelete_html_ad5ab2d6d805ba02bac1e1929a5603613"><div class="ttname"><a href="classAutoDelete.html#ad5ab2d6d805ba02bac1e1929a5603613">AutoDelete::~AutoDelete</a></div><div class="ttdeci">~AutoDelete()</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:265</div></div>
|
|
<div class="ttc" id="classXQillaAllocator_html_a42ebac999fcbd730f22c9135934b2b58"><div class="ttname"><a href="classXQillaAllocator.html#a42ebac999fcbd730f22c9135934b2b58">XQillaAllocator::construct</a></div><div class="ttdeci">void construct(pointer _p, const_reference _v)</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:149</div></div>
|
|
<div class="ttc" id="classXQillaAllocator_html_ad3f8310a45fd563d33a55e9542100fa9"><div class="ttname"><a href="classXQillaAllocator.html#ad3f8310a45fd563d33a55e9542100fa9">XQillaAllocator::_memMgr</a></div><div class="ttdeci">xercesc::MemoryManager * _memMgr</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:185</div></div>
|
|
<div class="ttc" id="classAutoRelease_html_a372db34ea6ca4d9b4da4337f5f11cf5d"><div class="ttname"><a href="classAutoRelease.html#a372db34ea6ca4d9b4da4337f5f11cf5d">AutoRelease::swap</a></div><div class="ttdeci">TYPE * swap(TYPE *p)</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:239</div></div>
|
|
<div class="ttc" id="classAutoDeleteArray_html_a57ec3c1ed0e042230c5ca7e18ae7c382"><div class="ttname"><a href="classAutoDeleteArray.html#a57ec3c1ed0e042230c5ca7e18ae7c382">AutoDeleteArray::swap</a></div><div class="ttdeci">TYPE * swap(TYPE *p)</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:344</div></div>
|
|
<div class="ttc" id="classXQillaAllocator_html_a4d10ef0e016a60698016ed4bd730817e"><div class="ttname"><a href="classXQillaAllocator.html#a4d10ef0e016a60698016ed4bd730817e">XQillaAllocator::reference</a></div><div class="ttdeci">_Tp & reference</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:92</div></div>
|
|
<div class="ttc" id="classAutoRelease_html_a686c035fad9b8aa2974261c7251bb672"><div class="ttname"><a href="classAutoRelease.html#a686c035fad9b8aa2974261c7251bb672">AutoRelease::AutoRelease</a></div><div class="ttdeci">AutoRelease(TYPE *p)</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:209</div></div>
|
|
<div class="ttc" id="classXPath2MemoryManager_html_a2a42454955f541092df5332858ff284c"><div class="ttname"><a href="classXPath2MemoryManager.html#a2a42454955f541092df5332858ff284c">XPath2MemoryManager::~XPath2MemoryManager</a></div><div class="ttdeci">virtual ~XPath2MemoryManager()</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:48</div></div>
|
|
<div class="ttc" id="classxercesc_1_1MemoryManager_html_ab6bbb5b604d2159e7ccc4532e4f422af"><div class="ttname"><a href="classxercesc_1_1MemoryManager.html#ab6bbb5b604d2159e7ccc4532e4f422af">xercesc::MemoryManager::allocate</a></div><div class="ttdeci">virtual void * allocate(XMLSize_t size)=0</div><div class="ttdoc">This method allocates requested memory. </div></div>
|
|
<div class="ttc" id="classAutoDeleteArray_html_a326eefc335cf22f67e2e83928b6a6245"><div class="ttname"><a href="classAutoDeleteArray.html#a326eefc335cf22f67e2e83928b6a6245">AutoDeleteArray::AutoDeleteArray</a></div><div class="ttdeci">AutoDeleteArray(TYPE *p)</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:315</div></div>
|
|
<div class="ttc" id="classAutoDeleteArray_html_a3319a51ba40ffc33339b011024d4cc5f"><div class="ttname"><a href="classAutoDeleteArray.html#a3319a51ba40ffc33339b011024d4cc5f">AutoDeleteArray::operator*</a></div><div class="ttdeci">TYPE & operator*() const </div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:322</div></div>
|
|
<div class="ttc" id="classAutoDeallocate_html_a8fad7fbdef93053789fd7382d7e4d4da"><div class="ttname"><a href="classAutoDeallocate.html#a8fad7fbdef93053789fd7382d7e4d4da">AutoDeallocate::AutoDeallocate</a></div><div class="ttdeci">AutoDeallocate(TYPE *p, xercesc::MemoryManager *mmgr)</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:371</div></div>
|
|
<div class="ttc" id="classAutoDeleteArray_html_a4b2e23b6ed81f19975b40ebcd947e813"><div class="ttname"><a href="classAutoDeleteArray.html#a4b2e23b6ed81f19975b40ebcd947e813">AutoDeleteArray::operator-></a></div><div class="ttdeci">TYPE * operator->() const </div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:326</div></div>
|
|
<div class="ttc" id="classXQillaAllocator_html_a3a2d8454aacf52e2300d64dc24217149"><div class="ttname"><a href="classXQillaAllocator.html#a3a2d8454aacf52e2300d64dc24217149">XQillaAllocator::destroy</a></div><div class="ttdeci">void destroy(pointer _p)</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:154</div></div>
|
|
<div class="ttc" id="classStringPool_html"><div class="ttname"><a href="classStringPool.html">StringPool</a></div><div class="ttdef"><b>Definition:</b> StringPool.hpp:32</div></div>
|
|
<div class="ttc" id="classCollation_html"><div class="ttname"><a href="classCollation.html">Collation</a></div><div class="ttdef"><b>Definition:</b> Collation.hpp:29</div></div>
|
|
<div class="ttc" id="classXQillaAllocator_html_a276f8d8b17823fd320eb80e37a09c4dd"><div class="ttname"><a href="classXQillaAllocator.html#a276f8d8b17823fd320eb80e37a09c4dd">XQillaAllocator::size_type</a></div><div class="ttdeci">size_t size_type</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:88</div></div>
|
|
<div class="ttc" id="classXQillaAllocator_html_ad77181acbd0fe45a361f5a7ef75cee7d"><div class="ttname"><a href="classXQillaAllocator.html#ad77181acbd0fe45a361f5a7ef75cee7d">XQillaAllocator::const_reference</a></div><div class="ttdeci">const _Tp & const_reference</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:93</div></div>
|
|
<div class="ttc" id="classXQillaAllocator_html_a81d4c25067e642232a9f16e8996a0cd2"><div class="ttname"><a href="classXQillaAllocator.html#a81d4c25067e642232a9f16e8996a0cd2">XQillaAllocator::pointer</a></div><div class="ttdeci">_Tp * pointer</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:90</div></div>
|
|
<div class="ttc" id="classAutoRelease_html_a9bf8d8491e856723e95e7263e3cec4a3"><div class="ttname"><a href="classAutoRelease.html#a9bf8d8491e856723e95e7263e3cec4a3">AutoRelease::set</a></div><div class="ttdeci">void set(TYPE *p)</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:245</div></div>
|
|
<div class="ttc" id="classXQillaAllocator_html_a89df7c8392d644bcde141dcd602110f4"><div class="ttname"><a href="classXQillaAllocator.html#a89df7c8392d644bcde141dcd602110f4">XQillaAllocator::difference_type</a></div><div class="ttdeci">ptrdiff_t difference_type</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:89</div></div>
|
|
<div class="ttc" id="classAutoRelease_html"><div class="ttname"><a href="classAutoRelease.html">AutoRelease</a></div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:206</div></div>
|
|
<div class="ttc" id="classAutoDeallocate_html_ac11b517f7786a4c2066415dbd30b001d"><div class="ttname"><a href="classAutoDeallocate.html#ac11b517f7786a4c2066415dbd30b001d">AutoDeallocate::set</a></div><div class="ttdeci">void set(TYPE *p)</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:407</div></div>
|
|
<div class="ttc" id="classAutoRelease_html_a662a4db9c2b1d0a01a9c08d7f375ad28"><div class="ttname"><a href="classAutoRelease.html#a662a4db9c2b1d0a01a9c08d7f375ad28">AutoRelease::adopt</a></div><div class="ttdeci">TYPE * adopt()</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:233</div></div>
|
|
<div class="ttc" id="classDynamicContext_html"><div class="ttname"><a href="classDynamicContext.html">DynamicContext</a></div><div class="ttdoc">The execution time dynamic context interface. </div><div class="ttdef"><b>Definition:</b> DynamicContext.hpp:38</div></div>
|
|
<div class="ttc" id="classVariableStore_html"><div class="ttname"><a href="classVariableStore.html">VariableStore</a></div><div class="ttdoc">The pure virtual base class for accessing variables at runtime. </div><div class="ttdef"><b>Definition:</b> VariableStore.hpp:31</div></div>
|
|
<div class="ttc" id="classAutoDelete_html_a2960c5bdae56a81340b975f59b5066ce"><div class="ttname"><a href="classAutoDelete.html#a2960c5bdae56a81340b975f59b5066ce">AutoDelete::swap</a></div><div class="ttdeci">TYPE * swap(TYPE *p)</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:292</div></div>
|
|
<div class="ttc" id="classAutoDeallocate_html_a4dc196c0b9073fc712c34f27a8cd1dd1"><div class="ttname"><a href="classAutoDeallocate.html#a4dc196c0b9073fc712c34f27a8cd1dd1">AutoDeallocate::adopt</a></div><div class="ttdeci">TYPE * adopt()</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:395</div></div>
|
|
<div class="ttc" id="classXQillaAllocator_html_aa0dff48b1437d9e30e3ea630cfc1f552"><div class="ttname"><a href="classXQillaAllocator.html#aa0dff48b1437d9e30e3ea630cfc1f552">XQillaAllocator::operator!=</a></div><div class="ttdeci">bool operator!=(XQillaAllocator< _Tp > &o)</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:179</div></div>
|
|
<div class="ttc" id="classAutoRelease_html_a69ec68d4a46934e078c38efbaa445a17"><div class="ttname"><a href="classAutoRelease.html#a69ec68d4a46934e078c38efbaa445a17">AutoRelease::operator*</a></div><div class="ttdeci">TYPE & operator*() const </div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:217</div></div>
|
|
<div class="ttc" id="classXQillaAllocator_html_ac05c18680abff04d434652d4b027574f"><div class="ttname"><a href="classXQillaAllocator.html#ac05c18680abff04d434652d4b027574f">XQillaAllocator::max_size</a></div><div class="ttdeci">size_type max_size() const </div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:159</div></div>
|
|
<div class="ttc" id="classAutoDelete_html_aa00be90ea92eedd9b2e03b1bc527a669"><div class="ttname"><a href="classAutoDelete.html#aa00be90ea92eedd9b2e03b1bc527a669">AutoDelete::set</a></div><div class="ttdeci">void set(TYPE *p)</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:298</div></div>
|
|
<div class="ttc" id="classAutoDeleteArray_html_a9817f2407fc5ce75839ea01eacd108a6"><div class="ttname"><a href="classAutoDeleteArray.html#a9817f2407fc5ce75839ea01eacd108a6">AutoDeleteArray::set</a></div><div class="ttdeci">void set(TYPE *p)</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:350</div></div>
|
|
<div class="ttc" id="classXQillaAllocator_html_a63714af17875ea8bc8fc44dcf93a7a1a"><div class="ttname"><a href="classXQillaAllocator.html#a63714af17875ea8bc8fc44dcf93a7a1a">XQillaAllocator::operator!=</a></div><div class="ttdeci">bool operator!=(const XQillaAllocator< _Tp > &o) const </div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:174</div></div>
|
|
<div class="ttc" id="classXQillaAllocator_html_af70c2dfdd0ad6102bd10dbdc34e302aa"><div class="ttname"><a href="classXQillaAllocator.html#af70c2dfdd0ad6102bd10dbdc34e302aa">XQillaAllocator::allocate</a></div><div class="ttdeci">pointer allocate(size_t _n, const void *=0)</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:123</div></div>
|
|
<div class="ttc" id="classAutoDeallocate_html_a9300b0c82cd91c75dd878efc5968dbb6"><div class="ttname"><a href="classAutoDeallocate.html#a9300b0c82cd91c75dd878efc5968dbb6">AutoDeallocate::operator-></a></div><div class="ttdeci">TYPE * operator->() const </div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:383</div></div>
|
|
<div class="ttc" id="structXQillaAllocator_1_1rebind_html"><div class="ttname"><a href="structXQillaAllocator_1_1rebind.html">XQillaAllocator::rebind</a></div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:96</div></div>
|
|
<div class="ttc" id="classAutoDeallocate_html_a2a072d4d603bd2a0f0e8b0fe1ecc52fc"><div class="ttname"><a href="classAutoDeallocate.html#a2a072d4d603bd2a0f0e8b0fe1ecc52fc">AutoDeallocate::operator*</a></div><div class="ttdeci">TYPE & operator*() const </div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:379</div></div>
|
|
<div class="ttc" id="classAutoDeallocate_html_af244dab4381f4490b00a4f6bbdaf9d73"><div class="ttname"><a href="classAutoDeallocate.html#af244dab4381f4490b00a4f6bbdaf9d73">AutoDeallocate::~AutoDeallocate</a></div><div class="ttdeci">~AutoDeallocate()</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:373</div></div>
|
|
<div class="ttc" id="classAutoRelease_html_a9ee0c67d727350665894472e292524e3"><div class="ttname"><a href="classAutoRelease.html#a9ee0c67d727350665894472e292524e3">AutoRelease::~AutoRelease</a></div><div class="ttdeci">~AutoRelease()</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:211</div></div>
|
|
<div class="ttc" id="classXQillaAllocator_html_a8c8b5274bae995052ab04cf48f6340f8"><div class="ttname"><a href="classXQillaAllocator.html#a8c8b5274bae995052ab04cf48f6340f8">XQillaAllocator::XQillaAllocator</a></div><div class="ttdeci">XQillaAllocator(const XQillaAllocator< _Tp > &o)</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:112</div></div>
|
|
<div class="ttc" id="classXQillaAllocator_html_af520219abb4c15f9310a39932cfeedae"><div class="ttname"><a href="classXQillaAllocator.html#af520219abb4c15f9310a39932cfeedae">XQillaAllocator::XQillaAllocator</a></div><div class="ttdeci">XQillaAllocator()</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:101</div></div>
|
|
<div class="ttc" id="classXQillaAllocator_html_acec548af851f23a1984b99cf37614235"><div class="ttname"><a href="classXQillaAllocator.html#acec548af851f23a1984b99cf37614235">XQillaAllocator::const_pointer</a></div><div class="ttdeci">const _Tp * const_pointer</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:91</div></div>
|
|
<div class="ttc" id="classATDecimalOrDerived_html"><div class="ttname"><a href="classATDecimalOrDerived.html">ATDecimalOrDerived</a></div><div class="ttdef"><b>Definition:</b> ATDecimalOrDerived.hpp:29</div></div>
|
|
<div class="ttc" id="classAutoDelete_html_a670c852dae170f5c4bea55d3539ba9a8"><div class="ttname"><a href="classAutoDelete.html#a670c852dae170f5c4bea55d3539ba9a8">AutoDelete::AutoDelete</a></div><div class="ttdeci">AutoDelete(TYPE *p)</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:263</div></div>
|
|
<div class="ttc" id="structXQillaAllocator_1_1rebind_html_a5dc95c37a843ba22e4b0c913984e295b"><div class="ttname"><a href="structXQillaAllocator_1_1rebind.html#a5dc95c37a843ba22e4b0c913984e295b">XQillaAllocator::rebind::other</a></div><div class="ttdeci">XQillaAllocator< _Tp1 > other</div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:97</div></div>
|
|
<div class="ttc" id="classAutoDelete_html"><div class="ttname"><a href="classAutoDelete.html">AutoDelete</a></div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:260</div></div>
|
|
<div class="ttc" id="classAutoRelease_html_a989dbe58a526654e017147b182f717da"><div class="ttname"><a href="classAutoRelease.html#a989dbe58a526654e017147b182f717da">AutoRelease::operator-></a></div><div class="ttdeci">TYPE * operator->() const </div><div class="ttdef"><b>Definition:</b> XPath2MemoryManager.hpp:221</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.5
|
|
</small></address>
|
|
</body>
|
|
</html>
|