XQuilla/docs/simple-api/classxercesc_1_1MemoryManager.html

200 lines
9.2 KiB
HTML
Raw Normal View History

2020-02-17 21:05:20 +00:00
<!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: xercesc::MemoryManager Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.6 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<div class="nav">
<a class="el" href="namespacexercesc.html">xercesc</a>::<a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a></div>
<h1>xercesc::MemoryManager Class Reference</h1><!-- doxytag: class="xercesc::MemoryManager" -->Configurable memory manager.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="MemoryManager_8hpp-source.html">MemoryManager.hpp</a>&gt;</code>
<p>
Inheritance diagram for xercesc::MemoryManager:<p><center><img src="classxercesc_1_1MemoryManager__inherit__graph.png" border="0" usemap="#xercesc_1_1MemoryManager__inherit__map" alt="Inheritance graph"></center>
<map name="xercesc_1_1MemoryManager__inherit__map">
<area href="classXPath2MemoryManager.html" shape="rect" coords="13,83,181,107" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classxercesc_1_1MemoryManager-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 colspan="2"><div class="groupHeader">Destructor</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1MemoryManager.html#1b429deba7d9333cac7a6ade9b45ca16">~MemoryManager</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default destructor. <a href="#1b429deba7d9333cac7a6ade9b45ca16"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">The pure virtual methods in this interface.</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1MemoryManager.html#f2c4b513a75ee22fbaa4bdc7a5bfdc81">allocate</a> (size_t size)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method allocates requested memory. <a href="#f2c4b513a75ee22fbaa4bdc7a5bfdc81"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1MemoryManager.html#4fd46b0b3634cf5540170ff3dcdfc414">deallocate</a> (void *p)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method deallocates memory. <a href="#4fd46b0b3634cf5540170ff3dcdfc414"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Constructor</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1MemoryManager.html#e4805ff1bfd80116c7321e3336b8613e">MemoryManager</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Protected default constructor. <a href="#e4805ff1bfd80116c7321e3336b8613e"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Configurable memory manager.
<p>
This interface allows outside applications to plug in their own memory manager to be used by Xerces for memory allocation/deallocation.
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="1b429deba7d9333cac7a6ade9b45ca16"></a><!-- doxytag: member="xercesc::MemoryManager::~MemoryManager" ref="1b429deba7d9333cac7a6ade9b45ca16" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual xercesc::MemoryManager::~MemoryManager </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline, virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Default destructor.
<p>
</td>
</tr>
</table>
<a class="anchor" name="e4805ff1bfd80116c7321e3336b8613e"></a><!-- doxytag: member="xercesc::MemoryManager::MemoryManager" ref="e4805ff1bfd80116c7321e3336b8613e" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">xercesc::MemoryManager::MemoryManager </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline, protected]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Protected default constructor.
<p>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="f2c4b513a75ee22fbaa4bdc7a5bfdc81"></a><!-- doxytag: member="xercesc::MemoryManager::allocate" ref="f2c4b513a75ee22fbaa4bdc7a5bfdc81" args="(size_t size)=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void* xercesc::MemoryManager::allocate </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">size_t&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>size</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
This method allocates requested 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>size</em>&nbsp;</td><td>The requested memory size</td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A pointer to the allocated memory </dd></dl>
<p>
Implemented in <a class="el" href="classXPath2MemoryManager.html#b2ddbbce0b3c32d1efc514b52698ee71">XPath2MemoryManager</a>. </td>
</tr>
</table>
<a class="anchor" name="4fd46b0b3634cf5540170ff3dcdfc414"></a><!-- doxytag: member="xercesc::MemoryManager::deallocate" ref="4fd46b0b3634cf5540170ff3dcdfc414" args="(void *p)=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void xercesc::MemoryManager::deallocate </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">void *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>p</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<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>&nbsp;</td><td>The pointer to the allocated memory to be deleted </td></tr>
</table>
</dl>
<p>
Implemented in <a class="el" href="classXPath2MemoryManager.html#ef477327c5b541f370ec190f921a418b">XPath2MemoryManager</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="MemoryManager_8hpp-source.html">MemoryManager.hpp</a></ul>
2020-02-17 21:08:05 +00:00
<hr size="1"><address style="align: right;"><small>Generated on Mon Feb 12 16:52:07 2007 for XQilla Simple API by&nbsp;
2020-02-17 21:05:20 +00:00
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
</body>
</html>