blob: 734873cdfc79b2060464c0a96cb74f280f295461 [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>XalanObjectCache Class Template Reference</h1><code>#include &lt;<a class="el" href="XalanObjectCache_8hpp-source.html">XalanObjectCache.hpp</a>&gt;</code>
<p>
Inheritance diagram for XalanObjectCache:<p><center><img src="classXalanObjectCache__inherit__graph.gif" border="0" usemap="#XalanObjectCache_inherit_map" alt="Inheritance graph"></center>
<map name="XalanObjectCache_inherit_map">
<area href="classXalanMemoryManagerObjectCacheDefault.html" shape="rect" coords="6,117,273,93">
<area href="classXalanObjectCacheDefault.html" shape="rect" coords="297,117,465,93">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for XalanObjectCache:<p><center><img src="classXalanObjectCache__coll__graph.gif" border="0" usemap="#XalanObjectCache_coll_map" alt="Collaboration graph"></center>
<map name="XalanObjectCache_coll_map">
<area href="classDefaultCacheResetFunctor.html" shape="rect" coords="7,120,260,96">
<area href="structDeleteFunctor.html" shape="rect" coords="284,120,465,96">
<area href="classstd_1_1unary__function.html" shape="rect" coords="256,43,493,19">
<area href="classDefaultCacheCreateFunctor.html" shape="rect" coords="489,120,750,96">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXalanObjectCache-members.html">List of all members.</a><h2>Public Types</h2>
<ul>
<li>typedef XalanVector&lt;ObjectType*&gt; <a class="el" href="classXalanObjectCache.html#s0">VectorType</a>
<li>typedef ObjectType <a class="el" href="classXalanObjectCache.html#s1">CacheObjectType</a>
</ul>
<h2>Public Methods</h2>
<ul>
<li><a class="el" href="classXalanObjectCache.html#a0">XalanObjectCache</a> (<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager, unsigned int initialListSize=0)
<li><a class="el" href="classXalanObjectCache.html#a1">~XalanObjectCache</a> ()
<li>ObjectType* <a class="el" href="classXalanObjectCache.html#a2">get</a> ()
<li>bool <a class="el" href="classXalanObjectCache.html#a3">release</a> (ObjectType *theInstance)
<li>void <a class="el" href="classXalanObjectCache.html#a4">reset</a> ()
</ul>
<h2>Public Attributes</h2>
<ul>
<li>CreateFunctorType <a class="el" href="classXalanObjectCache.html#m0">m_createFunctor</a>
<li>DeleteFunctorType <a class="el" href="classXalanObjectCache.html#m1">m_deleteFunctor</a>
<li>ResetFunctorType <a class="el" href="classXalanObjectCache.html#m2">m_resetFunctor</a>
</ul>
<h3>template&lt;class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor&lt;ObjectType&gt;, class DeleteFunctorType = DeleteFunctor&lt;ObjectType&gt;, class ResetFunctorType = DefaultCacheResetFunctor&lt;ObjectType&gt;&gt; class XalanObjectCache</h3>
<hr><h2>Member Typedef Documentation</h2>
<a name="s1" doxytag="XalanObjectCache::CacheObjectType"></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 CreateFunctorType = DefaultCacheCreateFunctor&lt;ObjectType&gt;, class DeleteFunctorType = DeleteFunctor&lt;ObjectType&gt;, class ResetFunctorType = DefaultCacheResetFunctor&lt;ObjectType&gt;&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
typedef ObjectType XalanObjectCache&lt;ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType&gt;::CacheObjectType
</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="XalanObjectCache::VectorType"></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 CreateFunctorType = DefaultCacheCreateFunctor&lt;ObjectType&gt;, class DeleteFunctorType = DeleteFunctor&lt;ObjectType&gt;, class ResetFunctorType = DefaultCacheResetFunctor&lt;ObjectType&gt;&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
typedef XalanVector&lt; ObjectType *&gt; XalanObjectCache&lt;ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType&gt;::VectorType&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>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="XalanObjectCache::XalanObjectCache"></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 CreateFunctorType = DefaultCacheCreateFunctor&lt;ObjectType&gt;, class DeleteFunctorType = DeleteFunctor&lt;ObjectType&gt;, class ResetFunctorType = DefaultCacheResetFunctor&lt;ObjectType&gt;&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
XalanObjectCache&lt;ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType&gt;::XalanObjectCache&lt;ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType&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>
unsigned int <em>initialListSize</em> = 0&nbsp;)<code> [explicit]</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="a1" doxytag="XalanObjectCache::~XalanObjectCache"></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 CreateFunctorType = DefaultCacheCreateFunctor&lt;ObjectType&gt;, class DeleteFunctorType = DeleteFunctor&lt;ObjectType&gt;, class ResetFunctorType = DefaultCacheResetFunctor&lt;ObjectType&gt;&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
XalanObjectCache&lt;ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType&gt;::~XalanObjectCache&lt;ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType&gt; (
</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="XalanObjectCache::get"></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 CreateFunctorType = DefaultCacheCreateFunctor&lt;ObjectType&gt;, class DeleteFunctorType = DeleteFunctor&lt;ObjectType&gt;, class ResetFunctorType = DefaultCacheResetFunctor&lt;ObjectType&gt;&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
ObjectType * XalanObjectCache&lt;ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType&gt;::get (
</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="a3" doxytag="XalanObjectCache::release"></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 CreateFunctorType = DefaultCacheCreateFunctor&lt;ObjectType&gt;, class DeleteFunctorType = DeleteFunctor&lt;ObjectType&gt;, class ResetFunctorType = DefaultCacheResetFunctor&lt;ObjectType&gt;&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
bool XalanObjectCache&lt;ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType&gt;::release (
</b></td>
<td valign="bottom"><b>
ObjectType * <em>theInstance</em>&nbsp;)
</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="XalanObjectCache::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 colspan="2"><b>
template&lt;class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor&lt;ObjectType&gt;, class DeleteFunctorType = DeleteFunctor&lt;ObjectType&gt;, class ResetFunctorType = DefaultCacheResetFunctor&lt;ObjectType&gt;&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
void XalanObjectCache&lt;ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType&gt;::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>
</td>
</tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="m0" doxytag="XalanObjectCache::m_createFunctor"></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 CreateFunctorType = DefaultCacheCreateFunctor&lt;ObjectType&gt;, class DeleteFunctorType = DeleteFunctor&lt;ObjectType&gt;, class ResetFunctorType = DefaultCacheResetFunctor&lt;ObjectType&gt;&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
CreateFunctorType XalanObjectCache&lt;ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType&gt;::m_createFunctor
</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="m1" doxytag="XalanObjectCache::m_deleteFunctor"></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 CreateFunctorType = DefaultCacheCreateFunctor&lt;ObjectType&gt;, class DeleteFunctorType = DeleteFunctor&lt;ObjectType&gt;, class ResetFunctorType = DefaultCacheResetFunctor&lt;ObjectType&gt;&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
DeleteFunctorType XalanObjectCache&lt;ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType&gt;::m_deleteFunctor
</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="m2" doxytag="XalanObjectCache::m_resetFunctor"></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 CreateFunctorType = DefaultCacheCreateFunctor&lt;ObjectType&gt;, class DeleteFunctorType = DeleteFunctor&lt;ObjectType&gt;, class ResetFunctorType = DefaultCacheResetFunctor&lt;ObjectType&gt;&gt; </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
ResetFunctorType XalanObjectCache&lt;ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType&gt;::m_resetFunctor
</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="XalanObjectCache_8hpp-source.html">XalanObjectCache.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>