| <!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 Page</span></a></li> |
| <li><a href="pages.html"><span>Related 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 List</span></a></li> |
| <li><a href="classes.html"><span>Class Index</span></a></li> |
| <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
| <li><a href="functions.html"><span>Class Members</span></a></li> |
| </ul> |
| </div> |
| </div> |
| <div class="header"> |
| <div class="summary"> |
| <a href="#pub-types">Public Types</a> | |
| <a href="#pub-methods">Public Member Functions</a> </div> |
| <div class="headertitle"> |
| <h1>XalanSourceTreeCommentAllocator Class Reference</h1> </div> |
| </div> |
| <div class="contents"> |
| <!-- doxytag: class="XalanSourceTreeCommentAllocator" --> |
| <p><code>#include <<a class="el" href="XalanSourceTreeCommentAllocator_8hpp_source.html">XalanSourceTreeCommentAllocator.hpp</a>></code></p> |
| <div class="dynheader"> |
| Collaboration diagram for XalanSourceTreeCommentAllocator:</div> |
| <div class="dyncontent"> |
| <div class="center"><img src="classXalanSourceTreeCommentAllocator__coll__graph.png" border="0" usemap="#XalanSourceTreeCommentAllocator_coll__map" alt="Collaboration graph"/></div> |
| <map name="XalanSourceTreeCommentAllocator_coll__map" id="XalanSourceTreeCommentAllocator_coll__map"> |
| <area shape="rect" id="node2" href="classArenaAllocator.html" title="ArenaAllocator\< ObjectType \>" alt="" coords="184,315,400,344"/><area shape="rect" id="node4" href="classArenaBlock.html" title="ArenaBlock\< ObjectType \>" alt="" coords="43,219,237,248"/><area shape="rect" id="node6" href="classArenaBlockBase.html" title="ArenaBlockBase\< ObjectType, size_t \>" alt="" coords="5,104,275,133"/><area shape="rect" id="node10" href="classXalanAllocator.html" title="XalanAllocator\< ObjectType \>" alt="" coords="121,5,335,35"/><area shape="rect" id="node12" href="classXalanList.html" title="XalanList\< ArenaBlock\< ObjectType \> * \>" alt="" coords="261,219,555,248"/><area shape="rect" id="node14" href="structXalanList_1_1Node.html" title="XalanList\< Type \>::Node" alt="" coords="317,104,499,133"/></map> |
| <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> |
| |
| <p><a href="classXalanSourceTreeCommentAllocator-members.html">List of all members.</a></p> |
| <h2><a name="pub-types"></a> |
| Public Types</h2> |
| <ul> |
| <li>typedef <a class="el" href="classXalanSourceTreeComment.html">XalanSourceTreeComment</a> <a class="el" href="classXalanSourceTreeCommentAllocator.html#a878f87f9e54e543ad4b47f96f235b577">ObjectType</a> |
| <li>typedef <a class="el" href="classXalanNode.html#a737e6c797973546c10650cd72cc5f8ab">ObjectType::IndexType</a> <a class="el" href="classXalanSourceTreeCommentAllocator.html#aa4321543b223e5c77c9489a720842c2c">IndexType</a> |
| <li>typedef <a class="el" href="classArenaAllocator.html">ArenaAllocator</a><br class="typebreak"/> |
| < <a class="el" href="classXalanSourceTreeComment.html">ObjectType</a> > <a class="el" href="classXalanSourceTreeCommentAllocator.html#aa08363172a8e5c6c347a9d21925b2d27">ArenaAllocatorType</a> |
| <li>typedef <br class="typebreak"/> |
| <a class="el" href="classArenaAllocator.html#a68eaf7d03e3a4a9f35c035481f0acd67">ArenaAllocatorType::size_type</a> <a class="el" href="classXalanSourceTreeCommentAllocator.html#a5bdd910edb1a675af3e29448ba21b289">size_type</a> |
| </ul> |
| <h2><a name="pub-methods"></a> |
| Public Member Functions</h2> |
| <ul> |
| <li><a class="el" href="classXalanSourceTreeCommentAllocator.html#af2c786bfaa888a64c5f675d96a627240">XalanSourceTreeCommentAllocator</a> (MemoryManager &theManager, <a class="el" href="classXalanSourceTreeCommentAllocator.html#a5bdd910edb1a675af3e29448ba21b289">size_type</a> theBlockCount) |
| <dl class="el"><dd class="mdescRight">Construct an instance that will allocate blocks of the specified size. <a href="#af2c786bfaa888a64c5f675d96a627240"></a><br/></dl><li><a class="el" href="classXalanSourceTreeCommentAllocator.html#a3511427068c9e7a57f929103c0cd232a">~XalanSourceTreeCommentAllocator</a> () |
| <li><a class="el" href="classXalanSourceTreeComment.html">ObjectType</a> * <a class="el" href="classXalanSourceTreeCommentAllocator.html#aa25c062e0e18a0f16c01c75dbabb7660">create</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &theData, <a class="el" href="classXalanSourceTreeDocument.html">XalanSourceTreeDocument</a> *theOwnerDocument, <a class="el" href="classXalanNode.html">XalanNode</a> *theParentNode=0, <a class="el" href="classXalanNode.html">XalanNode</a> *thePreviousSibling=0, <a class="el" href="classXalanNode.html">XalanNode</a> *theNextSibling=0, <a class="el" href="classXalanSourceTreeCommentAllocator.html#aa4321543b223e5c77c9489a720842c2c">IndexType</a> theIndex=0) |
| <dl class="el"><dd class="mdescRight">Create an instance. <a href="#aa25c062e0e18a0f16c01c75dbabb7660"></a><br/></dl><li>void <a class="el" href="classXalanSourceTreeCommentAllocator.html#ae473c5d2d31c0b4e4b629cbbfb4a8fbb">reset</a> () |
| <dl class="el"><dd class="mdescRight">Delete all objects from allocator. <a href="#ae473c5d2d31c0b4e4b629cbbfb4a8fbb"></a><br/></dl><li><a class="el" href="classXalanSourceTreeCommentAllocator.html#a5bdd910edb1a675af3e29448ba21b289">size_type</a> <a class="el" href="classXalanSourceTreeCommentAllocator.html#a263b34822a1a2cc891fd20f6ce3c6579">getBlockCount</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="#a263b34822a1a2cc891fd20f6ce3c6579"></a><br/></dl><li><a class="el" href="classXalanSourceTreeCommentAllocator.html#a5bdd910edb1a675af3e29448ba21b289">size_type</a> <a class="el" href="classXalanSourceTreeCommentAllocator.html#acf3600276505056d109e9a5d14478be3">getBlockSize</a> () const |
| <dl class="el"><dd class="mdescRight">Get the number of ArenaBlocks currently allocated. <a href="#acf3600276505056d109e9a5d14478be3"></a><br/></dl></ul> |
| <hr/><a name="_details"></a><h2>Detailed Description</h2> |
| |
| <p>Definition at line <a class="el" href="XalanSourceTreeCommentAllocator_8hpp_source.html#l00040">40</a> of file <a class="el" href="XalanSourceTreeCommentAllocator_8hpp_source.html">XalanSourceTreeCommentAllocator.hpp</a>.</p> |
| <hr/><h2>Member Typedef Documentation</h2> |
| <a class="anchor" id="aa08363172a8e5c6c347a9d21925b2d27"></a><!-- doxytag: member="XalanSourceTreeCommentAllocator::ArenaAllocatorType" ref="aa08363172a8e5c6c347a9d21925b2d27" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">typedef <a class="el" href="classArenaAllocator.html">ArenaAllocator</a><<a class="el" href="classXalanSourceTreeComment.html">ObjectType</a>> <a class="el" href="classArenaAllocator.html">XalanSourceTreeCommentAllocator::ArenaAllocatorType</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="XalanSourceTreeCommentAllocator_8hpp_source.html#l00054">54</a> of file <a class="el" href="XalanSourceTreeCommentAllocator_8hpp_source.html">XalanSourceTreeCommentAllocator.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="aa4321543b223e5c77c9489a720842c2c"></a><!-- doxytag: member="XalanSourceTreeCommentAllocator::IndexType" ref="aa4321543b223e5c77c9489a720842c2c" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">typedef <a class="el" href="classXalanNode.html#a737e6c797973546c10650cd72cc5f8ab">ObjectType::IndexType</a> <a class="el" href="classXalanSourceTreeCommentAllocator.html#aa4321543b223e5c77c9489a720842c2c">XalanSourceTreeCommentAllocator::IndexType</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="XalanSourceTreeCommentAllocator_8hpp_source.html#l00046">46</a> of file <a class="el" href="XalanSourceTreeCommentAllocator_8hpp_source.html">XalanSourceTreeCommentAllocator.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a878f87f9e54e543ad4b47f96f235b577"></a><!-- doxytag: member="XalanSourceTreeCommentAllocator::ObjectType" ref="a878f87f9e54e543ad4b47f96f235b577" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">typedef <a class="el" href="classXalanSourceTreeComment.html">XalanSourceTreeComment</a> <a class="el" href="classXalanSourceTreeComment.html">XalanSourceTreeCommentAllocator::ObjectType</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="XalanSourceTreeCommentAllocator_8hpp_source.html#l00044">44</a> of file <a class="el" href="XalanSourceTreeCommentAllocator_8hpp_source.html">XalanSourceTreeCommentAllocator.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a5bdd910edb1a675af3e29448ba21b289"></a><!-- doxytag: member="XalanSourceTreeCommentAllocator::size_type" ref="a5bdd910edb1a675af3e29448ba21b289" 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="classXalanSourceTreeCommentAllocator.html#a5bdd910edb1a675af3e29448ba21b289">XalanSourceTreeCommentAllocator::size_type</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="XalanSourceTreeCommentAllocator_8hpp_source.html#l00057">57</a> of file <a class="el" href="XalanSourceTreeCommentAllocator_8hpp_source.html">XalanSourceTreeCommentAllocator.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <hr/><h2>Constructor & Destructor Documentation</h2> |
| <a class="anchor" id="af2c786bfaa888a64c5f675d96a627240"></a><!-- doxytag: member="XalanSourceTreeCommentAllocator::XalanSourceTreeCommentAllocator" ref="af2c786bfaa888a64c5f675d96a627240" args="(MemoryManager &theManager, size_type theBlockCount)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">XalanSourceTreeCommentAllocator::XalanSourceTreeCommentAllocator </td> |
| <td>(</td> |
| <td class="paramtype">MemoryManager & </td> |
| <td class="paramname"> <em>theManager</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanSourceTreeCommentAllocator.html#a5bdd910edb1a675af3e29448ba21b289">size_type</a> </td> |
| <td class="paramname"> <em>theBlockCount</em></td><td> </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> </td><td>The block size. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a3511427068c9e7a57f929103c0cd232a"></a><!-- doxytag: member="XalanSourceTreeCommentAllocator::~XalanSourceTreeCommentAllocator" ref="a3511427068c9e7a57f929103c0cd232a" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">XalanSourceTreeCommentAllocator::~XalanSourceTreeCommentAllocator </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| </div> |
| </div> |
| <hr/><h2>Member Function Documentation</h2> |
| <a class="anchor" id="aa25c062e0e18a0f16c01c75dbabb7660"></a><!-- doxytag: member="XalanSourceTreeCommentAllocator::create" ref="aa25c062e0e18a0f16c01c75dbabb7660" args="(const XalanDOMString &theData, XalanSourceTreeDocument *theOwnerDocument, XalanNode *theParentNode=0, XalanNode *thePreviousSibling=0, XalanNode *theNextSibling=0, IndexType theIndex=0)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classXalanSourceTreeComment.html">ObjectType</a>* XalanSourceTreeCommentAllocator::create </td> |
| <td>(</td> |
| <td class="paramtype">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & </td> |
| <td class="paramname"> <em>theData</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanSourceTreeDocument.html">XalanSourceTreeDocument</a> * </td> |
| <td class="paramname"> <em>theOwnerDocument</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanNode.html">XalanNode</a> * </td> |
| <td class="paramname"> <em>theParentNode</em> = <code>0</code>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanNode.html">XalanNode</a> * </td> |
| <td class="paramname"> <em>thePreviousSibling</em> = <code>0</code>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanNode.html">XalanNode</a> * </td> |
| <td class="paramname"> <em>theNextSibling</em> = <code>0</code>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classXalanSourceTreeCommentAllocator.html#aa4321543b223e5c77c9489a720842c2c">IndexType</a> </td> |
| <td class="paramname"> <em>theIndex</em> = <code>0</code></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Create 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>theData</em> </td><td>The data for the comment </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theOwnerDocument</em> </td><td>The owner document of the comment node. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theParentNode</em> </td><td>The parent node, if any. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>thePreviousSibling</em> </td><td>The next sibling, if any. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theNextSibling</em> </td><td>The next sibling, if any. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theIndex</em> </td><td>The document-order index of the node.</td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>pointer to the instance </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a263b34822a1a2cc891fd20f6ce3c6579"></a><!-- doxytag: member="XalanSourceTreeCommentAllocator::getBlockCount" ref="a263b34822a1a2cc891fd20f6ce3c6579" args="() const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classXalanSourceTreeCommentAllocator.html#a5bdd910edb1a675af3e29448ba21b289">size_type</a> XalanSourceTreeCommentAllocator::getBlockCount </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </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="XalanSourceTreeCommentAllocator_8hpp_source.html#l00102">102</a> of file <a class="el" href="XalanSourceTreeCommentAllocator_8hpp_source.html">XalanSourceTreeCommentAllocator.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="acf3600276505056d109e9a5d14478be3"></a><!-- doxytag: member="XalanSourceTreeCommentAllocator::getBlockSize" ref="acf3600276505056d109e9a5d14478be3" args="() const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classXalanSourceTreeCommentAllocator.html#a5bdd910edb1a675af3e29448ba21b289">size_type</a> XalanSourceTreeCommentAllocator::getBlockSize </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </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="XalanSourceTreeCommentAllocator_8hpp_source.html#l00113">113</a> of file <a class="el" href="XalanSourceTreeCommentAllocator_8hpp_source.html">XalanSourceTreeCommentAllocator.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ae473c5d2d31c0b4e4b629cbbfb4a8fbb"></a><!-- doxytag: member="XalanSourceTreeCommentAllocator::reset" ref="ae473c5d2d31c0b4e4b629cbbfb4a8fbb" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void XalanSourceTreeCommentAllocator::reset </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Delete all objects from allocator. </p> |
| |
| </div> |
| </div> |
| <hr/>The documentation for this class was generated from the following file:<ul> |
| <li><a class="el" href="XalanSourceTreeCommentAllocator_8hpp_source.html">XalanSourceTreeCommentAllocator.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 © 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> |