| <HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD>
|
| <BODY>
|
| <h2 align="center">Xalan-C++ API Documentation</h2>
|
| <h3 align="center">The Xalan C++ XSLT Processor Version 1.10</h3>
|
| </BODY> |
| <!-- Generated by Doxygen 1.2.8.1 --> |
| <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>XalanArrayAllocator Class Template Reference</h1><code>#include <<a class="el" href="XalanArrayAllocator_8hpp-source.html">XalanArrayAllocator.hpp</a>></code> |
| <p> |
| Collaboration diagram for XalanArrayAllocator:<p><center><img src="classXalanArrayAllocator__coll__graph.gif" border="0" usemap="#XalanArrayAllocator_coll_map" alt="Collaboration graph"></center> |
| <map name="XalanArrayAllocator_coll_map"> |
| <area href="classXalanList.html" shape="rect" coords="6,146,177,122"> |
| <area href="structXalanList_1_1Node.html" shape="rect" coords="40,42,144,18"> |
| </map> |
| <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXalanArrayAllocator-members.html">List of all members.</a><h2>Public Types</h2> |
| <ul> |
| <li>typedef XalanVector<Type> <a class="el" href="classXalanArrayAllocator.html#s0">VectorType</a> |
| <li>typedef VectorType::size_type <a class="el" href="classXalanArrayAllocator.html#s1">size_type</a> |
| <li>typedef XALAN_STD_QUALIFIER <br> |
| pair<<a class="el" href="classXalanArrayAllocator.html#s1">size_type</a>, <a class="el" href="classXalanArrayAllocator.html#s0">VectorType</a> * > <a class="el" href="classXalanArrayAllocator.html#s2">ListEntryType</a> |
| <li>typedef <a class="el" href="classXalanList.html">XalanList</a><<a class="el" href="classXalanArrayAllocator.html#s2">ListEntryType</a>> <a class="el" href="classXalanArrayAllocator.html#s3">ListType</a> |
| <li>typedef Type <a class="el" href="classXalanArrayAllocator.html#s4">value_type</a> |
| <li>typedef <a class="el" href="classXalanList.html#s7">ListType::iterator</a> <a class="el" href="classXalanArrayAllocator.html#s5">ListIteratorType</a> |
| <li>enum { <a class="el" href="classXalanArrayAllocator.html#s7s6">eDefaultBlockSize</a> = 500 |
| } |
| </ul> |
| <h2>Public Methods</h2> |
| <ul> |
| <li><a class="el" href="classXalanArrayAllocator.html#a0">XalanArrayAllocator</a> (<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &theManager, <a class="el" href="classXalanArrayAllocator.html#s1">size_type</a> theBlockSize=eDefaultBlockSize) |
| <dl class="el"><dd><font size=-1><em>Constructor.</em> <a href="#a0">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXalanArrayAllocator.html#a1">~XalanArrayAllocator</a> () |
| <li>void <a class="el" href="classXalanArrayAllocator.html#a2">clear</a> () |
| <dl class="el"><dd><font size=-1><em>Clear the instance, and release all allocated memory.</em> <a href="#a2">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanArrayAllocator.html#a3">reset</a> () |
| <dl class="el"><dd><font size=-1><em>Reset the instance, but keep all memory so it can be reused for allocations.</em> <a href="#a3">More...</a><em><br><br></em></font></dl><li>Type* <a class="el" href="classXalanArrayAllocator.html#a4">allocate</a> (<a class="el" href="classXalanArrayAllocator.html#s1">size_type</a> theCount) |
| <dl class="el"><dd><font size=-1><em>Allocate slots for the given number of Types instance and return the address of the slots.</em> <a href="#a4">More...</a><em><br><br></em></font></dl></ul> |
| <h3>template<class Type> class XalanArrayAllocator</h3> |
| |
| <hr><h2>Member Typedef Documentation</h2> |
| <a name="s2" doxytag="XalanArrayAllocator::ListEntryType"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td colspan="2"><b> |
| template<class Type> </b></td> |
| </tr> |
| <tr> |
| <td nowrap valign="top"><b> |
| typedef XALAN_STD_QUALIFIER pair< <a class="el" href="classXalanArrayAllocator.html#s1">size_type</a>, <a class="el" href="classXalanArrayAllocator.html#s0">VectorType</a> * > XalanArrayAllocator<Type>::ListEntryType<<a class="el" href="classXalanArrayAllocator.html#s1">size_type</a>, <a class="el" href="classXalanArrayAllocator.html#s0">VectorType</a> * > |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| </td> |
| </tr> |
| </table> |
| <a name="s5" doxytag="XalanArrayAllocator::ListIteratorType"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td colspan="2"><b> |
| template<class Type> </b></td> |
| </tr> |
| <tr> |
| <td nowrap valign="top"><b> |
| typedef <a class="el" href="classXalanList.html#s7">ListType::iterator</a> XalanArrayAllocator<Type>::ListIteratorType |
| </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="XalanArrayAllocator::ListType"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td colspan="2"><b> |
| template<class Type> </b></td> |
| </tr> |
| <tr> |
| <td nowrap valign="top"><b> |
| typedef <a class="el" href="classXalanList.html">XalanList</a>< <a class="el" href="classXalanArrayAllocator.html#s2">ListEntryType</a> > XalanArrayAllocator<Type>::ListType<<a class="el" href="classXalanArrayAllocator.html#s2">ListEntryType</a>> |
| </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="XalanArrayAllocator::VectorType"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td colspan="2"><b> |
| template<class Type> </b></td> |
| </tr> |
| <tr> |
| <td nowrap valign="top"><b> |
| typedef XalanVector< Type > XalanArrayAllocator<Type>::VectorType<Type> |
| </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="XalanArrayAllocator::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 colspan="2"><b> |
| template<class Type> </b></td> |
| </tr> |
| <tr> |
| <td nowrap valign="top"><b> |
| typedef VectorType::size_type XalanArrayAllocator<Type>::size_type |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| </td> |
| </tr> |
| </table> |
| <a name="s4" doxytag="XalanArrayAllocator::value_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 colspan="2"><b> |
| template<class Type> </b></td> |
| </tr> |
| <tr> |
| <td nowrap valign="top"><b> |
| typedef Type XalanArrayAllocator<Type>::value_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>Member Enumeration Documentation</h2> |
| <a name="s7" doxytag="XalanArrayAllocator::@5"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td colspan="2"><b> |
| template<class Type> </b></td> |
| </tr> |
| <tr> |
| <td nowrap valign="top"><b> |
| anonymous enum |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| <dl compact><dt> |
| <b>Enumeration values:</b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><a name="s7s6" doxytag="eDefaultBlockSize"></a><em>eDefaultBlockSize</em> |
| </td><td> |
| </td></tr> |
| </table> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| <hr><h2>Constructor & Destructor Documentation</h2> |
| <a name="a0" doxytag="XalanArrayAllocator::XalanArrayAllocator"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td colspan="2"><b> |
| template<class Type> </b></td> |
| </tr> |
| <tr> |
| <td nowrap valign="top"><b> |
| XalanArrayAllocator<Type>::XalanArrayAllocator<Type> ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> & <em>theManager</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="classXalanArrayAllocator.html#s1">size_type</a> <em>theBlockSize</em> = eDefaultBlockSize ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Constructor. |
| <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 when allocating. </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <a name="a1" doxytag="XalanArrayAllocator::~XalanArrayAllocator"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td colspan="2"><b> |
| template<class Type> </b></td> |
| </tr> |
| <tr> |
| <td nowrap valign="top"><b> |
| XalanArrayAllocator<Type>::~XalanArrayAllocator<Type> ( |
| </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="a4" doxytag="XalanArrayAllocator::allocate"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td colspan="2"><b> |
| template<class Type> </b></td> |
| </tr> |
| <tr> |
| <td nowrap valign="top"><b> |
| Type * XalanArrayAllocator<Type>::allocate ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classXalanArrayAllocator.html#s1">size_type</a> <em>theCount</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Allocate slots for the given number of Types instance and return the address of the slots. |
| <p> |
| <dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theCount</em> |
| </td><td> |
| The number of slots to allocate </td></tr> |
| </table> |
| </dl> </td> |
| </tr> |
| </table> |
| <a name="a2" doxytag="XalanArrayAllocator::clear"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td colspan="2"><b> |
| template<class Type> </b></td> |
| </tr> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanArrayAllocator<Type>::clear ( |
| </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> |
| Clear the instance, and release all allocated memory. |
| <p> |
| </td> |
| </tr> |
| </table> |
| <a name="a3" doxytag="XalanArrayAllocator::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 colspan="2"><b> |
| template<class Type> </b></td> |
| </tr> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XalanArrayAllocator<Type>::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> |
| Reset the instance, but keep all memory so it can be reused for allocations. |
| <p> |
| This invalidates all previous allocations. </td> |
| </tr> |
| </table> |
| <hr>The documentation for this class was generated from the following file:<ul> |
| <li><a class="el" href="XalanArrayAllocator_8hpp-source.html">XalanArrayAllocator.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="../resources/dot.gif" width="1" alt="dot"></TD></TR></TABLE>
|
| <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.10</B><BR>
|
| Copyright © 1999-2004 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" ALT="Apache Logo">
|
| </TD>
|
| </TR>
|
| </TABLE>
|