blob: 4fd9b467220cf538ec73c5a9be337339fb01a46f [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>XalanElemCallTemplateAllocator Class Reference</h1><code>#include &lt;<a class="el" href="XalanElemCallTemplateAllocator_8hpp-source.html">XalanElemCallTemplateAllocator.hpp</a>&gt;</code>
<p>
Collaboration diagram for XalanElemCallTemplateAllocator:<p><center><img src="classXalanElemCallTemplateAllocator__coll__graph.gif" border="0" usemap="#XalanElemCallTemplateAllocator_coll_map" alt="Collaboration graph"></center>
<map name="XalanElemCallTemplateAllocator_coll_map">
<area href="classArenaAllocator.html" shape="rect" coords="19,237,202,213">
<area href="classXalanList.html" shape="rect" coords="13,146,208,122">
<area href="structXalanList_1_1Node.html" shape="rect" coords="59,42,162,18">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXalanElemCallTemplateAllocator-members.html">List of all members.</a><h2>Public Types</h2>
<ul>
<li>typedef <a class="el" href="classElemCallTemplate.html">ElemCallTemplate</a> <a class="el" href="classXalanElemCallTemplateAllocator.html#s0">data_type</a>
<li>typedef <a class="el" href="classArenaAllocator.html">ArenaAllocator</a>&lt;<a class="el" href="classXalanElemCallTemplateAllocator.html#s0">data_type</a>&gt; <a class="el" href="classXalanElemCallTemplateAllocator.html#s1">ArenaAllocatorType</a>
<li>typedef ArenaAllocatorType::size_type <a class="el" href="classXalanElemCallTemplateAllocator.html#s2">size_type</a>
</ul>
<h2>Public Methods</h2>
<ul>
<li><a class="el" href="classXalanElemCallTemplateAllocator.html#a0">XalanElemCallTemplateAllocator</a> (<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager, <a class="el" href="classXalanElemCallTemplateAllocator.html#s2">size_type</a> theBlockCount)
<dl class="el"><dd><font size=-1><em>Construct an instance that will allocate blocks of the specified size.</em> <a href="#a0">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXalanElemCallTemplateAllocator.html#a1">~XalanElemCallTemplateAllocator</a> ()
<li><a class="el" href="classXalanElemCallTemplateAllocator.html#s0">data_type</a>* <a class="el" href="classXalanElemCallTemplateAllocator.html#a2">create</a> (<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;constructionContext, <a class="el" href="ExtensionNSHandler_8hpp.html#a1">Stylesheet</a> &amp;stylesheetTree, const <a class="el" href="classAttributeListType.html">AttributeListType</a> &amp;atts, int lineNumber, int columnNumber)
<dl class="el"><dd><font size=-1><em>Construct an instance.</em> <a href="#a2">More...</a><em><br><br></em></font></dl><li>bool <a class="el" href="classXalanElemCallTemplateAllocator.html#a3">ownsObject</a> (const <a class="el" href="classXalanElemCallTemplateAllocator.html#s0">data_type</a> *theObject)
<dl class="el"><dd><font size=-1><em>Determine if an object is owned by the allocator...</em> <a href="#a3">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanElemCallTemplateAllocator.html#a4">reset</a> ()
<dl class="el"><dd><font size=-1><em>Delete all objects from the allocator.</em> <a href="#a4">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXalanElemCallTemplateAllocator.html#s2">size_type</a> <a class="el" href="classXalanElemCallTemplateAllocator.html#a5">getBlockCount</a> () const
<dl class="el"><dd><font size=-1><em>Get the number of ArenaBlocks currently allocated.</em> <a href="#a5">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXalanElemCallTemplateAllocator.html#s2">size_type</a> <a class="el" href="classXalanElemCallTemplateAllocator.html#a6">getBlockSize</a> () const
<dl class="el"><dd><font size=-1><em>Get size of an <a class="el" href="classArenaBlock.html">ArenaBlock</a>, that is, the number of objects in each block.</em> <a href="#a6">More...</a><em><br><br></em></font></dl></ul>
<hr><h2>Member Typedef Documentation</h2>
<a name="s1" doxytag="XalanElemCallTemplateAllocator::ArenaAllocatorType"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
typedef <a class="el" href="classArenaAllocator.html">ArenaAllocator</a>&lt; <a class="el" href="classXalanElemCallTemplateAllocator.html#s0">data_type</a> &gt; XalanElemCallTemplateAllocator::ArenaAllocatorType&lt;<a class="el" href="classXalanElemCallTemplateAllocator.html#s0">data_type</a>&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="XalanElemCallTemplateAllocator::data_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 nowrap valign="top"><b>
typedef <a class="el" href="classElemCallTemplate.html">ElemCallTemplate</a> XalanElemCallTemplateAllocator::data_type
</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="s2" doxytag="XalanElemCallTemplateAllocator::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 nowrap valign="top"><b>
typedef ArenaAllocatorType::size_type XalanElemCallTemplateAllocator::size_type
</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>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="XalanElemCallTemplateAllocator::XalanElemCallTemplateAllocator"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
XalanElemCallTemplateAllocator::XalanElemCallTemplateAllocator (
</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="classXalanElemCallTemplateAllocator.html#s2">size_type</a> <em>theBlockCount</em>&nbsp;)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Construct an instance that will allocate blocks of the specified size.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theBlockSize</em>
&nbsp;</td><td>
The block size. </td></tr>
</table>
</dl> </td>
</tr>
</table>
<a name="a1" doxytag="XalanElemCallTemplateAllocator::~XalanElemCallTemplateAllocator"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
XalanElemCallTemplateAllocator::~XalanElemCallTemplateAllocator (
</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>
<hr><h2>Member Function Documentation</h2>
<a name="a2" doxytag="XalanElemCallTemplateAllocator::create"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanElemCallTemplateAllocator.html#s0">data_type</a> * XalanElemCallTemplateAllocator::create (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp; <em>constructionContext</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="ExtensionNSHandler_8hpp.html#a1">Stylesheet</a> &amp; <em>stylesheetTree</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classAttributeListType.html">AttributeListType</a> &amp; <em>atts</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
int <em>lineNumber</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
int <em>columnNumber</em>&nbsp;)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Construct an instance.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>constructionContext</em>
&nbsp;</td><td>
context for construction of object </td></tr>
<tr><td valign=top><em>stylesheetTree</em>
&nbsp;</td><td>
stylesheet containing element </td></tr>
<tr><td valign=top><em>atts</em>
&nbsp;</td><td>
list of attributes for element </td></tr>
<tr><td valign=top><em>lineNumber</em>
&nbsp;</td><td>
line number in document </td></tr>
<tr><td valign=top><em>columnNumber</em>
&nbsp;</td><td>
column number in document
<p>
</td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
A pointer to the new instance. </dl> </td>
</tr>
</table>
<a name="a5" doxytag="XalanElemCallTemplateAllocator::getBlockCount"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classXalanElemCallTemplateAllocator.html#s2">size_type</a> XalanElemCallTemplateAllocator::getBlockCount (
</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>
Get the number of ArenaBlocks currently allocated.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
The number of blocks. </dl> </td>
</tr>
</table>
<a name="a6" doxytag="XalanElemCallTemplateAllocator::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 nowrap valign="top"><b>
<a class="el" href="classXalanElemCallTemplateAllocator.html#s2">size_type</a> XalanElemCallTemplateAllocator::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>
Get size of an <a class="el" href="classArenaBlock.html">ArenaBlock</a>, that is, the number of objects in each block.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
The size of the block </dl> </td>
</tr>
</table>
<a name="a3" doxytag="XalanElemCallTemplateAllocator::ownsObject"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
bool XalanElemCallTemplateAllocator::ownsObject (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanElemCallTemplateAllocator.html#s0">data_type</a> * <em>theObject</em>&nbsp;)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Determine if an object is owned by the allocator...
<p>
</td>
</tr>
</table>
<a name="a4" doxytag="XalanElemCallTemplateAllocator::reset"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void XalanElemCallTemplateAllocator::reset (
</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>
Delete all objects from the allocator.
<p>
</td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XalanElemCallTemplateAllocator_8hpp-source.html">XalanElemCallTemplateAllocator.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>