blob: 1e392b1d7c865bde8e2934b95d7c25c3e6a3c6c9 [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> &#124;
<a href="#pub-attribs">Public Attributes</a> </div>
<div class="headertitle">
<h1>XalanObjectCache&lt; ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType &gt; Class Template Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="XalanObjectCache" -->
<p><code>#include &lt;<a class="el" href="XalanObjectCache_8hpp_source.html">XalanObjectCache.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for XalanObjectCache&lt; ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classXalanObjectCache__coll__graph.png" border="0" usemap="#XalanObjectCache_3_01ObjectType_00_01CreateFunctorType_00_01DeleteFunctorType_00_01ResetFunctorType_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="XalanObjectCache_3_01ObjectType_00_01CreateFunctorType_00_01DeleteFunctorType_00_01ResetFunctorType_01_4_coll__map" id="XalanObjectCache_3_01ObjectType_00_01CreateFunctorType_00_01DeleteFunctorType_00_01ResetFunctorType_01_4_coll__map">
<area shape="rect" id="node6" href="classXalanVector.html" title="XalanVector\&lt; ObjectType * \&gt;" alt="" coords="328,5,539,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classXalanObjectCache-members.html">List of all members.</a></p>
<h2><a name="pub-types"></a>
Public Types</h2>
<ul>
<li>typedef <a class="el" href="classXalanVector.html">XalanVector</a>&lt; ObjectType * &gt; <a class="el" href="classXalanObjectCache.html#a511bff06b121a786ba43105f3962e75c">VectorType</a>
<li>typedef ObjectType <a class="el" href="classXalanObjectCache.html#ae1b61daad02d8d218b81601f280a3731">CacheObjectType</a>
</ul>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="classXalanObjectCache.html#ac733873b8d464488cd824b5f5d4c17e5">XalanObjectCache</a> (MemoryManager &amp;theManager, XalanSize_t initialListSize=0)
<li><a class="el" href="classXalanObjectCache.html#a3186db8259237aba3f9886801d626219">~XalanObjectCache</a> ()
<li>ObjectType * <a class="el" href="classXalanObjectCache.html#a45815ac83b0e05ec0c3e802881e799a6">get</a> ()
<li>bool <a class="el" href="classXalanObjectCache.html#aa2b46332250e28836725edd19fc87258">release</a> (ObjectType *theInstance)
<li>void <a class="el" href="classXalanObjectCache.html#a28b2b88175e90561e19f974867ebd879">reset</a> ()
</ul>
<h2><a name="pub-attribs"></a>
Public Attributes</h2>
<ul>
<li>CreateFunctorType <a class="el" href="classXalanObjectCache.html#a9dfa9817e4c7887f45f39e3db1b3fae0">m_createFunctor</a>
<li>DeleteFunctorType <a class="el" href="classXalanObjectCache.html#ae7a8178b6314f923ebebaf7c16360f03">m_deleteFunctor</a>
<li>ResetFunctorType <a class="el" href="classXalanObjectCache.html#a0ccd9eb52b625b70afea72ac976c1398">m_resetFunctor</a>
</ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor&lt;ObjectType&gt;, class DeleteFunctorType = DeleteFunctor&lt;ObjectType&gt;, class ResetFunctorType = DefaultCacheResetFunctor&lt;ObjectType&gt;&gt;<br/>
class XalanObjectCache&lt; ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType &gt;</h3>
<p>Definition at line <a class="el" href="XalanObjectCache_8hpp_source.html#l00267">267</a> of file <a class="el" href="XalanObjectCache_8hpp_source.html">XalanObjectCache.hpp</a>.</p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="ae1b61daad02d8d218b81601f280a3731"></a><!-- doxytag: member="XalanObjectCache::CacheObjectType" ref="ae1b61daad02d8d218b81601f280a3731" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor&lt;ObjectType&gt;, class DeleteFunctorType = DeleteFunctor&lt;ObjectType&gt;, class ResetFunctorType = DefaultCacheResetFunctor&lt;ObjectType&gt;&gt; </div>
<table class="memname">
<tr>
<td class="memname">typedef ObjectType <a class="el" href="classXalanObjectCache.html">XalanObjectCache</a>&lt; ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType &gt;::<a class="el" href="classXalanObjectCache.html#ae1b61daad02d8d218b81601f280a3731">CacheObjectType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="XalanObjectCache_8hpp_source.html#l00273">273</a> of file <a class="el" href="XalanObjectCache_8hpp_source.html">XalanObjectCache.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a511bff06b121a786ba43105f3962e75c"></a><!-- doxytag: member="XalanObjectCache::VectorType" ref="a511bff06b121a786ba43105f3962e75c" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor&lt;ObjectType&gt;, class DeleteFunctorType = DeleteFunctor&lt;ObjectType&gt;, class ResetFunctorType = DefaultCacheResetFunctor&lt;ObjectType&gt;&gt; </div>
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classXalanVector.html">XalanVector</a>&lt;ObjectType*&gt; <a class="el" href="classXalanObjectCache.html">XalanObjectCache</a>&lt; ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType &gt;::<a class="el" href="classXalanVector.html">VectorType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="XalanObjectCache_8hpp_source.html#l00271">271</a> of file <a class="el" href="XalanObjectCache_8hpp_source.html">XalanObjectCache.hpp</a>.</p>
</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ac733873b8d464488cd824b5f5d4c17e5"></a><!-- doxytag: member="XalanObjectCache::XalanObjectCache" ref="ac733873b8d464488cd824b5f5d4c17e5" args="(MemoryManager &amp;theManager, XalanSize_t initialListSize=0)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor&lt;ObjectType&gt;, class DeleteFunctorType = DeleteFunctor&lt;ObjectType&gt;, class ResetFunctorType = DefaultCacheResetFunctor&lt;ObjectType&gt;&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXalanObjectCache.html">XalanObjectCache</a>&lt; ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType &gt;::<a class="el" href="classXalanObjectCache.html">XalanObjectCache</a> </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">XalanSize_t&nbsp;</td>
<td class="paramname"> <em>initialListSize</em> = <code>0</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, explicit]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="XalanObjectCache_8hpp_source.html#l00276">276</a> of file <a class="el" href="XalanObjectCache_8hpp_source.html">XalanObjectCache.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a3186db8259237aba3f9886801d626219"></a><!-- doxytag: member="XalanObjectCache::~XalanObjectCache" ref="a3186db8259237aba3f9886801d626219" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor&lt;ObjectType&gt;, class DeleteFunctorType = DeleteFunctor&lt;ObjectType&gt;, class ResetFunctorType = DefaultCacheResetFunctor&lt;ObjectType&gt;&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXalanObjectCache.html">XalanObjectCache</a>&lt; ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType &gt;::~<a class="el" href="classXalanObjectCache.html">XalanObjectCache</a> </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="XalanObjectCache_8hpp_source.html#l00284">284</a> of file <a class="el" href="XalanObjectCache_8hpp_source.html">XalanObjectCache.hpp</a>.</p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a45815ac83b0e05ec0c3e802881e799a6"></a><!-- doxytag: member="XalanObjectCache::get" ref="a45815ac83b0e05ec0c3e802881e799a6" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor&lt;ObjectType&gt;, class DeleteFunctorType = DeleteFunctor&lt;ObjectType&gt;, class ResetFunctorType = DefaultCacheResetFunctor&lt;ObjectType&gt;&gt; </div>
<table class="memname">
<tr>
<td class="memname">ObjectType* <a class="el" href="classXalanObjectCache.html">XalanObjectCache</a>&lt; ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType &gt;::get </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="XalanObjectCache_8hpp_source.html#l00299">299</a> of file <a class="el" href="XalanObjectCache_8hpp_source.html">XalanObjectCache.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="aa2b46332250e28836725edd19fc87258"></a><!-- doxytag: member="XalanObjectCache::release" ref="aa2b46332250e28836725edd19fc87258" args="(ObjectType *theInstance)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor&lt;ObjectType&gt;, class DeleteFunctorType = DeleteFunctor&lt;ObjectType&gt;, class ResetFunctorType = DefaultCacheResetFunctor&lt;ObjectType&gt;&gt; </div>
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classXalanObjectCache.html">XalanObjectCache</a>&lt; ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType &gt;::release </td>
<td>(</td>
<td class="paramtype">ObjectType *&nbsp;</td>
<td class="paramname"> <em>theInstance</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="XalanObjectCache_8hpp_source.html#l00318">318</a> of file <a class="el" href="XalanObjectCache_8hpp_source.html">XalanObjectCache.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a28b2b88175e90561e19f974867ebd879"></a><!-- doxytag: member="XalanObjectCache::reset" ref="a28b2b88175e90561e19f974867ebd879" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor&lt;ObjectType&gt;, class DeleteFunctorType = DeleteFunctor&lt;ObjectType&gt;, class ResetFunctorType = DefaultCacheResetFunctor&lt;ObjectType&gt;&gt; </div>
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classXalanObjectCache.html">XalanObjectCache</a>&lt; ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType &gt;::reset </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="XalanObjectCache_8hpp_source.html#l00328">328</a> of file <a class="el" href="XalanObjectCache_8hpp_source.html">XalanObjectCache.hpp</a>.</p>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a9dfa9817e4c7887f45f39e3db1b3fae0"></a><!-- doxytag: member="XalanObjectCache::m_createFunctor" ref="a9dfa9817e4c7887f45f39e3db1b3fae0" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor&lt;ObjectType&gt;, class DeleteFunctorType = DeleteFunctor&lt;ObjectType&gt;, class ResetFunctorType = DefaultCacheResetFunctor&lt;ObjectType&gt;&gt; </div>
<table class="memname">
<tr>
<td class="memname">CreateFunctorType <a class="el" href="classXalanObjectCache.html">XalanObjectCache</a>&lt; ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType &gt;::<a class="el" href="classXalanObjectCache.html#a9dfa9817e4c7887f45f39e3db1b3fae0">m_createFunctor</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="XalanObjectCache_8hpp_source.html#l00333">333</a> of file <a class="el" href="XalanObjectCache_8hpp_source.html">XalanObjectCache.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="ae7a8178b6314f923ebebaf7c16360f03"></a><!-- doxytag: member="XalanObjectCache::m_deleteFunctor" ref="ae7a8178b6314f923ebebaf7c16360f03" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor&lt;ObjectType&gt;, class DeleteFunctorType = DeleteFunctor&lt;ObjectType&gt;, class ResetFunctorType = DefaultCacheResetFunctor&lt;ObjectType&gt;&gt; </div>
<table class="memname">
<tr>
<td class="memname">DeleteFunctorType <a class="el" href="classXalanObjectCache.html">XalanObjectCache</a>&lt; ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType &gt;::<a class="el" href="classXalanObjectCache.html#ae7a8178b6314f923ebebaf7c16360f03">m_deleteFunctor</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="XalanObjectCache_8hpp_source.html#l00335">335</a> of file <a class="el" href="XalanObjectCache_8hpp_source.html">XalanObjectCache.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a0ccd9eb52b625b70afea72ac976c1398"></a><!-- doxytag: member="XalanObjectCache::m_resetFunctor" ref="a0ccd9eb52b625b70afea72ac976c1398" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor&lt;ObjectType&gt;, class DeleteFunctorType = DeleteFunctor&lt;ObjectType&gt;, class ResetFunctorType = DefaultCacheResetFunctor&lt;ObjectType&gt;&gt; </div>
<table class="memname">
<tr>
<td class="memname">ResetFunctorType <a class="el" href="classXalanObjectCache.html">XalanObjectCache</a>&lt; ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType &gt;::<a class="el" href="classXalanObjectCache.html#a0ccd9eb52b625b70afea72ac976c1398">m_resetFunctor</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="XalanObjectCache_8hpp_source.html#l00337">337</a> of file <a class="el" href="XalanObjectCache_8hpp_source.html">XalanObjectCache.hpp</a>.</p>
</div>
</div>
<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></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>