You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
431 lines
24 KiB
431 lines
24 KiB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.9.1"/>
|
|
<title>Xerces-C++: DOMMemoryManager Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">Xerces-C++
|
|
 <span id="projectnumber">3.1.2</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.9.1 -->
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="classes.html"><span>Class Index</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><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-types">Public Types</a> |
|
|
<a href="classDOMMemoryManager-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">DOMMemoryManager Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>The <code><a class="el" href="classDOMMemoryManager.html" title="The DOMMemoryManager interface exposes the memory allocation-related functionalities of a DOMDocument...">DOMMemoryManager</a></code> interface exposes the memory allocation-related functionalities of a <code><a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a></code>
|
|
<a href="classDOMMemoryManager.html#details">More...</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
|
|
Public Types</h2></td></tr>
|
|
<tr class="memitem:a204df2f42dde53d6b6c30c3ca46e27b1"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMMemoryManager.html#a204df2f42dde53d6b6c30c3ca46e27b1">NodeObjectType</a> { <br />
|
|
  <a class="el" href="classDOMMemoryManager.html#a204df2f42dde53d6b6c30c3ca46e27b1ad5cfa34c934527ff8f5f8a53459c923c">ATTR_OBJECT</a> = 0,
|
|
<a class="el" href="classDOMMemoryManager.html#a204df2f42dde53d6b6c30c3ca46e27b1ab7fd2a25a694520341224ed6ff032d40">ATTR_NS_OBJECT</a> = 1,
|
|
<a class="el" href="classDOMMemoryManager.html#a204df2f42dde53d6b6c30c3ca46e27b1a60b25457a0f1e8a4e40469eb30325e96">CDATA_SECTION_OBJECT</a> = 2,
|
|
<a class="el" href="classDOMMemoryManager.html#a204df2f42dde53d6b6c30c3ca46e27b1add02e894262059c2bfc42396aa5d0f74">COMMENT_OBJECT</a> = 3,
|
|
<br />
|
|
  <a class="el" href="classDOMMemoryManager.html#a204df2f42dde53d6b6c30c3ca46e27b1ac4c27446f78089e0525197cbed77f3dc">DOCUMENT_FRAGMENT_OBJECT</a> = 4,
|
|
<a class="el" href="classDOMMemoryManager.html#a204df2f42dde53d6b6c30c3ca46e27b1ab4b79e3ed0f67394cb8f1cbbc525d341">DOCUMENT_TYPE_OBJECT</a> = 5,
|
|
<a class="el" href="classDOMMemoryManager.html#a204df2f42dde53d6b6c30c3ca46e27b1a0ccde53ba19e8e540efc8b15232e792c">ELEMENT_OBJECT</a> = 6,
|
|
<a class="el" href="classDOMMemoryManager.html#a204df2f42dde53d6b6c30c3ca46e27b1af9d48f846414d0f23b1f4c094fccc958">ELEMENT_NS_OBJECT</a> = 7,
|
|
<br />
|
|
  <a class="el" href="classDOMMemoryManager.html#a204df2f42dde53d6b6c30c3ca46e27b1af80e82759d98a1fba66ed00c63871805">ENTITY_OBJECT</a> = 8,
