415 lines
19 KiB
HTML
415 lines
19 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.5.5 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li class="current"><a href="classes.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
<li><a href="examples.html"><span>Examples</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="contents">
|
|
<h1>XPath2MemoryManager Class Reference</h1><!-- doxytag: class="XPath2MemoryManager" --><!-- doxytag: inherits="xercesc::MemoryManager" --><code>#include <<a class="el" href="XPath2MemoryManager_8hpp-source.html">XPath2MemoryManager.hpp</a>></code>
|
|
<p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for XPath2MemoryManager:</div>
|
|
<div class="dynsection">
|
|
<p><center><img src="classXPath2MemoryManager__inherit__graph.png" border="0" usemap="#XPath2MemoryManager__inherit__map" alt="Inheritance graph"></center>
|
|
<map name="XPath2MemoryManager__inherit__map">
|
|
<area shape="rect" href="classxercesc_1_1MemoryManager.html" title="Configurable memory manager." alt="" coords="5,7,176,31"></map>
|
|
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
|
|
|
|
<p>
|
|
<a href="classXPath2MemoryManager-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td></td></tr>
|
|
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classXPath2MemoryManager.html#2a42454955f541092df5332858ff284c">~XPath2MemoryManager</a> ()</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXPath2MemoryManager.html#892ad43df3a5322424c097e4b7a7875a">reset</a> ()=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Use with extreme caution! <a href="#892ad43df3a5322424c097e4b7a7875a"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXPath2MemoryManager.html#ce77d8d5e09bf682301c847b8739c9e0">getPooledString</a> (const XMLCh *src)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a copy of the given string. <a href="#ce77d8d5e09bf682301c847b8739c9e0"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXPath2MemoryManager.html#b1e0959251055168e8cc6c9c380840a8">getPooledString</a> (const XMLCh *src, unsigned int length)=0</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXPath2MemoryManager.html#3c7eb8757a390cd1cbef8919352c6842">getPooledString</a> (const char *src)=0</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXPath2MemoryManager.html#b2ddbbce0b3c32d1efc514b52698ee71">allocate</a> (size_t numElements)=0</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXPath2MemoryManager.html#ef477327c5b541f370ec190f921a418b">deallocate</a> (void *p)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method deallocates memory. <a href="#ef477327c5b541f370ec190f921a418b"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classCollation.html">Collation</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXPath2MemoryManager.html#7833b8fabb7c3dbeef84febdd0b35aa8">createCollation</a> (CollationHelper *helper)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">create a collation <a href="#7833b8fabb7c3dbeef84febdd0b35aa8"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual XQillaNSResolver * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXPath2MemoryManager.html#e506a22671db8b5a35c1b08730c081a3">createNSResolver</a> (<a class="el" href="classxercesc_1_1DOMNode.html">xercesc::DOMNode</a> *resolverNode)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">create a resolver <a href="#e506a22671db8b5a35c1b08730c081a3"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classVariableTypeStore.html">VariableTypeStore</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXPath2MemoryManager.html#6912d6aef0f8e70887f22b2f489fe195">createVariableTypeStore</a> ()=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">create a store for variables <a href="#6912d6aef0f8e70887f22b2f489fe195"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classATDecimalOrDerived.html">ATDecimalOrDerived</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXPath2MemoryManager.html#1acaf9876eee218df126db20a5b76bba">createInteger</a> (int value)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">create a <a class="el" href="classATDecimalOrDerived.html">ATDecimalOrDerived</a> for the given integer <a href="#1acaf9876eee218df126db20a5b76bba"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXPath2MemoryManager.html#8fe202a22678c4bd76fbe457b8034e28">dumpStatistics</a> () const =0</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classXPath2MemoryManager.html#9301574ab195458d9413a33d35b31812">getAllocatedObjectCount</a> () const =0</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classXPath2MemoryManager.html#8071c7c1a032278feb98a72ee0a2894a">getTotalAllocatedMemory</a> () const =0</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="classStringPool.html">StringPool</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXPath2MemoryManager.html#bee82223a88eee9a908a061cade5ed47">getStringPool</a> () const =0</td></tr>
|
|
|
|
</table>
|
|
<hr><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" name="2a42454955f541092df5332858ff284c"></a><!-- doxytag: member="XPath2MemoryManager::~XPath2MemoryManager" ref="2a42454955f541092df5332858ff284c" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual XPath2MemoryManager::~XPath2MemoryManager </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<hr><h2>Member Function Documentation</h2>
|
|
<a class="anchor" name="892ad43df3a5322424c097e4b7a7875a"></a><!-- doxytag: member="XPath2MemoryManager::reset" ref="892ad43df3a5322424c097e4b7a7875a" args="()=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void XPath2MemoryManager::reset </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Use with extreme caution!
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="ce77d8d5e09bf682301c847b8739c9e0"></a><!-- doxytag: member="XPath2MemoryManager::getPooledString" ref="ce77d8d5e09bf682301c847b8739c9e0" args="(const XMLCh *src)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual const XMLCh* XPath2MemoryManager::getPooledString </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLCh * </td>
|
|
<td class="paramname"> <em>src</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Returns a copy of the given string.
|
|
<p>
|
|
|
|
<p>Referenced by <a class="el" href="Scope_8hpp-source.html#l00101">Scope< TYPE >::put()</a>.</p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="b1e0959251055168e8cc6c9c380840a8"></a><!-- doxytag: member="XPath2MemoryManager::getPooledString" ref="b1e0959251055168e8cc6c9c380840a8" args="(const XMLCh *src, unsigned int length)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual const XMLCh* XPath2MemoryManager::getPooledString </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLCh * </td>
|
|
<td class="paramname"> <em>src</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"> <em>length</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="3c7eb8757a390cd1cbef8919352c6842"></a><!-- doxytag: member="XPath2MemoryManager::getPooledString" ref="3c7eb8757a390cd1cbef8919352c6842" args="(const char *src)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual const XMLCh* XPath2MemoryManager::getPooledString </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"> <em>src</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="b2ddbbce0b3c32d1efc514b52698ee71"></a><!-- doxytag: member="XPath2MemoryManager::allocate" ref="b2ddbbce0b3c32d1efc514b52698ee71" args="(size_t numElements)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void* XPath2MemoryManager::allocate </td>
|
|
<td>(</td>
|
|
<td class="paramtype">size_t </td>
|
|
<td class="paramname"> <em>numElements</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="ef477327c5b541f370ec190f921a418b"></a><!-- doxytag: member="XPath2MemoryManager::deallocate" ref="ef477327c5b541f370ec190f921a418b" args="(void *p)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void XPath2MemoryManager::deallocate </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"> <em>p</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
This method deallocates memory.
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>p</em> </td><td>The pointer to the allocated memory to be deleted </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>Implements <a class="el" href="classxercesc_1_1MemoryManager.html#4fd46b0b3634cf5540170ff3dcdfc414">xercesc::MemoryManager</a>.</p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="7833b8fabb7c3dbeef84febdd0b35aa8"></a><!-- doxytag: member="XPath2MemoryManager::createCollation" ref="7833b8fabb7c3dbeef84febdd0b35aa8" args="(CollationHelper *helper)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classCollation.html">Collation</a>* XPath2MemoryManager::createCollation </td>
|
|
<td>(</td>
|
|
<td class="paramtype">CollationHelper * </td>
|
|
<td class="paramname"> <em>helper</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
create a collation
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="e506a22671db8b5a35c1b08730c081a3"></a><!-- doxytag: member="XPath2MemoryManager::createNSResolver" ref="e506a22671db8b5a35c1b08730c081a3" args="(xercesc::DOMNode *resolverNode)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual XQillaNSResolver* XPath2MemoryManager::createNSResolver </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classxercesc_1_1DOMNode.html">xercesc::DOMNode</a> * </td>
|
|
<td class="paramname"> <em>resolverNode</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
create a resolver
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="6912d6aef0f8e70887f22b2f489fe195"></a><!-- doxytag: member="XPath2MemoryManager::createVariableTypeStore" ref="6912d6aef0f8e70887f22b2f489fe195" args="()=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classVariableTypeStore.html">VariableTypeStore</a>* XPath2MemoryManager::createVariableTypeStore </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
create a store for variables
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="1acaf9876eee218df126db20a5b76bba"></a><!-- doxytag: member="XPath2MemoryManager::createInteger" ref="1acaf9876eee218df126db20a5b76bba" args="(int value)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classATDecimalOrDerived.html">ATDecimalOrDerived</a>* XPath2MemoryManager::createInteger </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>value</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
create a <a class="el" href="classATDecimalOrDerived.html">ATDecimalOrDerived</a> for the given integer
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="8fe202a22678c4bd76fbe457b8034e28"></a><!-- doxytag: member="XPath2MemoryManager::dumpStatistics" ref="8fe202a22678c4bd76fbe457b8034e28" args="() const =0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void XPath2MemoryManager::dumpStatistics </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="9301574ab195458d9413a33d35b31812"></a><!-- doxytag: member="XPath2MemoryManager::getAllocatedObjectCount" ref="9301574ab195458d9413a33d35b31812" args="() const =0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual size_t XPath2MemoryManager::getAllocatedObjectCount </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="8071c7c1a032278feb98a72ee0a2894a"></a><!-- doxytag: member="XPath2MemoryManager::getTotalAllocatedMemory" ref="8071c7c1a032278feb98a72ee0a2894a" args="() const =0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual size_t XPath2MemoryManager::getTotalAllocatedMemory </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="bee82223a88eee9a908a061cade5ed47"></a><!-- doxytag: member="XPath2MemoryManager::getStringPool" ref="bee82223a88eee9a908a061cade5ed47" args="() const =0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual const <a class="el" href="classStringPool.html">StringPool</a>* XPath2MemoryManager::getStringPool </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="XPath2MemoryManager_8hpp-source.html">XPath2MemoryManager.hpp</a></ul>
|
|
</div>
|
|
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jan 5 19:54:25 2009 for XQilla Simple API by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
|
</body>
|
|
</html>
|