| <!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>XalanArrayAllocator< Type > Class Template Reference</h1> </div> |
| </div> |
| <div class="contents"> |
| <!-- doxytag: class="XalanArrayAllocator" --> |
| <p><code>#include <<a class="el" href="XalanArrayAllocator_8hpp_source.html">XalanArrayAllocator.hpp</a>></code></p> |
| <div class="dynheader"> |
| Collaboration diagram for XalanArrayAllocator< Type >:</div> |
| <div class="dyncontent"> |
| <div class="center"><img src="classXalanArrayAllocator__coll__graph.png" border="0" usemap="#XalanArrayAllocator_3_01Type_01_4_coll__map" alt="Collaboration graph"/></div> |
| <map name="XalanArrayAllocator_3_01Type_01_4_coll__map" id="XalanArrayAllocator_3_01Type_01_4_coll__map"> |
| <area shape="rect" id="node2" href="classXalanList.html" title="XalanList\< ListEntryType \>" alt="" coords="12,123,207,152"/><area shape="rect" id="node4" href="structXalanList_1_1Node.html" title="XalanList\< Type \>::Node" alt="" coords="19,8,200,37"/></map> |
| <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> |
| |
| <p><a href="classXalanArrayAllocator-members.html">List of all members.</a></p> |
| <h2><a name="pub-types"></a> |
| Public Types</h2> |
| <ul> |
| <li>enum { <a class="el" href="classXalanArrayAllocator.html#ac67ec10dcff5b51ee22908a05f7adc12a8e3ee16b2cda1395ffc03b824d8eeb14">eDefaultBlockSize</a> = 500 |
| } |
| <li>typedef <a class="el" href="classXalanVector.html">XalanVector</a>< Type > <a class="el" href="classXalanArrayAllocator.html#a4d8c37dc8ac16aaaad0990487c853e50">VectorType</a> |
| <li>typedef <a class="el" href="classXalanVector.html#ad6fb8b1165e71ac328cf6408c529548f">VectorType::size_type</a> <a class="el" href="classXalanArrayAllocator.html#a8349fa0abb51cc1b9a0b8ffd5478b17a">size_type</a> |
| <li>typedef XALAN_STD_QUALIFIER <br class="typebreak"/> |
| pair< <a class="el" href="classXalanArrayAllocator.html#a8349fa0abb51cc1b9a0b8ffd5478b17a">size_type</a>, <a class="el" href="classXalanVector.html">VectorType</a> * > <a class="el" href="classXalanArrayAllocator.html#a32397a50cd5fb474d748119451e706e3">ListEntryType</a> |
| <li>typedef <a class="el" href="classXalanList.html">XalanList</a>< <a class="el" href="classXalanArrayAllocator.html#a32397a50cd5fb474d748119451e706e3">ListEntryType</a> > <a class="el" href="classXalanArrayAllocator.html#a8de5f351f5ed3db37309ecb1a47a4230">ListType</a> |
| <li>typedef Type <a class="el" href="classXalanArrayAllocator.html#a0a655e8bd06efb59c33f93c360aadf9b">value_type</a> |
| <li>typedef <a class="el" href="structXalanListIteratorBase.html">ListType::iterator</a> <a class="el" href="classXalanArrayAllocator.html#ac4308529206dfa2b45f7aea64953c2ed">ListIteratorType</a> |
| </ul> |
| <h2><a name="pub-methods"></a> |
| Public Member Functions</h2> |
| <ul> |
| <li><a class="el" href="classXalanArrayAllocator.html#aa4f6607bd8c34fb2355325308f31ad4f">XalanArrayAllocator</a> (MemoryManager &theManager, <a class="el" href="classXalanArrayAllocator.html#a8349fa0abb51cc1b9a0b8ffd5478b17a">size_type</a> theBlockSize=eDefaultBlockSize) |
| <dl class="el"><dd class="mdescRight">Constructor. <a href="#aa4f6607bd8c34fb2355325308f31ad4f"></a><br/></dl><li><a class="el" href="classXalanArrayAllocator.html#aeb21356fcce70f26e53b06f518e8d0a6">~XalanArrayAllocator</a> () |
| <li>void <a class="el" href="classXalanArrayAllocator.html#a96cbdf822de28f8e6a9d6b65ca714e56">clear</a> () |
| <dl class="el"><dd class="mdescRight">Clear the instance, and release all allocated memory. <a href="#a96cbdf822de28f8e6a9d6b65ca714e56"></a><br/></dl><li>void <a class="el" href="classXalanArrayAllocator.html#a61e9781bb3fe76c59b8b92d81b8cffac">reset</a> () |
| <dl class="el"><dd class="mdescRight">Reset the instance, but keep all memory so it can be reused for allocations. <a href="#a61e9781bb3fe76c59b8b92d81b8cffac"></a><br/></dl><li>Type * <a class="el" href="classXalanArrayAllocator.html#a036982e97b0979c4a38fcce062ecadf8">allocate</a> (<a class="el" href="classXalanArrayAllocator.html#a8349fa0abb51cc1b9a0b8ffd5478b17a">size_type</a> theCount) |
| <dl class="el"><dd class="mdescRight">Allocate slots for the given number of Types instance and return the address of the slots. <a href="#a036982e97b0979c4a38fcce062ecadf8"></a><br/></dl></ul> |
| <hr/><a name="_details"></a><h2>Detailed Description</h2> |
| <h3>template<class Type><br/> |
| class XalanArrayAllocator< Type ></h3> |
| |
| |
| <p>Definition at line <a class="el" href="XalanArrayAllocator_8hpp_source.html#l00042">42</a> of file <a class="el" href="XalanArrayAllocator_8hpp_source.html">XalanArrayAllocator.hpp</a>.</p> |
| <hr/><h2>Member Typedef Documentation</h2> |
| <a class="anchor" id="a32397a50cd5fb474d748119451e706e3"></a><!-- doxytag: member="XalanArrayAllocator::ListEntryType" ref="a32397a50cd5fb474d748119451e706e3" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<class Type> </div> |
| <table class="memname"> |
| <tr> |
| <td class="memname">typedef XALAN_STD_QUALIFIER pair<<a class="el" href="classXalanArrayAllocator.html#a8349fa0abb51cc1b9a0b8ffd5478b17a">size_type</a>, <a class="el" href="classXalanVector.html">VectorType</a> * > <a class="el" href="classXalanArrayAllocator.html">XalanArrayAllocator</a>< Type >::<a class="el" href="classXalanArrayAllocator.html#a32397a50cd5fb474d748119451e706e3">ListEntryType</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="XalanArrayAllocator_8hpp_source.html#l00049">49</a> of file <a class="el" href="XalanArrayAllocator_8hpp_source.html">XalanArrayAllocator.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ac4308529206dfa2b45f7aea64953c2ed"></a><!-- doxytag: member="XalanArrayAllocator::ListIteratorType" ref="ac4308529206dfa2b45f7aea64953c2ed" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<class Type> </div> |
| <table class="memname"> |
| <tr> |
| <td class="memname">typedef <a class="el" href="structXalanListIteratorBase.html">ListType::iterator</a> <a class="el" href="classXalanArrayAllocator.html">XalanArrayAllocator</a>< Type >::<a class="el" href="structXalanListIteratorBase.html">ListIteratorType</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="XalanArrayAllocator_8hpp_source.html#l00054">54</a> of file <a class="el" href="XalanArrayAllocator_8hpp_source.html">XalanArrayAllocator.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a8de5f351f5ed3db37309ecb1a47a4230"></a><!-- doxytag: member="XalanArrayAllocator::ListType" ref="a8de5f351f5ed3db37309ecb1a47a4230" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<class Type> </div> |
| <table class="memname"> |
| <tr> |
| <td class="memname">typedef <a class="el" href="classXalanList.html">XalanList</a><<a class="el" href="classXalanArrayAllocator.html#a32397a50cd5fb474d748119451e706e3">ListEntryType</a>> <a class="el" href="classXalanArrayAllocator.html">XalanArrayAllocator</a>< Type >::<a class="el" href="classXalanList.html">ListType</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="XalanArrayAllocator_8hpp_source.html#l00050">50</a> of file <a class="el" href="XalanArrayAllocator_8hpp_source.html">XalanArrayAllocator.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a8349fa0abb51cc1b9a0b8ffd5478b17a"></a><!-- doxytag: member="XalanArrayAllocator::size_type" ref="a8349fa0abb51cc1b9a0b8ffd5478b17a" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<class Type> </div> |
| <table class="memname"> |
| <tr> |
| <td class="memname">typedef <a class="el" href="classXalanVector.html#ad6fb8b1165e71ac328cf6408c529548f">VectorType::size_type</a> <a class="el" href="classXalanArrayAllocator.html">XalanArrayAllocator</a>< Type >::<a class="el" href="classXalanArrayAllocator.html#a8349fa0abb51cc1b9a0b8ffd5478b17a">size_type</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="XalanArrayAllocator_8hpp_source.html#l00047">47</a> of file <a class="el" href="XalanArrayAllocator_8hpp_source.html">XalanArrayAllocator.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a0a655e8bd06efb59c33f93c360aadf9b"></a><!-- doxytag: member="XalanArrayAllocator::value_type" ref="a0a655e8bd06efb59c33f93c360aadf9b" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<class Type> </div> |
| <table class="memname"> |
| <tr> |
| <td class="memname">typedef Type <a class="el" href="classXalanArrayAllocator.html">XalanArrayAllocator</a>< Type >::<a class="el" href="classXalanArrayAllocator.html#a0a655e8bd06efb59c33f93c360aadf9b">value_type</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="XalanArrayAllocator_8hpp_source.html#l00052">52</a> of file <a class="el" href="XalanArrayAllocator_8hpp_source.html">XalanArrayAllocator.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a4d8c37dc8ac16aaaad0990487c853e50"></a><!-- doxytag: member="XalanArrayAllocator::VectorType" ref="a4d8c37dc8ac16aaaad0990487c853e50" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<class Type> </div> |
| <table class="memname"> |
| <tr> |
| <td class="memname">typedef <a class="el" href="classXalanVector.html">XalanVector</a><Type> <a class="el" href="classXalanArrayAllocator.html">XalanArrayAllocator</a>< Type >::<a class="el" href="classXalanVector.html">VectorType</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="XalanArrayAllocator_8hpp_source.html#l00046">46</a> of file <a class="el" href="XalanArrayAllocator_8hpp_source.html">XalanArrayAllocator.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <hr/><h2>Member Enumeration Documentation</h2> |
| <a class="anchor" id="ac67ec10dcff5b51ee22908a05f7adc12"></a><!-- doxytag: member="XalanArrayAllocator::@22" ref="ac67ec10dcff5b51ee22908a05f7adc12" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<class Type> </div> |
| <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="ac67ec10dcff5b51ee22908a05f7adc12a8e3ee16b2cda1395ffc03b824d8eeb14"></a><!-- doxytag: member="eDefaultBlockSize" ref="ac67ec10dcff5b51ee22908a05f7adc12a8e3ee16b2cda1395ffc03b824d8eeb14" args="" -->eDefaultBlockSize</em> </td><td> |
| </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Definition at line <a class="el" href="XalanArrayAllocator_8hpp_source.html#l00057">57</a> of file <a class="el" href="XalanArrayAllocator_8hpp_source.html">XalanArrayAllocator.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <hr/><h2>Constructor & Destructor Documentation</h2> |
| <a class="anchor" id="aa4f6607bd8c34fb2355325308f31ad4f"></a><!-- doxytag: member="XalanArrayAllocator::XalanArrayAllocator" ref="aa4f6607bd8c34fb2355325308f31ad4f" args="(MemoryManager &theManager, size_type theBlockSize=eDefaultBlockSize)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<class Type> </div> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classXalanArrayAllocator.html">XalanArrayAllocator</a>< Type >::<a class="el" href="classXalanArrayAllocator.html">XalanArrayAllocator</a> </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="classXalanArrayAllocator.html#a8349fa0abb51cc1b9a0b8ffd5478b17a">size_type</a> </td> |
| <td class="paramname"> <em>theBlockSize</em> = <code>eDefaultBlockSize</code></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>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>theBlockSize</em> </td><td>The block size when allocating. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Definition at line <a class="el" href="XalanArrayAllocator_8hpp_source.html#l00064">64</a> of file <a class="el" href="XalanArrayAllocator_8hpp_source.html">XalanArrayAllocator.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="aeb21356fcce70f26e53b06f518e8d0a6"></a><!-- doxytag: member="XalanArrayAllocator::~XalanArrayAllocator" ref="aeb21356fcce70f26e53b06f518e8d0a6" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<class Type> </div> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classXalanArrayAllocator.html">XalanArrayAllocator</a>< Type >::~<a class="el" href="classXalanArrayAllocator.html">XalanArrayAllocator</a> </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td><code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="XalanArrayAllocator_8hpp_source.html#l00072">72</a> of file <a class="el" href="XalanArrayAllocator_8hpp_source.html">XalanArrayAllocator.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <hr/><h2>Member Function Documentation</h2> |
| <a class="anchor" id="a036982e97b0979c4a38fcce062ecadf8"></a><!-- doxytag: member="XalanArrayAllocator::allocate" ref="a036982e97b0979c4a38fcce062ecadf8" args="(size_type theCount)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<class Type> </div> |
| <table class="memname"> |
| <tr> |
| <td class="memname">Type* <a class="el" href="classXalanArrayAllocator.html">XalanArrayAllocator</a>< Type >::allocate </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classXalanArrayAllocator.html#a8349fa0abb51cc1b9a0b8ffd5478b17a">size_type</a> </td> |
| <td class="paramname"> <em>theCount</em></td> |
| <td> ) </td> |
| <td><code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Allocate slots for the given number of Types instance and return the address of the slots. </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> </td><td>The number of slots to allocate </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Definition at line <a class="el" href="XalanArrayAllocator_8hpp_source.html#l00138">138</a> of file <a class="el" href="XalanArrayAllocator_8hpp_source.html">XalanArrayAllocator.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a96cbdf822de28f8e6a9d6b65ca714e56"></a><!-- doxytag: member="XalanArrayAllocator::clear" ref="a96cbdf822de28f8e6a9d6b65ca714e56" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<class Type> </div> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void <a class="el" href="classXalanArrayAllocator.html">XalanArrayAllocator</a>< Type >::clear </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td><code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Clear the instance, and release all allocated memory. </p> |
| |
| <p>Definition at line <a class="el" href="XalanArrayAllocator_8hpp_source.html#l00096">96</a> of file <a class="el" href="XalanArrayAllocator_8hpp_source.html">XalanArrayAllocator.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a61e9781bb3fe76c59b8b92d81b8cffac"></a><!-- doxytag: member="XalanArrayAllocator::reset" ref="a61e9781bb3fe76c59b8b92d81b8cffac" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<class Type> </div> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void <a class="el" href="classXalanArrayAllocator.html">XalanArrayAllocator</a>< Type >::reset </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td><code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Reset the instance, but keep all memory so it can be reused for allocations. </p> |
| <p>This invalidates all previous allocations. </p> |
| |
| <p>Definition at line <a class="el" href="XalanArrayAllocator_8hpp_source.html#l00109">109</a> of file <a class="el" href="XalanArrayAllocator_8hpp_source.html">XalanArrayAllocator.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <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></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> |