|
|
<a class="el" href="classDOMMemoryManager.html#a204df2f42dde53d6b6c30c3ca46e27b1aed024ba957c0d64c3040b98e2f110fa9">ENTITY_REFERENCE_OBJECT</a> = 9,
|
|
<a class="el" href="classDOMMemoryManager.html#a204df2f42dde53d6b6c30c3ca46e27b1a941da709a628b2b292b7b82a09271b7e">NOTATION_OBJECT</a> = 10,
|
|
<a class="el" href="classDOMMemoryManager.html#a204df2f42dde53d6b6c30c3ca46e27b1abfae514728836b3c1b41e7b9d3ce4609">PROCESSING_INSTRUCTION_OBJECT</a> = 11,
|
|
<br />
|
|
  <a class="el" href="classDOMMemoryManager.html#a204df2f42dde53d6b6c30c3ca46e27b1abb73daebe6be1b19430e0c7c92fe664c">TEXT_OBJECT</a> = 12
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="separator:a204df2f42dde53d6b6c30c3ca46e27b1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
|
|
<tr class="memitem:a8e84f1a479924e27311d03e818c1bdf5"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMMemoryManager.html#a8e84f1a479924e27311d03e818c1bdf5">~DOMMemoryManager</a> ()</td></tr>
|
|
<tr class="memdesc:a8e84f1a479924e27311d03e818c1bdf5"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a8e84f1a479924e27311d03e818c1bdf5">More...</a><br /></td></tr>
|
|
<tr class="separator:a8e84f1a479924e27311d03e818c1bdf5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
|
|
<tr class="memitem:ae5d3f6c25b749592885a3e8e343be17d"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMMemoryManager.html#ae5d3f6c25b749592885a3e8e343be17d">getMemoryAllocationBlockSize</a> () const =0</td></tr>
|
|
<tr class="memdesc:ae5d3f6c25b749592885a3e8e343be17d"><td class="mdescLeft"> </td><td class="mdescRight">Returns the size of the chunks of memory allocated by the memory manager. <a href="#ae5d3f6c25b749592885a3e8e343be17d">More...</a><br /></td></tr>
|
|
<tr class="separator:ae5d3f6c25b749592885a3e8e343be17d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
|
|
<tr class="memitem:ab8be3b7267aee9f065540f4d2aca8473"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMMemoryManager.html#ab8be3b7267aee9f065540f4d2aca8473">setMemoryAllocationBlockSize</a> (<a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> size)=0</td></tr>
|
|
<tr class="memdesc:ab8be3b7267aee9f065540f4d2aca8473"><td class="mdescLeft"> </td><td class="mdescRight">Set the size of the chunks of memory allocated by the memory manager. <a href="#ab8be3b7267aee9f065540f4d2aca8473">More...</a><br /></td></tr>
|
|
<tr class="separator:ab8be3b7267aee9f065540f4d2aca8473"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
|
|
<tr class="memitem:a8f2a6eb58cbc23b34578dd86053e0009"><td class="memItemLeft" align="right" valign="top">virtual void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMMemoryManager.html#a8f2a6eb58cbc23b34578dd86053e0009">allocate</a> (<a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> amount)=0</td></tr>
|
|
<tr class="memdesc:a8f2a6eb58cbc23b34578dd86053e0009"><td class="mdescLeft"> </td><td class="mdescRight">Allocate a memory block of the requested size from the managed pool. <a href="#a8f2a6eb58cbc23b34578dd86053e0009">More...</a><br /></td></tr>
|
|
<tr class="separator:a8f2a6eb58cbc23b34578dd86053e0009"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0ad243c3259c64f87be03ae9cf0f76c4"><td class="memItemLeft" align="right" valign="top">virtual void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMMemoryManager.html#a0ad243c3259c64f87be03ae9cf0f76c4">allocate</a> (<a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> amount, <a class="el" href="classDOMMemoryManager.html#a204df2f42dde53d6b6c30c3ca46e27b1">DOMMemoryManager::NodeObjectType</a> type)=0</td></tr>
|
|
<tr class="memdesc:a0ad243c3259c64f87be03ae9cf0f76c4"><td class="mdescLeft"> </td><td class="mdescRight">Allocate a memory block of the requested size from the managed pool of DOM objects. <a href="#a0ad243c3259c64f87be03ae9cf0f76c4">More...</a><br /></td></tr>
|
|
<tr class="separator:a0ad243c3259c64f87be03ae9cf0f76c4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a507e1458fc07f91096ec36fe3e5e809c"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMMemoryManager.html#a507e1458fc07f91096ec36fe3e5e809c">release</a> (<a class="el" href="classDOMNode.html">DOMNode</a> *object, <a class="el" href="classDOMMemoryManager.html#a204df2f42dde53d6b6c30c3ca46e27b1">DOMMemoryManager::NodeObjectType</a> type)=0</td></tr>
|
|
<tr class="memdesc:a507e1458fc07f91096ec36fe3e5e809c"><td class="mdescLeft"> </td><td class="mdescRight">Release a DOM object and place its memory back in the pool. <a href="#a507e1458fc07f91096ec36fe3e5e809c">More...</a><br /></td></tr>
|
|
<tr class="separator:a507e1458fc07f91096ec36fe3e5e809c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a06d5f3b2247df46e2d62e3418cc703d4"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMMemoryManager.html#a06d5f3b2247df46e2d62e3418cc703d4">cloneString</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *src)=0</td></tr>
|
|
<tr class="memdesc:a06d5f3b2247df46e2d62e3418cc703d4"><td class="mdescLeft"> </td><td class="mdescRight">Allocate a memory block from the mnaged pool and copy the provided string. <a href="#a06d5f3b2247df46e2d62e3418cc703d4">More...</a><br /></td></tr>
|
|
<tr class="separator:a06d5f3b2247df46e2d62e3418cc703d4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
|
|
Protected Member Functions</h2></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
|
|
<tr class="memitem:acd7d61638fa0f9e301de4a28501e8ec6"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMMemoryManager.html#acd7d61638fa0f9e301de4a28501e8ec6">DOMMemoryManager</a> ()</td></tr>
|
|
<tr class="separator:acd7d61638fa0f9e301de4a28501e8ec6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>The <code><a class="el" href="classDOMMemoryManager.html" title="The DOMMemoryManager interface exposes the memory allocation-related functionalities of a DOMDocument...">DOMMemoryManager</a></code> interface exposes the memory allocation-related functionalities of a <code><a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a></code> </p>
|
|
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
|
|
<a class="anchor" id="a204df2f42dde53d6b6c30c3ca46e27b1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="classDOMMemoryManager.html#a204df2f42dde53d6b6c30c3ca46e27b1">DOMMemoryManager::NodeObjectType</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a204df2f42dde53d6b6c30c3ca46e27b1ad5cfa34c934527ff8f5f8a53459c923c"></a>ATTR_OBJECT </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a204df2f42dde53d6b6c30c3ca46e27b1ab7fd2a25a694520341224ed6ff032d40"></a>ATTR_NS_OBJECT </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a204df2f42dde53d6b6c30c3ca46e27b1a60b25457a0f1e8a4e40469eb30325e96"></a>CDATA_SECTION_OBJECT </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a204df2f42dde53d6b6c30c3ca46e27b1add02e894262059c2bfc42396aa5d0f74"></a>COMMENT_OBJECT </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a204df2f42dde53d6b6c30c3ca46e27b1ac4c27446f78089e0525197cbed77f3dc"></a>DOCUMENT_FRAGMENT_OBJECT </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a204df2f42dde53d6b6c30c3ca46e27b1ab4b79e3ed0f67394cb8f1cbbc525d341"></a>DOCUMENT_TYPE_OBJECT </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a204df2f42dde53d6b6c30c3ca46e27b1a0ccde53ba19e8e540efc8b15232e792c"></a>ELEMENT_OBJECT </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a204df2f42dde53d6b6c30c3ca46e27b1af9d48f846414d0f23b1f4c094fccc958"></a>ELEMENT_NS_OBJECT </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a204df2f42dde53d6b6c30c3ca46e27b1af80e82759d98a1fba66ed00c63871805"></a>ENTITY_OBJECT </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a204df2f42dde53d6b6c30c3ca46e27b1aed024ba957c0d64c3040b98e2f110fa9"></a>ENTITY_REFERENCE_OBJECT </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a204df2f42dde53d6b6c30c3ca46e27b1a941da709a628b2b292b7b82a09271b7e"></a>NOTATION_OBJECT </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a204df2f42dde53d6b6c30c3ca46e27b1abfae514728836b3c1b41e7b9d3ce4609"></a>PROCESSING_INSTRUCTION_OBJECT </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a204df2f42dde53d6b6c30c3ca46e27b1abb73daebe6be1b19430e0c7c92fe664c"></a>TEXT_OBJECT </td><td class="fielddoc">
|
|
</td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="acd7d61638fa0f9e301de4a28501e8ec6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">DOMMemoryManager::DOMMemoryManager </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8e84f1a479924e27311d03e818c1bdf5"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual DOMMemoryManager::~DOMMemoryManager </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Destructor. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a class="anchor" id="a8f2a6eb58cbc23b34578dd86053e0009"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void* DOMMemoryManager::allocate </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> </td>
|
|
<td class="paramname"><em>amount</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Allocate a memory block of the requested size from the managed pool. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">amount</td><td>the size of the new memory block</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>the pointer to the newly allocated block </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0ad243c3259c64f87be03ae9cf0f76c4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void* DOMMemoryManager::allocate </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> </td>
|
|
<td class="paramname"><em>amount</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classDOMMemoryManager.html#a204df2f42dde53d6b6c30c3ca46e27b1">DOMMemoryManager::NodeObjectType</a> </td>
|
|
<td class="paramname"><em>type</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Allocate a memory block of the requested size from the managed pool of DOM objects. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">amount</td><td>the size of the new memory block </td></tr>
|
|
<tr><td class="paramname">type</td><td>the type of the DOM object that will be stored in the block</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>the pointer to the newly allocated block </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a06d5f3b2247df46e2d62e3418cc703d4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* DOMMemoryManager::cloneString </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * </td>
|
|
<td class="paramname"><em>src</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Allocate a memory block from the mnaged pool and copy the provided string. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">src</td><td>the string to be copied</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>the pointer to the newly allocated block </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae5d3f6c25b749592885a3e8e343be17d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> DOMMemoryManager::getMemoryAllocationBlockSize </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the size of the chunks of memory allocated by the memory manager. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>the dimension of the chunks of memory allocated by the memory manager </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a507e1458fc07f91096ec36fe3e5e809c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void DOMMemoryManager::release </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classDOMNode.html">DOMNode</a> * </td>
|
|
<td class="paramname"><em>object</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classDOMMemoryManager.html#a204df2f42dde53d6b6c30c3ca46e27b1">DOMMemoryManager::NodeObjectType</a> </td>
|
|
<td class="paramname"><em>type</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Release a DOM object and place its memory back in the pool. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">object</td><td>the pointer to the DOM node </td></tr>
|
|
<tr><td class="paramname">type</td><td>the type of the DOM object </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab8be3b7267aee9f065540f4d2aca8473"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void DOMMemoryManager::setMemoryAllocationBlockSize </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> </td>
|
|
<td class="paramname"><em>size</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the size of the chunks of memory allocated by the memory manager. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">size</td><td>the new size of the chunks; it must be greater than 4KB </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="DOMMemoryManager_8hpp_source.html">DOMMemoryManager.hpp</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Wed Mar 18 2015 10:43:38 for Xerces-C++ by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.9.1
|
|
</small></address>
|
|
</body>
|
|
</html>
|