blob: 1371619e2f0f87271106d10adba8f25bc3ea41a8 [file] [log] [blame]
<HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD>
<BODY>
<h2 align="center">Xalan-C++ API Documentation</h2>
<h3 align="center">The Xalan C++ XSLT Processor Version 1.10</h3>
</BODY>
<!-- Generated by Doxygen 1.2.8.1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>ArenaBlockBase Class Template Reference</h1><code>#include &lt;<a class="el" href="ArenaBlockBase_8hpp-source.html">ArenaBlockBase.hpp</a>&gt;</code>
<p>
Inheritance diagram for ArenaBlockBase:<p><center><img src="classArenaBlockBase__inherit__graph.gif" border="0" usemap="#ArenaBlockBase_inherit_map" alt="Inheritance graph"></center>
<map name="ArenaBlockBase_inherit_map">
<area href="classArenaBlock.html" shape="rect" coords="6,117,94,93">
<area href="classReusableArenaBlock.html" shape="rect" coords="118,117,260,93">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for ArenaBlockBase:<p><center><img src="classArenaBlockBase__coll__graph.gif" border="0" usemap="#ArenaBlockBase_coll_map" alt="Collaboration graph"></center>
<map name="ArenaBlockBase_coll_map">
<area href="classXalanAllocator.html" shape="rect" coords="116,42,308,18">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classArenaBlockBase-members.html">List of all members.</a><h2>Public Types</h2>
<ul>
<li>typedef ArenaBlockBase&lt;ObjectType,<br>
SizeType&gt; <a class="el" href="classArenaBlockBase.html#s0">ThisType</a>
<li>typedef <a class="el" href="classXalanAllocator.html">XalanAllocator</a>&lt;ObjectType&gt; <a class="el" href="classArenaBlockBase.html#s1">AllocatorType</a>
<li>typedef SizeType <a class="el" href="classArenaBlockBase.html#s2">size_type</a>
</ul>
<h2>Public Methods</h2>
<ul>
<li><a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a>&amp; <a class="el" href="classArenaBlockBase.html#a0">getMemoryManager</a> ()
<li>bool <a class="el" href="classArenaBlockBase.html#a1">blockAvailable</a> () const
<li>bool <a class="el" href="classArenaBlockBase.html#a2">isEmpty</a> () const
<li><a class="el" href="classArenaBlockBase.html#s2">size_type</a> <a class="el" href="classArenaBlockBase.html#a3">getCountAllocated</a> () const
<li><a class="el" href="classArenaBlockBase.html#s2">size_type</a> <a class="el" href="classArenaBlockBase.html#a4">getBlockSize</a> () const
<li>bool <a class="el" href="classArenaBlockBase.html#a5">ownsBlock</a> (const ObjectType *theObject) const
</ul>
<h2>Protected Methods</h2>
<ul>
<li><a class="el" href="classArenaBlockBase.html#b0">ArenaBlockBase</a> (<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager, <a class="el" href="classArenaBlockBase.html#s2">size_type</a> theBlockSize)
<li><a class="el" href="classArenaBlockBase.html#b1">~ArenaBlockBase</a> ()
<li>bool <a class="el" href="classArenaBlockBase.html#b2">isInBorders</a> (const ObjectType *theObject, <a class="el" href="classArenaBlockBase.html#s2">size_type</a> rightBoundary) const
<li><a class="el" href="classArenaBlockBase.html#s2">size_type</a> <a class="el" href="classArenaBlockBase.html#b3">getBlockOffset</a> (const ObjectType *theObject) const
<li>ObjectType* <a class="el" href="classArenaBlockBase.html#b4">getBlockAddress</a> (<a class="el" href="classArenaBlockBase.html#s2">size_type</a> theOffset) const
</ul>
<h2>Protected Attributes</h2>
<ul>
<li><a class="el" href="classArenaBlockBase.html#s1">AllocatorType</a> <a class="el" href="classArenaBlockBase.html#n0">m_allocator</a>
<li><a class="el" href="classArenaBlockBase.html#s2">size_type</a> <a class="el" href="classArenaBlockBase.html#n1">m_objectCount</a>
<li>const <a class="el" href="classArenaBlockBase.html#s2">size_type</a> <a class="el" href="classArenaBlockBase.html#n2">m_blockSize</a>
<li>ObjectType* <a class="el" href="classArenaBlockBase.html#n3">m_objectBlock</a>
</ul>
<h3>template&lt;class ObjectType, class SizeType = size_t&gt; class ArenaBlockBase</h3>
<hr><h2>Member Typedef Documentation</h2>
<a name="s1" doxytag="ArenaBlockBase::AllocatorType"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template&lt;class ObjectType, class SizeType = size_t&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
typedef <a class="el" href="classXalanAllocator.html">XalanAllocator</a>&lt; ObjectType &gt; ArenaBlockBase&lt;ObjectType, SizeType&gt;::AllocatorType&lt;ObjectType&gt;
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="s0" doxytag="ArenaBlockBase::ThisType"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template&lt;class ObjectType, class SizeType = size_t&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
typedef ArenaBlockBase&lt; ObjectType, SizeType &gt; ArenaBlockBase&lt;ObjectType, SizeType&gt;::ThisType&lt;ObjectType, SizeType&gt;
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Reimplemented in <a class="el" href="classArenaBlock.html#s1">ArenaBlock</a>, and <a class="el" href="classReusableArenaBlock.html#s2">ReusableArenaBlock</a>. </td>
</tr>
</table>
<a name="s2" doxytag="ArenaBlockBase::size_type"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template&lt;class ObjectType, class SizeType = size_t&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
typedef SizeType ArenaBlockBase&lt;ObjectType, SizeType&gt;::size_type
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Reimplemented in <a class="el" href="classArenaBlock.html#s2">ArenaBlock</a>, and <a class="el" href="classReusableArenaBlock.html#s1">ReusableArenaBlock</a>. </td>
</tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="b0" doxytag="ArenaBlockBase::ArenaBlockBase"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template&lt;class ObjectType, class SizeType = size_t&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
ArenaBlockBase&lt;ObjectType, SizeType&gt;::ArenaBlockBase&lt;ObjectType, SizeType&gt; (
</b></td>
<td valign="bottom"><b>
<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp; <em>theManager</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classArenaBlockBase.html#s2">size_type</a> <em>theBlockSize</em>&nbsp;)<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="b1" doxytag="ArenaBlockBase::~ArenaBlockBase"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template&lt;class ObjectType, class SizeType = size_t&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
ArenaBlockBase&lt;ObjectType, SizeType&gt;::~ArenaBlockBase&lt;ObjectType, SizeType&gt; (
</b></td>
<td valign="bottom"><b>
)<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a1" doxytag="ArenaBlockBase::blockAvailable"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template&lt;class ObjectType, class SizeType = size_t&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
bool ArenaBlockBase&lt;ObjectType, SizeType&gt;::blockAvailable (
</b></td>
<td valign="bottom"><b>
) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="b4" doxytag="ArenaBlockBase::getBlockAddress"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template&lt;class ObjectType, class SizeType = size_t&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
ObjectType * ArenaBlockBase&lt;ObjectType, SizeType&gt;::getBlockAddress (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classArenaBlockBase.html#s2">size_type</a> <em>theOffset</em>&nbsp;) const<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="b3" doxytag="ArenaBlockBase::getBlockOffset"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template&lt;class ObjectType, class SizeType = size_t&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classArenaBlockBase.html#s2">size_type</a> ArenaBlockBase&lt;ObjectType, SizeType&gt;::getBlockOffset (
</b></td>
<td valign="bottom"><b>
const ObjectType * <em>theObject</em>&nbsp;) const<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a4" doxytag="ArenaBlockBase::getBlockSize"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template&lt;class ObjectType, class SizeType = size_t&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classArenaBlockBase.html#s2">size_type</a> ArenaBlockBase&lt;ObjectType, SizeType&gt;::getBlockSize (
</b></td>
<td valign="bottom"><b>
) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a3" doxytag="ArenaBlockBase::getCountAllocated"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template&lt;class ObjectType, class SizeType = size_t&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classArenaBlockBase.html#s2">size_type</a> ArenaBlockBase&lt;ObjectType, SizeType&gt;::getCountAllocated (
</b></td>
<td valign="bottom"><b>
) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a0" doxytag="ArenaBlockBase::getMemoryManager"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template&lt;class ObjectType, class SizeType = size_t&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp; ArenaBlockBase&lt;ObjectType, SizeType&gt;::getMemoryManager (
</b></td>
<td valign="bottom"><b>
)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a2" doxytag="ArenaBlockBase::isEmpty"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template&lt;class ObjectType, class SizeType = size_t&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
bool ArenaBlockBase&lt;ObjectType, SizeType&gt;::isEmpty (
</b></td>
<td valign="bottom"><b>
) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="b2" doxytag="ArenaBlockBase::isInBorders"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template&lt;class ObjectType, class SizeType = size_t&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
bool ArenaBlockBase&lt;ObjectType, SizeType&gt;::isInBorders (
</b></td>
<td valign="bottom"><b>
const ObjectType * <em>theObject</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classArenaBlockBase.html#s2">size_type</a> <em>rightBoundary</em>&nbsp;) const<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a5" doxytag="ArenaBlockBase::ownsBlock"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template&lt;class ObjectType, class SizeType = size_t&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
bool ArenaBlockBase&lt;ObjectType, SizeType&gt;::ownsBlock (
</b></td>
<td valign="bottom"><b>
const ObjectType * <em>theObject</em>&nbsp;) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="n0" doxytag="ArenaBlockBase::m_allocator"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template&lt;class ObjectType, class SizeType = size_t&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classArenaBlockBase.html#s1">AllocatorType</a> ArenaBlockBase&lt;ObjectType, SizeType&gt;::m_allocator<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="n2" doxytag="ArenaBlockBase::m_blockSize"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template&lt;class ObjectType, class SizeType = size_t&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
const <a class="el" href="classArenaBlockBase.html#s2">size_type</a> ArenaBlockBase&lt;ObjectType, SizeType&gt;::m_blockSize<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="n3" doxytag="ArenaBlockBase::m_objectBlock"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template&lt;class ObjectType, class SizeType = size_t&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
ObjectType * ArenaBlockBase&lt;ObjectType, SizeType&gt;::m_objectBlock<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="n1" doxytag="ArenaBlockBase::m_objectCount"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template&lt;class ObjectType, class SizeType = size_t&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classArenaBlockBase.html#s2">size_type</a> ArenaBlockBase&lt;ObjectType, SizeType&gt;::m_objectCount<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="ArenaBlockBase_8hpp-source.html">ArenaBlockBase.hpp</a></ul>
<p align="center"><a href="diagramnotes.html">Interpreting class diagrams</a></p>
<p><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
<i><A href="http://www.stack.nl/~dimitri/doxygen/">Doxygen</A> and
<A href="http://www.research.att.com/sw/tools/graphviz/">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="820"><TR><TD bgcolor="#0086b2"><IMG height="1" src="../resources/dot.gif" width="1" alt="dot"></TD></TR></TABLE>
<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.10</B><BR>
Copyright &copy; 1999-2004 The Apache Software Foundation. All Rights Reserved.</i></p>
</TD>
</TR>
<TR>
<TD WIDTH="100%">
<P ALIGN="CENTER"><IMG SRC="ApacheLogo.jpg" WIDTH="387" HEIGHT="100" ALIGN="BOTTOM" BORDER="0" ALT="Apache Logo">
</TD>
</TR>
</TABLE>