<HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD> <BODY> <h2 align="center">Xalan-C++ API Documentation</h2> <h3 align="center">The Xalan C++ XSL Transformer Version 1.1</h3> </BODY> <!-- Generated by Doxygen 1.2.0 on Thu Feb 15 10:49:36 2001 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>XalanSourceTreeElementNSAllocator Class Reference</h1><code>#include <<a class="el" href="XalanSourceTreeElementNSAllocator.hpp-source.html">XalanSourceTreeElementNSAllocator.hpp</a>></code> <p> Collaboration diagram for XalanSourceTreeElementNSAllocator:<p><center><img src="class_xalansourcetreeelementnsallocator_coll_graph.gif" border="0" usemap="#XalanSourceTreeElementNSAllocator_coll_map" alt="Collaboration graph"></center> <map name="XalanSourceTreeElementNSAllocator_coll_map"> <area href="class_arenaallocator.html" shape="rect" coords="60,0,156,18"> </map><p> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_xalansourcetreeelementnsallocator-members.html">List of all members.</a><h2>Public Types</h2> <ul> <li>typedef <a class="el" href="class_xalansourcetreeelementns.html">XalanSourceTreeElementNS</a> <a class="el" href="class_xalansourcetreeelementnsallocator.html#s0">ObjectType</a> <li>typedef ObjectType::AttributesCountType <a class="el" href="class_xalansourcetreeelementnsallocator.html#s1">AttributesCountType</a> <li>typedef <a class="el" href="class_arenaallocator.html">ArenaAllocator</a><<a class="el" href="class_xalansourcetreeelementnsallocator.html#s0">ObjectType</a>> <a class="el" href="class_xalansourcetreeelementnsallocator.html#s2">ArenaAllocatorType</a> <li>typedef ArenaAllocatorType::size_type <a class="el" href="class_xalansourcetreeelementnsallocator.html#s3">size_type</a> </ul> <h2>Public Methods</h2> <ul> <li><a class="el" href="class_xalansourcetreeelementnsallocator.html#a0">XalanSourceTreeElementNSAllocator</a> (<a class="el" href="class_xalansourcetreeelementnsallocator.html#s3">size_type</a> theBlockCount) <dl class="el"><dd><font size=-1><em>Construct an instance that will allocate blocks of the specified size.</em> <a href="#a0">More...</a><em><br><br></em></font></dl><li><a class="el" href="class_xalansourcetreeelementnsallocator.html#a1">~XalanSourceTreeElementNSAllocator</a> () <li><a class="el" href="class_xalansourcetreeelementnsallocator.html#s0">ObjectType</a>* <a class="el" href="class_xalansourcetreeelementnsallocator.html#a2">create</a> ( const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& theTagName, const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& theLocalName, const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& theNamespaceURI, const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& thePrefix, <a class="el" href="class_xalansourcetreedocument.html">XalanSourceTreeDocument</a>* theOwnerDocument, <a class="el" href="class_xalansourcetreeattr.html">XalanSourceTreeAttr</a>** theAttributes, <a class="el" href="class_xalansourcetreeelementnsallocator.html#s1">AttributesCountType</a> theAttributeCount, <a class="el" href="class_xalansourcetreeelement.html">XalanSourceTreeElement</a>* theParentElement = 0, <a class="el" href="class_xalannode.html">XalanNode</a>* thePreviousSibling = 0, <a class="el" href="class_xalannode.html">XalanNode</a>* theNextSibling = 0, unsigned int theIndex = 0) <dl class="el"><dd><font size=-1><em>Create an instance.</em> <a href="#a2">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="class_xalansourcetreeelementnsallocator.html#a3">reset</a> () <dl class="el"><dd><font size=-1><em>Delete all objects from allocator.<br><br></em></font></dl><li><a class="el" href="class_xalansourcetreeelementnsallocator.html#s3">size_type</a> <a class="el" href="class_xalansourcetreeelementnsallocator.html#a4">getBlockCount</a> () const <dl class="el"><dd><font size=-1><em>Get size of an <a class="el" href="class_arenablock.html">ArenaBlock</a>, that is, the number of objects in each block.</em> <a href="#a4">More...</a><em><br><br></em></font></dl><li><a class="el" href="class_xalansourcetreeelementnsallocator.html#s3">size_type</a> <a class="el" href="class_xalansourcetreeelementnsallocator.html#a5">getBlockSize</a> () const <dl class="el"><dd><font size=-1><em>Get the number of ArenaBlocks currently allocated.</em> <a href="#a5">More...</a><em><br><br></em></font></dl></ul> <hr><h2>Member Typedef Documentation</h2> <a name="s2" doxytag="XalanSourceTreeElementNSAllocator::ArenaAllocatorType"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> typedef <a class="el" href="class_arenaallocator.html">ArenaAllocator</a><<a class="el" href="class_xalansourcetreeelementnsallocator.html#s0">ObjectType</a>> XalanSourceTreeElementNSAllocator::ArenaAllocatorType </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="s1" doxytag="XalanSourceTreeElementNSAllocator::AttributesCountType"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> typedef ObjectType::AttributesCountType XalanSourceTreeElementNSAllocator::AttributesCountType </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="s0" doxytag="XalanSourceTreeElementNSAllocator::ObjectType"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> typedef <a class="el" href="class_xalansourcetreeelementns.html">XalanSourceTreeElementNS</a> XalanSourceTreeElementNSAllocator::ObjectType </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="s3" doxytag="XalanSourceTreeElementNSAllocator::size_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> typedef ArenaAllocatorType::size_type XalanSourceTreeElementNSAllocator::size_type </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="XalanSourceTreeElementNSAllocator::XalanSourceTreeElementNSAllocator"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> XalanSourceTreeElementNSAllocator::XalanSourceTreeElementNSAllocator ( </b></td> <td valign="bottom"><b> <a class="el" href="class_xalansourcetreeelementnsallocator.html#s3">size_type</a> <em>theBlockCount</em> ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Construct an instance that will allocate blocks of the specified size. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theBlockSize</em> </td><td> The block size. </td></tr> </table> </dl> </td> </tr> </table> <a name="a1" doxytag="XalanSourceTreeElementNSAllocator::~XalanSourceTreeElementNSAllocator"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> XalanSourceTreeElementNSAllocator::~XalanSourceTreeElementNSAllocator ( </b></td> <td valign="bottom"><b> ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a2" doxytag="XalanSourceTreeElementNSAllocator::create"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> <a class="el" href="class_xalansourcetreeelementnsallocator.html#s0">ObjectType</a> * XalanSourceTreeElementNSAllocator::create ( </b></td> <td valign="bottom"><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>theTagName</em>, </b></td> </tr> <tr> <td></td> <td><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>theLocalName</em>, </b></td> </tr> <tr> <td></td> <td><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>theNamespaceURI</em>, </b></td> </tr> <tr> <td></td> <td><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>thePrefix</em>, </b></td> </tr> <tr> <td></td> <td><b> <a class="el" href="class_xalansourcetreedocument.html">XalanSourceTreeDocument</a> * <em>theOwnerDocument</em>, </b></td> </tr> <tr> <td></td> <td><b> <a class="el" href="class_xalansourcetreeattr.html">XalanSourceTreeAttr</a> ** <em>theAttributes</em>, </b></td> </tr> <tr> <td></td> <td><b> <a class="el" href="class_xalansourcetreeelementnsallocator.html#s1">AttributesCountType</a> <em>theAttributeCount</em>, </b></td> </tr> <tr> <td></td> <td><b> <a class="el" href="class_xalansourcetreeelement.html">XalanSourceTreeElement</a> * <em>theParentElement</em> = 0, </b></td> </tr> <tr> <td></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>thePreviousSibling</em> = 0, </b></td> </tr> <tr> <td></td> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * <em>theNextSibling</em> = 0, </b></td> </tr> <tr> <td></td> <td><b> unsigned int <em>theIndex</em> = 0 ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Create an instance. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theTagName</em> </td><td> The tag name of the element </td></tr> <tr><td valign=top><em>theLocalName</em> </td><td> The local name of the attribute </td></tr> <tr><td valign=top><em>theNamespaceURI</em> </td><td> The namespace URI of the attribute </td></tr> <tr><td valign=top><em>thePrefix</em> </td><td> The namespace prefix of the attribute </td></tr> <tr><td valign=top><em>theOwnerDocument</em> </td><td> The document that owns the instance </td></tr> <tr><td valign=top><em>theAttributes</em> </td><td> An array of pointers to the attribute instances for the element </td></tr> <tr><td valign=top><em>theAttributeCount</em> </td><td> The number of attributes. </td></tr> <tr><td valign=top><em>theParentElement</em> </td><td> The parent element, if any. </td></tr> <tr><td valign=top><em>thePreviousSibling</em> </td><td> The previous sibling, if any. </td></tr> <tr><td valign=top><em>theNextSibling</em> </td><td> The next sibling, if any. </td></tr> <tr><td valign=top><em>theIndex</em> </td><td> The document-order index of the node. <p> </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> pointer to the instance </dl> </td> </tr> </table> <a name="a4" doxytag="XalanSourceTreeElementNSAllocator::getBlockCount"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> <a class="el" href="class_xalansourcetreeelementnsallocator.html#s3">size_type</a> XalanSourceTreeElementNSAllocator::getBlockCount ( </b></td> <td valign="bottom"><b> ) const<code> []</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get size of an <a class="el" href="class_arenablock.html">ArenaBlock</a>, that is, the number of objects in each block. <p> <dl compact><dt> <b>Returns: </b><dd> The size of the block </dl> </td> </tr> </table> <a name="a5" doxytag="XalanSourceTreeElementNSAllocator::getBlockSize"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> <a class="el" href="class_xalansourcetreeelementnsallocator.html#s3">size_type</a> XalanSourceTreeElementNSAllocator::getBlockSize ( </b></td> <td valign="bottom"><b> ) const<code> []</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the number of ArenaBlocks currently allocated. <p> <dl compact><dt> <b>Returns: </b><dd> The number of blocks. </dl> </td> </tr> </table> <a name="a3" doxytag="XalanSourceTreeElementNSAllocator::reset"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void XalanSourceTreeElementNSAllocator::reset ( </b></td> <td valign="bottom"><b> ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Delete all objects from allocator. <p> </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="XalanSourceTreeElementNSAllocator.hpp-source.html">XalanSourceTreeElementNSAllocator.hpp</a></ul> <p align="center"><a href="diagramnotes.html">Interpreting class diagrams</a></p> <p><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"> <i><A href="http://www.stack.nl/~dimitri/doxygen/">Doxygen</A> and <A href="http://www.research.att.com/sw/tools/graphviz/">GraphViz</A> are used to generate this API documentation from the Xalan-C header files.</I></FONT></p> <TABLE border="0" cellpadding="0" cellspacing="0" width="820"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1"></TD></TR></TABLE> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="80%"> <TR> <TD WIDTH="80%" VALIGN="TOP"> <P ALIGN="CENTER"><B>Xalan-C++ XSL Transformer Version 1.1</B><BR> Copyright © 2000, 2001 The Apache Software Foundation. All Rights Reserved.</i></p> </TD> </TR> <TR> <TD WIDTH="100%"> <P ALIGN="CENTER"><IMG SRC="ApacheLogo.jpg" WIDTH="387" HEIGHT="100" ALIGN="BOTTOM" BORDER="0"> </TD> </TR> </TABLE>