blob: 0b4e556217ca0bb2dc62cda9bc70628a2900c762 [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>XalanDOMStringAllocator Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="XalanDOMStringAllocator" -->
<p><code>#include &lt;<a class="el" href="XalanDOMStringAllocator_8hpp_source.html">XalanDOMStringAllocator.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for XalanDOMStringAllocator:</div>
<div class="dyncontent">
<div class="center"><img src="classXalanDOMStringAllocator__coll__graph.png" border="0" usemap="#XalanDOMStringAllocator_coll__map" alt="Collaboration graph"/></div>
<map name="XalanDOMStringAllocator_coll__map" id="XalanDOMStringAllocator_coll__map">
<area shape="rect" id="node2" href="classArenaAllocator.html" title="ArenaAllocator\&lt; data_type \&gt;" alt="" coords="4176,1285,4387,1315"/><area shape="rect" id="node4" href="classArenaBlock.html" title="ArenaBlock\&lt; data_type \&gt;" alt="" coords="3857,281,4044,311"/><area shape="rect" id="node6" href="classArenaBlockBase.html" title="ArenaBlockBase\&lt; data_type, size_t \&gt;" alt="" coords="3399,203,3663,232"/><area shape="rect" id="node8" href="classElemValueOf.html" title="ElemValueOf" alt="" coords="2987,320,3088,349"/><area shape="rect" id="node10" href="classElemTemplateElement.html" title="ElemTemplateElement" alt="" coords="2399,693,2564,723"/><area shape="rect" id="node33" href="classElemTextLiteral.html" title="ElemTextLiteral" alt="" coords="2979,695,3096,724"/><area shape="rect" id="node51" href="classElemTemplate.html" title="ElemTemplate" alt="" coords="2981,641,3093,671"/><area shape="rect" id="node103" href="classStylesheetRoot.html" title="This acts as the stylesheet root of the stylesheet tree, and holds values that are shared by all styl..." alt="" coords="3892,472,4009,501"/><area shape="rect" id="node12" href="classPrefixResolver.html" title="This class defines an interface for classes that resolve namespace prefixes to their URIs..." alt="" coords="2037,764,2147,793"/><area shape="rect" id="node74" href="classStylesheet.html" title="This class represents the base stylesheet or an &quot;import&quot; stylesheet." alt="" coords="3485,921,3576,951"/><area shape="rect" id="node14" href="classNamespacesHandler.html" title="NamespacesHandler" alt="" coords="2015,891,2169,920"/><area shape="rect" id="node16" href="classXalanVector.html" title="XalanVector\&lt; Namespace \&gt;" alt="" coords="1431,811,1636,840"/><area shape="rect" id="node18" href="classXalanMap.html" title="XalanMap\&lt; const XalanDOMString *, const XalanDOMString * \&gt;" alt="" coords="1316,971,1751,1000"/><area shape="rect" id="node20" href="classXalanVector.html" title="XalanVector\&lt; BucketType, ConstructWithMemoryManagerTraits\&lt; BucketType \&gt; \&gt;" alt="" coords="433,1163,977,1192"/><area shape="rect" id="node77" href="classXalanMap.html" title="XalanMap\&lt; XalanDOMString, ExtensionNSHandler * \&gt;" alt="" coords="1348,1239,1719,1268"/><area shape="rect" id="node91" href="classXalanMap.html" title="XalanMap\&lt; XalanDOMString, PatternTableVectorType \&gt;" alt="" coords="1344,1049,1723,1079"/><area shape="rect" id="node106" href="classXalanMap.html" title="XalanMap\&lt; const XalanQName *, AttributeSetVectorType \&gt;" alt="" coords="1329,1505,1737,1535"/><area shape="rect" id="node117" href="classXalanMap.html" title="XalanMap\&lt; XalanQNameByReference, const ElemTemplate * \&gt;" alt="" coords="1319,1440,1748,1469"/><area shape="rect" id="node22" href="structXalanMapKeyTraits_3_01const_01XalanDOMString_01_5_01_4.html" title="XalanMapKeyTraits\&lt; const XalanDOMString * \&gt;" alt="" coords="541,823,869,852"/><area shape="rect" id="node24" href="classXalanList.html" title="XalanList\&lt; Entry \&gt;" alt="" coords="633,1408,777,1437"/><area shape="rect" id="node26" href="structXalanList_1_1Node.html" title="XalanList\&lt; Type \&gt;::Node" alt="" coords="44,1457,225,1487"/><area shape="rect" id="node137" href="classXalanList.html" title="XalanList\&lt; ArenaBlock\&lt; data_type \&gt; * \&gt;" alt="" coords="1003,1699,1291,1728"/><area shape="rect" id="node29" href="classXalanVector.html" title="XalanVector\&lt; const XalanDOMString * \&gt;" alt="" coords="1391,864,1676,893"/><area shape="rect" id="node31" href="classXalanVector.html" title="XalanVector\&lt; NamespaceExtended \&gt;" alt="" coords="1400,917,1667,947"/><area shape="rect" id="node36" href="classXalanQNameByReference.html" title="XalanQNameByReference" alt="" coords="1999,567,2185,596"/><area shape="rect" id="node38" href="classXalanQName.html" title="Class to represent a qualified name." alt="" coords="1480,501,1587,531"/><area shape="rect" id="node40" href="classXalanDOMString.html" title="XalanDOMString" alt="" coords="641,501,769,531"/><area shape="rect" id="node45" href="classElemTemplateElement_1_1LocatorProxy.html" title="ElemTemplateElement::LocatorProxy" alt="" coords="1405,693,1661,723"/><area shape="rect" id="node54" href="classXPath.html" title="XPath" alt="" coords="2061,340,2123,369"/><area shape="rect" id="node62" href="classXPathExpression.html" title="XPathExpression" alt="" coords="1468,109,1599,139"/><area shape="rect" id="node129" href="classXalanNamespace.html" title="XalanNamespace" alt="" coords="1465,757,1601,787"/><area shape="rect" id="node42" href="classXalanVector.html" title="XalanVector\&lt; XalanDOMChar \&gt;" alt="" coords="21,501,248,531"/><area shape="rect" id="node47" href="classXalanLocator.html" title="This class defines a base class for Locator derivations in Xalan." alt="" coords="652,703,759,732"/><area shape="rect" id="node56" href="classXPathFunctionTable.html" title="Class defines a table of functions that can be called in XPath expresions." alt="" coords="1460,324,1607,353"/><area shape="rect" id="node58" href="classFunction.html" title="Function" alt="" coords="668,324,743,353"/><area shape="rect" id="node60" href="structXPathFunctionTable_1_1FunctionNameTableEntry.html" title="XPathFunctionTable::FunctionNameTableEntry" alt="" coords="548,175,863,204"/><area shape="rect" id="node64" href="classXalanVector.html" title="XalanVector\&lt; XToken \&gt;" alt="" coords="617,5,793,35"/><area shape="rect" id="node66" href="classXalanVector.html" title="XalanVector\&lt; int \&gt;" alt="" coords="632,59,779,88"/><area shape="rect" id="node68" href="classXalanVector.html" title="XalanVector\&lt; double \&gt;" alt="" coords="619,112,792,141"/><area shape="rect" id="node81" href="structXalanMapKeyTraits_3_01XalanDOMString_01_4.html" title="XalanMapKeyTraits\&lt; XalanDOMString \&gt;" alt="" coords="567,968,844,997"/><area shape="rect" id="node84" href="classXalanVector.html" title="XalanVector\&lt; Stylesheet * \&gt;" alt="" coords="2933,1101,3141,1131"/><area shape="rect" id="node86" href="classXalanVector.html" title="XalanVector\&lt; ElemVariable * \&gt;" alt="" coords="2925,1155,3149,1184"/><area shape="rect" id="node89" href="classXalanVector.html" title="XalanVector\&lt; XalanSpaceNodeTester \&gt;" alt="" coords="2897,1261,3177,1291"/><area shape="rect" id="node96" href="classXalanVector.html" title="XalanVector\&lt; Type, ConstructionTraits \&gt;" alt="" coords="2896,864,3179,893"/><area shape="rect" id="node98" href="classXalanVector.html" title="XalanVector\&lt; XalanDOMString \&gt;" alt="" coords="2920,535,3155,564"/><area shape="rect" id="node101" href="classXalanVector.html" title="XalanVector\&lt; ElemDecimalFormat * \&gt;" alt="" coords="2903,588,3172,617"/><area shape="rect" id="node108" href="structXalanMapKeyTraits_3_01const_01XalanQName_01_5_01_4.html" title="XalanMapKeyTraits\&lt; const XalanQName * \&gt;" alt="" coords="551,1648,860,1677"/><area shape="rect" id="node114" href="classXalanVector.html" title="XalanVector\&lt; const XalanQName * \&gt;" alt="" coords="3397,337,3664,367"/><area shape="rect" id="node120" href="structXalanMapKeyTraits_3_01XalanQNameByReference_01_4.html" title="XalanMapKeyTraits\&lt; XalanQNameByReference \&gt;" alt="" coords="536,1520,875,1549"/><area shape="rect" id="node122" href="structXalanMapKeyTraits_3_01XalanQName_01_4.html" title="XalanMapKeyTraits\&lt; XalanQName \&gt;" alt="" coords="5,1520,264,1549"/><area shape="rect" id="node125" href="classXalanDeque.html" title="Xalan implementation of deque." alt="" coords="2589,927,2872,956"/><area shape="rect" id="node127" href="classXalanVector.html" title="XalanVector\&lt; BlockType * \&gt;" alt="" coords="1991,824,2193,853"/><area shape="rect" id="node132" href="classXalanVector.html" title="XalanVector\&lt; KeyDeclaration \&gt;" alt="" coords="2924,1208,3151,1237"/><area shape="rect" id="node135" href="classXalanAllocator.html" title="XalanAllocator\&lt; data_type \&gt;" alt="" coords="2933,163,3141,192"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classXalanDOMStringAllocator-members.html">List of all members.</a></p>
<h2><a name="pub-types"></a>
Public Types</h2>
<ul>
<li>enum { <a class="el" href="classXalanDOMStringAllocator.html#a57975f8567428ad2a24186704295d2c1a9717e4958d884c8ca8b2ebef828eab24">eDefaultBlockSize</a> = 32
}
<li>typedef <a class="el" href="classXalanDOMString.html">XalanDOMString</a> <a class="el" href="classXalanDOMStringAllocator.html#ac50cb4d93f7678b910b16c600e33bef5">data_type</a>
<li>typedef <a class="el" href="classXalanDOMString.html#ab8b91a47f3335d6c54c49029dd1074f2">data_type::size_type</a> <a class="el" href="classXalanDOMStringAllocator.html#a26b3d674d27f76036cc30ad2d5e25747">data_type_size_type</a>
<li>typedef <a class="el" href="classArenaAllocator.html">ArenaAllocator</a>&lt; <a class="el" href="classXalanDOMString.html">data_type</a> &gt; <a class="el" href="classXalanDOMStringAllocator.html#a302eb31b0aa4ce322116c0274b4c7fb0">ArenaAllocatorType</a>
<li>typedef <br class="typebreak"/>
<a class="el" href="classArenaAllocator.html#a68eaf7d03e3a4a9f35c035481f0acd67">ArenaAllocatorType::size_type</a> <a class="el" href="classXalanDOMStringAllocator.html#a9e22d92647c1b90f1ee86626617f77f8">size_type</a>
</ul>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="classXalanDOMStringAllocator.html#a0c47fcacb8c04f692d8ffa38cf74c8c6">XalanDOMStringAllocator</a> (MemoryManager &amp;theManager, <a class="el" href="classXalanDOMStringAllocator.html#a9e22d92647c1b90f1ee86626617f77f8">size_type</a> theBlockCount)
<dl class="el"><dd class="mdescRight">Construct an instance that will allocate in blocks of the specified size. <a href="#a0c47fcacb8c04f692d8ffa38cf74c8c6"></a><br/></dl><li><a class="el" href="classXalanDOMStringAllocator.html#a492a0054690f077f2c5002293d1f0fd6">~XalanDOMStringAllocator</a> ()
<li><a class="el" href="classXalanDOMString.html">data_type</a> * <a class="el" href="classXalanDOMStringAllocator.html#a82df6c8b2aa008c96fb09d26f75ef138">create</a> ()
<dl class="el"><dd class="mdescRight">Create a <a class="el" href="classXalanDOMString.html">XalanDOMString</a> object. <a href="#a82df6c8b2aa008c96fb09d26f75ef138"></a><br/></dl><li><a class="el" href="classXalanDOMString.html">data_type</a> * <a class="el" href="classXalanDOMStringAllocator.html#a1d5ffc41f54ea1baae8f7bfa9dd6160b">create</a> (const char *theString, <a class="el" href="classXalanDOMStringAllocator.html#a26b3d674d27f76036cc30ad2d5e25747">data_type_size_type</a> theCount=<a class="el" href="classXalanDOMStringAllocator.html#a26b3d674d27f76036cc30ad2d5e25747">data_type_size_type</a>(data_type::npos))
<dl class="el"><dd class="mdescRight">Create a <a class="el" href="classXalanDOMString.html">XalanDOMString</a> object. <a href="#a1d5ffc41f54ea1baae8f7bfa9dd6160b"></a><br/></dl><li><a class="el" href="classXalanDOMString.html">data_type</a> * <a class="el" href="classXalanDOMStringAllocator.html#aacd6df2d937bdb992b6d29e8a8ad57f5">create</a> (const <a class="el" href="classXalanDOMString.html">data_type</a> &amp;theSource, <a class="el" href="classXalanDOMStringAllocator.html#a26b3d674d27f76036cc30ad2d5e25747">data_type_size_type</a> theStartPosition=0, <a class="el" href="classXalanDOMStringAllocator.html#a26b3d674d27f76036cc30ad2d5e25747">data_type_size_type</a> theCount=<a class="el" href="classXalanDOMStringAllocator.html#a26b3d674d27f76036cc30ad2d5e25747">data_type_size_type</a>(data_type::npos))
<dl class="el"><dd class="mdescRight">Copy constructor. <a href="#aacd6df2d937bdb992b6d29e8a8ad57f5"></a><br/></dl><li><a class="el" href="classXalanDOMString.html">data_type</a> * <a class="el" href="classXalanDOMStringAllocator.html#aa3d6debe5a3246cda48305a64f7e98b4">create</a> (const XalanDOMChar *theString, <a class="el" href="classXalanDOMStringAllocator.html#a26b3d674d27f76036cc30ad2d5e25747">data_type_size_type</a> theCount=<a class="el" href="classXalanDOMStringAllocator.html#a26b3d674d27f76036cc30ad2d5e25747">data_type_size_type</a>(data_type::npos))
<dl class="el"><dd class="mdescRight">Create a <a class="el" href="classXalanDOMString.html">XalanDOMString</a> object. <a href="#aa3d6debe5a3246cda48305a64f7e98b4"></a><br/></dl><li><a class="el" href="classXalanDOMString.html">data_type</a> * <a class="el" href="classXalanDOMStringAllocator.html#a445d09fec50754c05ec0f53675f784f0">create</a> (<a class="el" href="classXalanDOMStringAllocator.html#a26b3d674d27f76036cc30ad2d5e25747">data_type_size_type</a> theCount, XalanDOMChar theChar)
<dl class="el"><dd class="mdescRight">Create a <a class="el" href="classXalanDOMString.html">XalanDOMString</a> object. <a href="#a445d09fec50754c05ec0f53675f784f0"></a><br/></dl><li>bool <a class="el" href="classXalanDOMStringAllocator.html#ae94f1c5c3de7ee6e0d1dc8049c3c1e75">ownsObject</a> (const <a class="el" href="classXalanDOMString.html">data_type</a> *theObject)
<dl class="el"><dd class="mdescRight">Determine if an object is owned by the allocator... <a href="#ae94f1c5c3de7ee6e0d1dc8049c3c1e75"></a><br/></dl><li>void <a class="el" href="classXalanDOMStringAllocator.html#a2e3d871060705716bc600f068ec529b4">reset</a> ()
<dl class="el"><dd class="mdescRight">Delete all instance objects from allocator. <a href="#a2e3d871060705716bc600f068ec529b4"></a><br/></dl><li><a class="el" href="classXalanDOMStringAllocator.html#a9e22d92647c1b90f1ee86626617f77f8">size_type</a> <a class="el" href="classXalanDOMStringAllocator.html#a7c7054c34035312b195e7feaf02d74f1">getBlockCount</a> () const
<dl class="el"><dd class="mdescRight">Get the number of ArenaBlocks currently allocated. <a href="#a7c7054c34035312b195e7feaf02d74f1"></a><br/></dl><li><a class="el" href="classXalanDOMStringAllocator.html#a9e22d92647c1b90f1ee86626617f77f8">size_type</a> <a class="el" href="classXalanDOMStringAllocator.html#a8a0ac0b43711e3a1754f28f8fbbfcb7e">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="#a8a0ac0b43711e3a1754f28f8fbbfcb7e"></a><br/></dl><li>MemoryManager &amp; <a class="el" href="classXalanDOMStringAllocator.html#ab01911c2c4655678503f63f75bd367aa">getMemoryManager</a> ()
<dl class="el"><dd class="mdescRight">Get a reference to the MemoryManager instance for this instance. <a href="#ab01911c2c4655678503f63f75bd367aa"></a><br/></dl><li>const MemoryManager &amp; <a class="el" href="classXalanDOMStringAllocator.html#aa4d23b2bb91ccbf7219d013af52a2d87">getMemoryManager</a> () const
<dl class="el"><dd class="mdescRight">Get a reference to the MemoryManager instance for this instance. <a href="#aa4d23b2bb91ccbf7219d013af52a2d87"></a><br/></dl></ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Definition at line <a class="el" href="XalanDOMStringAllocator_8hpp_source.html#l00041">41</a> of file <a class="el" href="XalanDOMStringAllocator_8hpp_source.html">XalanDOMStringAllocator.hpp</a>.</p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a302eb31b0aa4ce322116c0274b4c7fb0"></a><!-- doxytag: member="XalanDOMStringAllocator::ArenaAllocatorType" ref="a302eb31b0aa4ce322116c0274b4c7fb0" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classArenaAllocator.html">ArenaAllocator</a>&lt;<a class="el" href="classXalanDOMString.html">data_type</a>&gt; <a class="el" href="classArenaAllocator.html">XalanDOMStringAllocator::ArenaAllocatorType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="XalanDOMStringAllocator_8hpp_source.html#l00054">54</a> of file <a class="el" href="XalanDOMStringAllocator_8hpp_source.html">XalanDOMStringAllocator.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="ac50cb4d93f7678b910b16c600e33bef5"></a><!-- doxytag: member="XalanDOMStringAllocator::data_type" ref="ac50cb4d93f7678b910b16c600e33bef5" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classXalanDOMString.html">XalanDOMString</a> <a class="el" href="classXalanDOMString.html">XalanDOMStringAllocator::data_type</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="XalanDOMStringAllocator_8hpp_source.html#l00045">45</a> of file <a class="el" href="XalanDOMStringAllocator_8hpp_source.html">XalanDOMStringAllocator.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a26b3d674d27f76036cc30ad2d5e25747"></a><!-- doxytag: member="XalanDOMStringAllocator::data_type_size_type" ref="a26b3d674d27f76036cc30ad2d5e25747" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classXalanDOMString.html#ab8b91a47f3335d6c54c49029dd1074f2">data_type::size_type</a> <a class="el" href="classXalanDOMStringAllocator.html#a26b3d674d27f76036cc30ad2d5e25747">XalanDOMStringAllocator::data_type_size_type</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="XalanDOMStringAllocator_8hpp_source.html#l00046">46</a> of file <a class="el" href="XalanDOMStringAllocator_8hpp_source.html">XalanDOMStringAllocator.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a9e22d92647c1b90f1ee86626617f77f8"></a><!-- doxytag: member="XalanDOMStringAllocator::size_type" ref="a9e22d92647c1b90f1ee86626617f77f8" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classArenaAllocator.html#a68eaf7d03e3a4a9f35c035481f0acd67">ArenaAllocatorType::size_type</a> <a class="el" href="classXalanDOMStringAllocator.html#a9e22d92647c1b90f1ee86626617f77f8">XalanDOMStringAllocator::size_type</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="XalanDOMStringAllocator_8hpp_source.html#l00057">57</a> of file <a class="el" href="XalanDOMStringAllocator_8hpp_source.html">XalanDOMStringAllocator.hpp</a>.</p>
</div>
</div>
<hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a57975f8567428ad2a24186704295d2c1"></a><!-- doxytag: member="XalanDOMStringAllocator::@24" ref="a57975f8567428ad2a24186704295d2c1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">anonymous enum</td>
</tr>
</table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a57975f8567428ad2a24186704295d2c1a9717e4958d884c8ca8b2ebef828eab24"></a><!-- doxytag: member="eDefaultBlockSize" ref="a57975f8567428ad2a24186704295d2c1a9717e4958d884c8ca8b2ebef828eab24" args="" -->eDefaultBlockSize</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="XalanDOMStringAllocator_8hpp_source.html#l00059">59</a> of file <a class="el" href="XalanDOMStringAllocator_8hpp_source.html">XalanDOMStringAllocator.hpp</a>.</p>
</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a0c47fcacb8c04f692d8ffa38cf74c8c6"></a><!-- doxytag: member="XalanDOMStringAllocator::XalanDOMStringAllocator" ref="a0c47fcacb8c04f692d8ffa38cf74c8c6" args="(MemoryManager &amp;theManager, size_type theBlockCount)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XalanDOMStringAllocator::XalanDOMStringAllocator </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="classXalanDOMStringAllocator.html#a9e22d92647c1b90f1ee86626617f77f8">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 in 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="a492a0054690f077f2c5002293d1f0fd6"></a><!-- doxytag: member="XalanDOMStringAllocator::~XalanDOMStringAllocator" ref="a492a0054690f077f2c5002293d1f0fd6" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XalanDOMStringAllocator::~XalanDOMStringAllocator </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="a82df6c8b2aa008c96fb09d26f75ef138"></a><!-- doxytag: member="XalanDOMStringAllocator::create" ref="a82df6c8b2aa008c96fb09d26f75ef138" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXalanDOMString.html">data_type</a>* XalanDOMStringAllocator::create </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Create a <a class="el" href="classXalanDOMString.html">XalanDOMString</a> object. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>pointer to the new instance </dd></dl>
</div>
</div>
<a class="anchor" id="a1d5ffc41f54ea1baae8f7bfa9dd6160b"></a><!-- doxytag: member="XalanDOMStringAllocator::create" ref="a1d5ffc41f54ea1baae8f7bfa9dd6160b" args="(const char *theString, data_type_size_type theCount=data_type_size_type(data_type::npos))" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXalanDOMString.html">data_type</a>* XalanDOMStringAllocator::create </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>theString</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXalanDOMStringAllocator.html#a26b3d674d27f76036cc30ad2d5e25747">data_type_size_type</a>&nbsp;</td>
<td class="paramname"> <em>theCount</em> = <code><a class="el" href="classXalanDOMStringAllocator.html#a26b3d674d27f76036cc30ad2d5e25747">data_type_size_type</a>(data_type::npos)</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Create a <a class="el" href="classXalanDOMString.html">XalanDOMString</a> object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theString</em>&nbsp;</td><td>A pointer to a character string </td></tr>
<tr><td valign="top"></td><td valign="top"><em>theCount</em>&nbsp;</td><td>The number of characters in the string, or npos if the string is null-terminated.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>pointer to the new instance </dd></dl>
</div>
</div>
<a class="anchor" id="aa3d6debe5a3246cda48305a64f7e98b4"></a><!-- doxytag: member="XalanDOMStringAllocator::create" ref="aa3d6debe5a3246cda48305a64f7e98b4" args="(const XalanDOMChar *theString, data_type_size_type theCount=data_type_size_type(data_type::npos))" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXalanDOMString.html">data_type</a>* XalanDOMStringAllocator::create </td>
<td>(</td>
<td class="paramtype">const XalanDOMChar *&nbsp;</td>
<td class="paramname"> <em>theString</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXalanDOMStringAllocator.html#a26b3d674d27f76036cc30ad2d5e25747">data_type_size_type</a>&nbsp;</td>
<td class="paramname"> <em>theCount</em> = <code><a class="el" href="classXalanDOMStringAllocator.html#a26b3d674d27f76036cc30ad2d5e25747">data_type_size_type</a>(data_type::npos)</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Create a <a class="el" href="classXalanDOMString.html">XalanDOMString</a> object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theString</em>&nbsp;</td><td>A pointer to a wide character string </td></tr>
<tr><td valign="top"></td><td valign="top"><em>theCount</em>&nbsp;</td><td>The number of characters in the string, or npos if the string is null-terminated.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>pointer to the new instance </dd></dl>
</div>
</div>
<a class="anchor" id="a445d09fec50754c05ec0f53675f784f0"></a><!-- doxytag: member="XalanDOMStringAllocator::create" ref="a445d09fec50754c05ec0f53675f784f0" args="(data_type_size_type theCount, XalanDOMChar theChar)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXalanDOMString.html">data_type</a>* XalanDOMStringAllocator::create </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXalanDOMStringAllocator.html#a26b3d674d27f76036cc30ad2d5e25747">data_type_size_type</a>&nbsp;</td>
<td class="paramname"> <em>theCount</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XalanDOMChar&nbsp;</td>
<td class="paramname"> <em>theChar</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Create a <a class="el" href="classXalanDOMString.html">XalanDOMString</a> object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theCount</em>&nbsp;</td><td>the size of the string </td></tr>
<tr><td valign="top"></td><td valign="top"><em>theChar</em>&nbsp;</td><td>the character used to initialize the string</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>pointer to the new instance </dd></dl>
</div>
</div>
<a class="anchor" id="aacd6df2d937bdb992b6d29e8a8ad57f5"></a><!-- doxytag: member="XalanDOMStringAllocator::create" ref="aacd6df2d937bdb992b6d29e8a8ad57f5" args="(const data_type &amp;theSource, data_type_size_type theStartPosition=0, data_type_size_type theCount=data_type_size_type(data_type::npos))" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXalanDOMString.html">data_type</a>* XalanDOMStringAllocator::create </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXalanDOMString.html">data_type</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theSource</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXalanDOMStringAllocator.html#a26b3d674d27f76036cc30ad2d5e25747">data_type_size_type</a>&nbsp;</td>
<td class="paramname"> <em>theStartPosition</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXalanDOMStringAllocator.html#a26b3d674d27f76036cc30ad2d5e25747">data_type_size_type</a>&nbsp;</td>
<td class="paramname"> <em>theCount</em> = <code><a class="el" href="classXalanDOMStringAllocator.html#a26b3d674d27f76036cc30ad2d5e25747">data_type_size_type</a>(data_type::npos)</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Copy constructor. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theSource</em>&nbsp;</td><td>The source string for the copy </td></tr>
<tr><td valign="top"></td><td valign="top"><em>theStartPosition</em>&nbsp;</td><td>The position to start in the source string. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>theCount</em>&nbsp;</td><td>The number of characters to copy from the source string.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>pointer to the new instance </dd></dl>
</div>
</div>
<a class="anchor" id="a7c7054c34035312b195e7feaf02d74f1"></a><!-- doxytag: member="XalanDOMStringAllocator::getBlockCount" ref="a7c7054c34035312b195e7feaf02d74f1" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXalanDOMStringAllocator.html#a9e22d92647c1b90f1ee86626617f77f8">size_type</a> XalanDOMStringAllocator::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="XalanDOMStringAllocator_8hpp_source.html#l00162">162</a> of file <a class="el" href="XalanDOMStringAllocator_8hpp_source.html">XalanDOMStringAllocator.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a8a0ac0b43711e3a1754f28f8fbbfcb7e"></a><!-- doxytag: member="XalanDOMStringAllocator::getBlockSize" ref="a8a0ac0b43711e3a1754f28f8fbbfcb7e" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXalanDOMStringAllocator.html#a9e22d92647c1b90f1ee86626617f77f8">size_type</a> XalanDOMStringAllocator::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="XalanDOMStringAllocator_8hpp_source.html#l00174">174</a> of file <a class="el" href="XalanDOMStringAllocator_8hpp_source.html">XalanDOMStringAllocator.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="ab01911c2c4655678503f63f75bd367aa"></a><!-- doxytag: member="XalanDOMStringAllocator::getMemoryManager" ref="ab01911c2c4655678503f63f75bd367aa" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">MemoryManager&amp; XalanDOMStringAllocator::getMemoryManager </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get a reference to the MemoryManager instance for this instance. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A reference to the MemoryManager instance. </dd></dl>
<p>Definition at line <a class="el" href="XalanDOMStringAllocator_8hpp_source.html#l00186">186</a> of file <a class="el" href="XalanDOMStringAllocator_8hpp_source.html">XalanDOMStringAllocator.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="aa4d23b2bb91ccbf7219d013af52a2d87"></a><!-- doxytag: member="XalanDOMStringAllocator::getMemoryManager" ref="aa4d23b2bb91ccbf7219d013af52a2d87" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const MemoryManager&amp; XalanDOMStringAllocator::getMemoryManager </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 a reference to the MemoryManager instance for this instance. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A reference to the MemoryManager instance. </dd></dl>
<p>Definition at line <a class="el" href="XalanDOMStringAllocator_8hpp_source.html#l00198">198</a> of file <a class="el" href="XalanDOMStringAllocator_8hpp_source.html">XalanDOMStringAllocator.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="ae94f1c5c3de7ee6e0d1dc8049c3c1e75"></a><!-- doxytag: member="XalanDOMStringAllocator::ownsObject" ref="ae94f1c5c3de7ee6e0d1dc8049c3c1e75" args="(const data_type *theObject)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool XalanDOMStringAllocator::ownsObject </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXalanDOMString.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="XalanDOMStringAllocator_8hpp_source.html#l00142">142</a> of file <a class="el" href="XalanDOMStringAllocator_8hpp_source.html">XalanDOMStringAllocator.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a2e3d871060705716bc600f068ec529b4"></a><!-- doxytag: member="XalanDOMStringAllocator::reset" ref="a2e3d871060705716bc600f068ec529b4" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void XalanDOMStringAllocator::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 instance objects from allocator. </p>
<p>Definition at line <a class="el" href="XalanDOMStringAllocator_8hpp_source.html#l00151">151</a> of file <a class="el" href="XalanDOMStringAllocator_8hpp_source.html">XalanDOMStringAllocator.hpp</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XalanDOMStringAllocator_8hpp_source.html">XalanDOMStringAllocator.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>