<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.4</h3> </BODY> <!-- Generated by Doxygen 1.1.2 on Mon Sep 16 08:29:40 2002 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</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>ArenaBlock Class Reference</h1><code>#include <<a class="el" href="ArenaBlock.hpp-source.html">ArenaBlock.hpp</a>></code> <p> <p>Inheritance diagram for ArenaBlock: <p><center><img src="class_arenablock.gif" usemap="#ArenaBlock_map" border="0"></center> <map name="ArenaBlock_map"><p> <area href="class_reusablearenablock.html" alt="ReusableArenaBlock" shape="rect" coords="0,56,130,80"> </map> <a href="class_arenablock-members.html">List of all members.</a><h2>Public Types</h2> <ul> <li>typedef std::allocator<ObjectType> <a class="el" href="class_arenablock.html#s0">AllocatorType</a> <li>typedef <a class="el" href="class_arenablockdestroy.html">ArenaBlockDestroy</a><ObjectType> <a class="el" href="class_arenablock.html#s1">DestroyFunctionType</a> <li>typedef AllocatorType::size_type <a class="el" href="class_arenablock.html#s2">size_type</a> </ul> <h2>Public Methods</h2> <ul> <li><a class="el" href="class_arenablock.html#a0">ArenaBlock</a> (<a class="el" href="class_arenablock.html#s2">size_type</a> theBlockSize) <li>virtual <a class="el" href="class_arenablock.html#a1">~ArenaBlock</a> () <li>virtual ObjectType* <a class="el" href="class_arenablock.html#a2">allocateBlock</a> () <li>virtual void <a class="el" href="class_arenablock.html#a3">commitAllocation</a> (ObjectType* theBlock) <li>virtual bool <a class="el" href="class_arenablock.html#a4">blockAvailable</a> () const <li>virtual <a class="el" href="class_arenablock.html#s2">size_type</a> <a class="el" href="class_arenablock.html#a5">getCountAllocated</a> () const <li><a class="el" href="class_arenablock.html#s2">size_type</a> <a class="el" href="class_arenablock.html#a6">getBlockSize</a> () const <li>virtual bool <a class="el" href="class_arenablock.html#a7">ownsObject</a> (const ObjectType* theObject) const <li>bool <a class="el" href="class_arenablock.html#a8">ownsBlock</a> (const ObjectType* theObject) const <li>void <a class="el" href="class_arenablock.html#a9">destroyAll</a> () </ul> <h2>Protected Methods</h2> <ul> <li>virtual bool <a class="el" href="class_arenablock.html#b0">shouldDestroyBlock</a> (const ObjectType* ) const <li><a class="el" href="class_arenablock.html#s2">size_type</a> <a class="el" href="class_arenablock.html#b1">getBlockOffset</a> (const ObjectType* theObject) const <li>ObjectType* <a class="el" href="class_arenablock.html#b2">getBlockAddress</a> (<a class="el" href="class_arenablock.html#s2">size_type</a> theOffset) const </ul> <h2>Protected Attributes</h2> <ul> <li>const <a class="el" href="class_arenablock.html#s1">DestroyFunctionType</a> <a class="el" href="class_arenablock.html#n0">m_destroyFunction</a> </ul> <h2>Friends</h2> <ul> <li>struct <a class="el" href="class_arenablock.html#l0">DeleteFunctor</a> </ul> <hr><a name="_details"></a><h2>Detailed Description</h2> <h3>template<class ObjectType> class ArenaBlock</h3> <p> <hr><h2>Member Typedef Documentation</h2> <a name="s0" doxytag="ArenaBlock::AllocatorType"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> template<class ObjectType> <br> typedef std::allocator<ObjectType> ArenaBlock<ObjectType>::AllocatorType</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="s1" doxytag="ArenaBlock::DestroyFunctionType"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> template<class ObjectType> <br> typedef <a class="el" href="class_arenablockdestroy.html">ArenaBlockDestroy</a><ObjectType> ArenaBlock<ObjectType>::DestroyFunctionType</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="s2" doxytag="ArenaBlock::size_type"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> template<class ObjectType> <br> typedef AllocatorType::size_type ArenaBlock<ObjectType>::size_type</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> <p> Reimplemented in <a class="el" href="class_reusablearenablock.html#s1">ReusableArenaBlock</a>.</div> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="ArenaBlock::ArenaBlock"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> template<class ObjectType> <br> ArenaBlock<ObjectType>::ArenaBlock<ObjectType> ( </b></td> <td><b> <a class="el" href="class_arenablock.html#s2">size_type</a> <em>theBlockSize</em>)</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="a1" doxytag="ArenaBlock::~ArenaBlock"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> template<class ObjectType> <br> ArenaBlock<ObjectType>::~ArenaBlock<ObjectType> ()<code> [virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <hr><h2>Member Function Documentation</h2> <a name="a2" doxytag="ArenaBlock::allocateBlock"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> template<class ObjectType> <br> ObjectType * ArenaBlock<ObjectType>::allocateBlock ()<code> [virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> <p> Reimplemented in <a class="el" href="class_reusablearenablock.html#a2">ReusableArenaBlock</a>.</div> <a name="a4" doxytag="ArenaBlock::blockAvailable"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> template<class ObjectType> <br> bool ArenaBlock<ObjectType>::blockAvailable () const<code> [virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> <p> Reimplemented in <a class="el" href="class_reusablearenablock.html#a4">ReusableArenaBlock</a>.</div> <a name="a3" doxytag="ArenaBlock::commitAllocation"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> template<class ObjectType> <br> void ArenaBlock<ObjectType>::commitAllocation ( </b></td> <td><b> ObjectType * <em>theBlock</em>)<code> [virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> <p> Reimplemented in <a class="el" href="class_reusablearenablock.html#a3">ReusableArenaBlock</a>.</div> <a name="a9" doxytag="ArenaBlock::destroyAll"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> template<class ObjectType> <br> void ArenaBlock<ObjectType>::destroyAll ()</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b2" doxytag="ArenaBlock::getBlockAddress"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> template<class ObjectType> <br> ObjectType * ArenaBlock<ObjectType>::getBlockAddress ( </b></td> <td><b> <a class="el" href="class_arenablock.html#s2">size_type</a> <em>theOffset</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b1" doxytag="ArenaBlock::getBlockOffset"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> template<class ObjectType> <br> <a class="el" href="class_arenablock.html#s2">size_type</a> ArenaBlock<ObjectType>::getBlockOffset ( </b></td> <td><b> const ObjectType * <em>theObject</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="a6" doxytag="ArenaBlock::getBlockSize"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> template<class ObjectType> <br> <a class="el" href="class_arenablock.html#s2">size_type</a> ArenaBlock<ObjectType>::getBlockSize () const</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="a5" doxytag="ArenaBlock::getCountAllocated"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> template<class ObjectType> <br> <a class="el" href="class_arenablock.html#s2">size_type</a> ArenaBlock<ObjectType>::getCountAllocated () const<code> [virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> <p> Reimplemented in <a class="el" href="class_reusablearenablock.html#a5">ReusableArenaBlock</a>.</div> <a name="a8" doxytag="ArenaBlock::ownsBlock"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> template<class ObjectType> <br> bool ArenaBlock<ObjectType>::ownsBlock ( </b></td> <td><b> const ObjectType * <em>theObject</em>) const</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="a7" doxytag="ArenaBlock::ownsObject"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> template<class ObjectType> <br> bool ArenaBlock<ObjectType>::ownsObject ( </b></td> <td><b> const ObjectType * <em>theObject</em>) const<code> [virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> <p> Reimplemented in <a class="el" href="class_reusablearenablock.html#a6">ReusableArenaBlock</a>.</div> <a name="b0" doxytag="ArenaBlock::shouldDestroyBlock"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> template<class ObjectType> <br> bool ArenaBlock<ObjectType>::shouldDestroyBlock ( </b></td> <td><b> const ObjectType * <em>theObject</em>) const<code> [protected, virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> <p> Reimplemented in <a class="el" href="class_reusablearenablock.html#b0">ReusableArenaBlock</a>.</div> <hr><h2>Friends And Related Function Documentation</h2> <a name="l0" doxytag="ArenaBlock::DeleteFunctor"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> template<class ObjectType> <br> struct DeleteFunctor<code> [friend]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <hr><h2>Member Data Documentation</h2> <a name="n0" doxytag="ArenaBlock::m_destroyFunction"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> template<class ObjectType> <br> const <a class="el" href="class_arenablock.html#s1">DestroyFunctionType</a> ArenaBlock<ObjectType>::m_destroyFunction<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="ArenaBlock.hpp.html">ArenaBlock.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++ XSLT Processor Version 1.4</B><BR> Copyright © 2000, 2001, 2002 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>