blob: 88deb86b40f74b43a7c2ec1efc86b9106fa07375 [file] [log] [blame]
<!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"/>
<title>Xalan-C++ API : Main Page</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<!-- The head section is copied from Doxygen 1.7.1 generated default output -->
<body>
<h2 align="center">Xalan-C++ API Documentation</h2>
<h3 align="center"><a href="../index.html">The Xalan C++ XSLT Processor Version 1.11</a></h3>
<hr/>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;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 class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="classes.html"><span>Class&nbsp;Index</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>
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> </div>
<div class="headertitle">
<h1>XercesTextWrapperAllocator Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="XercesTextWrapperAllocator" -->
<p><code>#include &lt;<a class="el" href="XercesTextWrapperAllocator_8hpp_source.html">XercesTextWrapperAllocator.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for XercesTextWrapperAllocator:</div>
<div class="dyncontent">
<div class="center"><img src="classXercesTextWrapperAllocator__coll__graph.png" border="0" usemap="#XercesTextWrapperAllocator_coll__map" alt="Collaboration graph"/></div>
<map name="XercesTextWrapperAllocator_coll__map" id="XercesTextWrapperAllocator_coll__map">
<area shape="rect" id="node2" href="classArenaAllocator.html" title="ArenaAllocator\&lt; ObjectType \&gt;" alt="" coords="184,315,400,344"/><area shape="rect" id="node4" href="classArenaBlock.html" title="ArenaBlock\&lt; ObjectType \&gt;" alt="" coords="43,219,237,248"/><area shape="rect" id="node6" href="classArenaBlockBase.html" title="ArenaBlockBase\&lt; ObjectType, size_t \&gt;" alt="" coords="5,104,275,133"/><area shape="rect" id="node10" href="classXalanAllocator.html" title="XalanAllocator\&lt; ObjectType \&gt;" alt="" coords="121,5,335,35"/><area shape="rect" id="node12" href="classXalanList.html" title="XalanList\&lt; ArenaBlock\&lt; ObjectType \&gt; * \&gt;" alt="" coords="261,219,555,248"/><area shape="rect" id="node14" href="structXalanList_1_1Node.html" title="XalanList\&lt; Type \&gt;::Node" alt="" coords="317,104,499,133"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classXercesTextWrapperAllocator-members.html">List of all members.</a></p>
<h2><a name="pub-types"></a>
Public Types</h2>
<ul>
<li>typedef <a class="el" href="classXercesTextWrapper.html">XercesTextWrapper</a> <a class="el" href="classXercesTextWrapperAllocator.html#a284369dbae6b7f246876be12fe7210f8">ObjectType</a>
<li>typedef <a class="el" href="classArenaAllocator.html">ArenaAllocator</a><br class="typebreak"/>
&lt; <a class="el" href="classXercesTextWrapper.html">ObjectType</a> &gt; <a class="el" href="classXercesTextWrapperAllocator.html#acf3368d6fe348a7eb2f2d90fff9d9d74">ArenaAllocatorType</a>
<li>typedef <br class="typebreak"/>
<a class="el" href="classArenaAllocator.html#a68eaf7d03e3a4a9f35c035481f0acd67">ArenaAllocatorType::size_type</a> <a class="el" href="classXercesTextWrapperAllocator.html#a1e4649b96e14cce632d04f6d0265e8df">size_type</a>
</ul>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="classXercesTextWrapperAllocator.html#a9af9230250e51d9b91955113b8cb2359">XercesTextWrapperAllocator</a> (MemoryManager &amp;theManager, <a class="el" href="classXercesTextWrapperAllocator.html#a1e4649b96e14cce632d04f6d0265e8df">size_type</a> theBlockCount)
<dl class="el"><dd class="mdescRight">Construct an instance that will allocate blocks of the specified size. <a href="#a9af9230250e51d9b91955113b8cb2359"></a><br/></dl><li><a class="el" href="classXercesTextWrapperAllocator.html#adb8f9401dda4aa3d682b0bfb1de2244a">~XercesTextWrapperAllocator</a> ()
<li><a class="el" href="classXercesTextWrapper.html">ObjectType</a> * <a class="el" href="classXercesTextWrapperAllocator.html#a9bf0b040f18294de96228002309dfde6">create</a> (const <a class="el" href="XercesWrapperTypes_8hpp.html#a5de43dca75c48e5fb351a0dadcd08308">DOMTextType</a> *theXercesText, const <a class="el" href="classXercesWrapperNavigator.html">XercesWrapperNavigator</a> &amp;theNavigator)
<dl class="el"><dd class="mdescRight">Create a <a class="el" href="classXercesTextWrapper.html">XercesTextWrapper</a> instance. <a href="#a9bf0b040f18294de96228002309dfde6"></a><br/></dl><li>void <a class="el" href="classXercesTextWrapperAllocator.html#a29a348a0a148b4ef0c7123b51c785958">reset</a> ()
<dl class="el"><dd class="mdescRight">Delete all objects from allocator. <a href="#a29a348a0a148b4ef0c7123b51c785958"></a><br/></dl><li><a class="el" href="classXercesTextWrapperAllocator.html#a1e4649b96e14cce632d04f6d0265e8df">size_type</a> <a class="el" href="classXercesTextWrapperAllocator.html#a3c27f1d7576e7d9d06013ebd02845aef">getBlockCount</a> () const
<dl class="el"><dd class="mdescRight">Get size of an <a class="el" href="classArenaBlock.html">ArenaBlock</a>, that is, the number of objects in each block. <a href="#a3c27f1d7576e7d9d06013ebd02845aef"></a><br/></dl><li><a class="el" href="classXercesTextWrapperAllocator.html#a1e4649b96e14cce632d04f6d0265e8df">size_type</a> <a class="el" href="classXercesTextWrapperAllocator.html#adb8a280dfe1c3bc06e420e0f0c88dbb7">getBlockSize</a> () const
<dl class="el"><dd class="mdescRight">Get the number of ArenaBlocks currently allocated. <a href="#adb8a280dfe1c3bc06e420e0f0c88dbb7"></a><br/></dl></ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Definition at line <a class="el" href="XercesTextWrapperAllocator_8hpp_source.html#l00041">41</a> of file <a class="el" href="XercesTextWrapperAllocator_8hpp_source.html">XercesTextWrapperAllocator.hpp</a>.</p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="acf3368d6fe348a7eb2f2d90fff9d9d74"></a><!-- doxytag: member="XercesTextWrapperAllocator::ArenaAllocatorType" ref="acf3368d6fe348a7eb2f2d90fff9d9d74" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classArenaAllocator.html">ArenaAllocator</a>&lt;<a class="el" href="classXercesTextWrapper.html">ObjectType</a>&gt; <a class="el" href="classArenaAllocator.html">XercesTextWrapperAllocator::ArenaAllocatorType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="XercesTextWrapperAllocator_8hpp_source.html#l00053">53</a> of file <a class="el" href="XercesTextWrapperAllocator_8hpp_source.html">XercesTextWrapperAllocator.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a284369dbae6b7f246876be12fe7210f8"></a><!-- doxytag: member="XercesTextWrapperAllocator::ObjectType" ref="a284369dbae6b7f246876be12fe7210f8" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classXercesTextWrapper.html">XercesTextWrapper</a> <a class="el" href="classXercesTextWrapper.html">XercesTextWrapperAllocator::ObjectType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="XercesTextWrapperAllocator_8hpp_source.html#l00045">45</a> of file <a class="el" href="XercesTextWrapperAllocator_8hpp_source.html">XercesTextWrapperAllocator.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a1e4649b96e14cce632d04f6d0265e8df"></a><!-- doxytag: member="XercesTextWrapperAllocator::size_type" ref="a1e4649b96e14cce632d04f6d0265e8df" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classArenaAllocator.html#a68eaf7d03e3a4a9f35c035481f0acd67">ArenaAllocatorType::size_type</a> <a class="el" href="classXercesTextWrapperAllocator.html#a1e4649b96e14cce632d04f6d0265e8df">XercesTextWrapperAllocator::size_type</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="XercesTextWrapperAllocator_8hpp_source.html#l00056">56</a> of file <a class="el" href="XercesTextWrapperAllocator_8hpp_source.html">XercesTextWrapperAllocator.hpp</a>.</p>
</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a9af9230250e51d9b91955113b8cb2359"></a><!-- doxytag: member="XercesTextWrapperAllocator::XercesTextWrapperAllocator" ref="a9af9230250e51d9b91955113b8cb2359" args="(MemoryManager &amp;theManager, size_type theBlockCount)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XercesTextWrapperAllocator::XercesTextWrapperAllocator </td>
<td>(</td>
<td class="paramtype">MemoryManager &amp;&nbsp;</td>
<td class="paramname"> <em>theManager</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXercesTextWrapperAllocator.html#a1e4649b96e14cce632d04f6d0265e8df">size_type</a>&nbsp;</td>
<td class="paramname"> <em>theBlockCount</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Construct an instance that will allocate blocks of the specified size. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theBlockSize</em>&nbsp;</td><td>The block size. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="adb8f9401dda4aa3d682b0bfb1de2244a"></a><!-- doxytag: member="XercesTextWrapperAllocator::~XercesTextWrapperAllocator" ref="adb8f9401dda4aa3d682b0bfb1de2244a" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XercesTextWrapperAllocator::~XercesTextWrapperAllocator </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a9bf0b040f18294de96228002309dfde6"></a><!-- doxytag: member="XercesTextWrapperAllocator::create" ref="a9bf0b040f18294de96228002309dfde6" args="(const DOMTextType *theXercesText, const XercesWrapperNavigator &amp;theNavigator)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXercesTextWrapper.html">ObjectType</a>* XercesTextWrapperAllocator::create </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="XercesWrapperTypes_8hpp.html#a5de43dca75c48e5fb351a0dadcd08308">DOMTextType</a> *&nbsp;</td>
<td class="paramname"> <em>theXercesText</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXercesWrapperNavigator.html">XercesWrapperNavigator</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theNavigator</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Create a <a class="el" href="classXercesTextWrapper.html">XercesTextWrapper</a> instance. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theXercesText</em>&nbsp;</td><td>The Xerces text node </td></tr>
<tr><td valign="top"></td><td valign="top"><em>theNavigator</em>&nbsp;</td><td>The navigator for this instance.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>pointer to the instance </dd></dl>
</div>
</div>
<a class="anchor" id="a3c27f1d7576e7d9d06013ebd02845aef"></a><!-- doxytag: member="XercesTextWrapperAllocator::getBlockCount" ref="a3c27f1d7576e7d9d06013ebd02845aef" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXercesTextWrapperAllocator.html#a1e4649b96e14cce632d04f6d0265e8df">size_type</a> XercesTextWrapperAllocator::getBlockCount </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get size of an <a class="el" href="classArenaBlock.html">ArenaBlock</a>, that is, the number of objects in each block. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The size of the block </dd></dl>
<p>Definition at line <a class="el" href="XercesTextWrapperAllocator_8hpp_source.html#l00093">93</a> of file <a class="el" href="XercesTextWrapperAllocator_8hpp_source.html">XercesTextWrapperAllocator.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="adb8a280dfe1c3bc06e420e0f0c88dbb7"></a><!-- doxytag: member="XercesTextWrapperAllocator::getBlockSize" ref="adb8a280dfe1c3bc06e420e0f0c88dbb7" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXercesTextWrapperAllocator.html#a1e4649b96e14cce632d04f6d0265e8df">size_type</a> XercesTextWrapperAllocator::getBlockSize </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get the number of ArenaBlocks currently allocated. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of blocks. </dd></dl>
<p>Definition at line <a class="el" href="XercesTextWrapperAllocator_8hpp_source.html#l00104">104</a> of file <a class="el" href="XercesTextWrapperAllocator_8hpp_source.html">XercesTextWrapperAllocator.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a29a348a0a148b4ef0c7123b51c785958"></a><!-- doxytag: member="XercesTextWrapperAllocator::reset" ref="a29a348a0a148b4ef0c7123b51c785958" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void XercesTextWrapperAllocator::reset </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Delete all objects from allocator. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XercesTextWrapperAllocator_8hpp_source.html">XercesTextWrapperAllocator.hpp</a></li>
</ul>
</div>
<p align="center"><a href="graph_legend.html">Interpreting class diagrams</a></p>
<p><font color="#000000" face="arial,helvetica,sanserif" size="-1">
<i><a href="http://www.doxygen.org/">Doxygen</a> and
<a href="http://www.graphviz.org/">GraphViz</a> are
used to generate this API documentation from the Xalan-C header files.</i></font></p>
<table border="0" cellpadding="0" cellspacing="0" width="80%">
<tr>
<td width="80%" valign="top">
<p align="center"><b>Xalan-C++ XSLT Processor Version 1.11</b><br/>
Copyright &copy; 1999-2012 The Apache Software Foundation.<br/>
All Rights Reserved.</p>
</td>
</tr>
<tr>
<td width="100%">
<p align="center"><img src="asf_logo_wide.gif" width="268" height="25" align="bottom" border="0" alt="Apache Logo">
</td>
</tr>
</table>
</body>
</html>