blob: bf71e9f3cbde2c33b5491f5f74864bea4b0c2cbb [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>XalanElemTextAllocator Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="XalanElemTextAllocator" -->
<p><code>#include &lt;<a class="el" href="XalanElemTextAllocator_8hpp_source.html">XalanElemTextAllocator.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for XalanElemTextAllocator:</div>
<div class="dyncontent">
<div class="center"><img src="classXalanElemTextAllocator__coll__graph.png" border="0" usemap="#XalanElemTextAllocator_coll__map" alt="Collaboration graph"/></div>
<map name="XalanElemTextAllocator_coll__map" id="XalanElemTextAllocator_coll__map">
<area shape="rect" id="node2" href="classReusableArenaAllocator.html" title="ReusableArenaAllocator\&lt; data_type \&gt;" alt="" coords="233,491,500,520"/><area shape="rect" id="node4" href="classArenaAllocator.html" title="ArenaAllocator\&lt; data_type, ReusableArenaBlock\&lt; data_type \&gt; \&gt;" alt="" coords="145,411,588,440"/><area shape="rect" id="node6" href="classXalanList.html" title="XalanList\&lt; ReusableArenaBlock\&lt; data_type \&gt; * \&gt;" alt="" coords="5,315,352,344"/><area shape="rect" id="node8" href="structXalanList_1_1Node.html" title="XalanList\&lt; Type \&gt;::Node" alt="" coords="83,200,264,229"/><area shape="rect" id="node11" href="classReusableArenaBlock.html" title="ReusableArenaBlock\&lt; data_type \&gt;" alt="" coords="376,315,621,344"/><area shape="rect" id="node13" href="classArenaBlockBase.html" title="ArenaBlockBase\&lt; data_type, unsigned short \&gt;" alt="" coords="341,200,664,229"/><area shape="rect" id="node15" href="classXalanAllocator.html" title="XalanAllocator\&lt; data_type \&gt;" alt="" coords="324,101,532,131"/><area shape="rect" id="node17" href="classXalanDOMString.html" title="XalanDOMString" alt="" coords="556,101,684,131"/><area shape="rect" id="node19" href="classXalanVector.html" title="XalanVector\&lt; XalanDOMChar \&gt;" alt="" coords="507,5,733,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classXalanElemTextAllocator-members.html">List of all members.</a></p>
<h2><a name="pub-types"></a>
Public Types</h2>
<ul>
<li>typedef <a class="el" href="classElemText.html">ElemText</a> <a class="el" href="classXalanElemTextAllocator.html#a54d2eca477f2309ebc05ad328fb4f442">data_type</a>
<li>typedef <a class="el" href="classReusableArenaAllocator.html">ReusableArenaAllocator</a><br class="typebreak"/>
&lt; <a class="el" href="classElemText.html">data_type</a> &gt; <a class="el" href="classXalanElemTextAllocator.html#a2a7aea89df9beff386def23a035008a6">ArenaAllocatorType</a>
<li>typedef <br class="typebreak"/>
<a class="el" href="classReusableArenaAllocator.html#acf80af42a3e56e0f51dfc8b490944b8b">ArenaAllocatorType::size_type</a> <a class="el" href="classXalanElemTextAllocator.html#a46f0c4b973daf9edb973da8ce68dcbf3">size_type</a>
</ul>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="classXalanElemTextAllocator.html#a3bf9215d1642360f35c3c8f2497cfa29">XalanElemTextAllocator</a> (MemoryManager &amp;theManager, <a class="el" href="classXalanElemTextAllocator.html#a46f0c4b973daf9edb973da8ce68dcbf3">size_type</a> theBlockCount)
<dl class="el"><dd class="mdescRight">Construct an instance that will allocate blocks of the specified size. <a href="#a3bf9215d1642360f35c3c8f2497cfa29"></a><br/></dl><li><a class="el" href="classXalanElemTextAllocator.html#ad971dff18124c9280a5965140781961b">~XalanElemTextAllocator</a> ()
<li><a class="el" href="classElemText.html">data_type</a> * <a class="el" href="classXalanElemTextAllocator.html#aec124ec725dc4be0b8d3f8f5d631a3c5">create</a> (<a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;constructionContext, <a class="el" href="classStylesheet.html">Stylesheet</a> &amp;stylesheetTree, const <a class="el" href="XalanSourceTreeContentHandler_8hpp.html#ab5db67e0ad48b82d8a0476b99c377fdb">AttributeListType</a> &amp;atts, XalanFileLoc lineNumber, XalanFileLoc columnNumber)
<dl class="el"><dd class="mdescRight">Construct an instance. <a href="#aec124ec725dc4be0b8d3f8f5d631a3c5"></a><br/></dl><li>bool <a class="el" href="classXalanElemTextAllocator.html#a4e445e5df193c94c77734f57d78acb17">destroy</a> (<a class="el" href="classElemText.html">data_type</a> *theObject)
<dl class="el"><dd class="mdescRight">Destroy an instance previously created. <a href="#a4e445e5df193c94c77734f57d78acb17"></a><br/></dl><li>bool <a class="el" href="classXalanElemTextAllocator.html#aa162a3fe4626c664ec59b8a151a483b8">ownsObject</a> (const <a class="el" href="classElemText.html">data_type</a> *theObject)
<dl class="el"><dd class="mdescRight">Determine if an object is owned by the allocator... <a href="#aa162a3fe4626c664ec59b8a151a483b8"></a><br/></dl><li>void <a class="el" href="classXalanElemTextAllocator.html#a0777c33bb87c4033c94a8310f798d86d">reset</a> ()
<dl class="el"><dd class="mdescRight">Delete all objects from the allocator. <a href="#a0777c33bb87c4033c94a8310f798d86d"></a><br/></dl><li><a class="el" href="classXalanElemTextAllocator.html#a46f0c4b973daf9edb973da8ce68dcbf3">size_type</a> <a class="el" href="classXalanElemTextAllocator.html#a78a7f15442e042e2f009740411ed4c9b">getBlockCount</a> () const
<dl class="el"><dd class="mdescRight">Get the number of ArenaBlocks currently allocated. <a href="#a78a7f15442e042e2f009740411ed4c9b"></a><br/></dl><li><a class="el" href="classXalanElemTextAllocator.html#a46f0c4b973daf9edb973da8ce68dcbf3">size_type</a> <a class="el" href="classXalanElemTextAllocator.html#ad3fb8b6fbd2e1482e379fbd62442aef4">getBlockSize</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="#ad3fb8b6fbd2e1482e379fbd62442aef4"></a><br/></dl></ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Definition at line <a class="el" href="XalanElemTextAllocator_8hpp_source.html#l00041">41</a> of file <a class="el" href="XalanElemTextAllocator_8hpp_source.html">XalanElemTextAllocator.hpp</a>.</p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a2a7aea89df9beff386def23a035008a6"></a><!-- doxytag: member="XalanElemTextAllocator::ArenaAllocatorType" ref="a2a7aea89df9beff386def23a035008a6" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classReusableArenaAllocator.html">ReusableArenaAllocator</a>&lt;<a class="el" href="classElemText.html">data_type</a>&gt; <a class="el" href="classReusableArenaAllocator.html">XalanElemTextAllocator::ArenaAllocatorType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="XalanElemTextAllocator_8hpp_source.html#l00047">47</a> of file <a class="el" href="XalanElemTextAllocator_8hpp_source.html">XalanElemTextAllocator.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a54d2eca477f2309ebc05ad328fb4f442"></a><!-- doxytag: member="XalanElemTextAllocator::data_type" ref="a54d2eca477f2309ebc05ad328fb4f442" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classElemText.html">ElemText</a> <a class="el" href="classElemText.html">XalanElemTextAllocator::data_type</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="XalanElemTextAllocator_8hpp_source.html#l00045">45</a> of file <a class="el" href="XalanElemTextAllocator_8hpp_source.html">XalanElemTextAllocator.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a46f0c4b973daf9edb973da8ce68dcbf3"></a><!-- doxytag: member="XalanElemTextAllocator::size_type" ref="a46f0c4b973daf9edb973da8ce68dcbf3" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classReusableArenaAllocator.html#acf80af42a3e56e0f51dfc8b490944b8b">ArenaAllocatorType::size_type</a> <a class="el" href="classXalanElemTextAllocator.html#a46f0c4b973daf9edb973da8ce68dcbf3">XalanElemTextAllocator::size_type</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="XalanElemTextAllocator_8hpp_source.html#l00049">49</a> of file <a class="el" href="XalanElemTextAllocator_8hpp_source.html">XalanElemTextAllocator.hpp</a>.</p>
</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a3bf9215d1642360f35c3c8f2497cfa29"></a><!-- doxytag: member="XalanElemTextAllocator::XalanElemTextAllocator" ref="a3bf9215d1642360f35c3c8f2497cfa29" args="(MemoryManager &amp;theManager, size_type theBlockCount)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XalanElemTextAllocator::XalanElemTextAllocator </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="classXalanElemTextAllocator.html#a46f0c4b973daf9edb973da8ce68dcbf3">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="ad971dff18124c9280a5965140781961b"></a><!-- doxytag: member="XalanElemTextAllocator::~XalanElemTextAllocator" ref="ad971dff18124c9280a5965140781961b" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XalanElemTextAllocator::~XalanElemTextAllocator </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="aec124ec725dc4be0b8d3f8f5d631a3c5"></a><!-- doxytag: member="XalanElemTextAllocator::create" ref="aec124ec725dc4be0b8d3f8f5d631a3c5" args="(StylesheetConstructionContext &amp;constructionContext, Stylesheet &amp;stylesheetTree, const AttributeListType &amp;atts, XalanFileLoc lineNumber, XalanFileLoc columnNumber)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classElemText.html">data_type</a>* XalanElemTextAllocator::create </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classStylesheetConstructionContext.html">StylesheetConstructionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>constructionContext</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classStylesheet.html">Stylesheet</a> &amp;&nbsp;</td>
<td class="paramname"> <em>stylesheetTree</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="XalanSourceTreeContentHandler_8hpp.html#ab5db67e0ad48b82d8a0476b99c377fdb">AttributeListType</a> &amp;&nbsp;</td>
<td class="paramname"> <em>atts</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XalanFileLoc&nbsp;</td>
<td class="paramname"> <em>lineNumber</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XalanFileLoc&nbsp;</td>
<td class="paramname"> <em>columnNumber</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. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>constructionContext</em>&nbsp;</td><td>The current construction context </td></tr>
<tr><td valign="top"></td><td valign="top"><em>stylesheetTree</em>&nbsp;</td><td>The stylesheet containing element </td></tr>
<tr><td valign="top"></td><td valign="top"><em>atts</em>&nbsp;</td><td>The list of attributes for the element </td></tr>
<tr><td valign="top"></td><td valign="top"><em>lineNumber</em>&nbsp;</td><td>The line number in the document </td></tr>
<tr><td valign="top"></td><td valign="top"><em>columnNumber</em>&nbsp;</td><td>The column number in the document</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the new instance. </dd></dl>
</div>
</div>
<a class="anchor" id="a4e445e5df193c94c77734f57d78acb17"></a><!-- doxytag: member="XalanElemTextAllocator::destroy" ref="a4e445e5df193c94c77734f57d78acb17" args="(data_type *theObject)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool XalanElemTextAllocator::destroy </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classElemText.html">data_type</a> *&nbsp;</td>
<td class="paramname"> <em>theObject</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Destroy an instance previously created. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theObject</em>&nbsp;</td><td>A pointer to the instance to destroy.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the instance was destroyed, false if not. </dd></dl>
<p>Definition at line <a class="el" href="XalanElemTextAllocator_8hpp_source.html#l00089">89</a> of file <a class="el" href="XalanElemTextAllocator_8hpp_source.html">XalanElemTextAllocator.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a78a7f15442e042e2f009740411ed4c9b"></a><!-- doxytag: member="XalanElemTextAllocator::getBlockCount" ref="a78a7f15442e042e2f009740411ed4c9b" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXalanElemTextAllocator.html#a46f0c4b973daf9edb973da8ce68dcbf3">size_type</a> XalanElemTextAllocator::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 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="XalanElemTextAllocator_8hpp_source.html#l00118">118</a> of file <a class="el" href="XalanElemTextAllocator_8hpp_source.html">XalanElemTextAllocator.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="ad3fb8b6fbd2e1482e379fbd62442aef4"></a><!-- doxytag: member="XalanElemTextAllocator::getBlockSize" ref="ad3fb8b6fbd2e1482e379fbd62442aef4" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXalanElemTextAllocator.html#a46f0c4b973daf9edb973da8ce68dcbf3">size_type</a> XalanElemTextAllocator::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 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="XalanElemTextAllocator_8hpp_source.html#l00130">130</a> of file <a class="el" href="XalanElemTextAllocator_8hpp_source.html">XalanElemTextAllocator.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="aa162a3fe4626c664ec59b8a151a483b8"></a><!-- doxytag: member="XalanElemTextAllocator::ownsObject" ref="aa162a3fe4626c664ec59b8a151a483b8" args="(const data_type *theObject)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool XalanElemTextAllocator::ownsObject </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classElemText.html">data_type</a> *&nbsp;</td>
<td class="paramname"> <em>theObject</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Determine if an object is owned by the allocator... </p>
<p>Definition at line <a class="el" href="XalanElemTextAllocator_8hpp_source.html#l00098">98</a> of file <a class="el" href="XalanElemTextAllocator_8hpp_source.html">XalanElemTextAllocator.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a0777c33bb87c4033c94a8310f798d86d"></a><!-- doxytag: member="XalanElemTextAllocator::reset" ref="a0777c33bb87c4033c94a8310f798d86d" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void XalanElemTextAllocator::reset </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Delete all objects from the allocator. </p>
<p>Definition at line <a class="el" href="XalanElemTextAllocator_8hpp_source.html#l00107">107</a> of file <a class="el" href="XalanElemTextAllocator_8hpp_source.html">XalanElemTextAllocator.hpp</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XalanElemTextAllocator_8hpp_source.html">XalanElemTextAllocator.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>