blob: a67715cc94487ffb5b5892e1ff8e5e1f34d04949 [file] [log] [blame]
<!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&nbsp;Page</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;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&nbsp;List</span></a></li>
<li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> </div>
<div class="headertitle">
<h1>CountersTable Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="CountersTable" -->
<p>&lt;meta name="usage" content="internal"&gt; This is a table of counters, keyed by <a class="el" href="classElemNumber.html">ElemNumber</a> objects, each of which has a list of <a class="el" href="structCounter.html" title="&lt;meta name=&quot;usage&quot; content=&quot;internal&quot;&gt; A class that does incremental counti...">Counter</a> objects.
<a href="#_details">More...</a></p>
<p><code>#include &lt;<a class="el" href="CountersTable_8hpp_source.html">CountersTable.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for CountersTable:</div>
<div class="dyncontent">
<div class="center"><img src="classCountersTable__coll__graph.png" border="0" usemap="#CountersTable_coll__map" alt="Collaboration graph"/></div>
<map name="CountersTable_coll__map" id="CountersTable_coll__map">
<area shape="rect" id="node2" href="classXalanVector.html" title="XalanVector\&lt; Type, ConstructionTraits \&gt;" alt="" coords="5,5,288,35"/><area shape="rect" id="node4" href="classXalanVector.html" title="XalanVector\&lt; XalanNode * \&gt;" alt="" coords="312,5,523,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classCountersTable-members.html">List of all members.</a></p>
<h2><a name="pub-types"></a>
Public Types</h2>
<ul>
<li>typedef <a class="el" href="structCounter.html#aee390e9ac0f16749ed982b9a338e1c25">Counter::CountType</a> <a class="el" href="classCountersTable.html#a20bdfa6d843b7b335bf2d7104bb5da22">CountType</a>
<li>typedef <a class="el" href="classXalanVector.html">CounterVectorTypeDecl</a> <a class="el" href="classCountersTable.html#ab776c09ad4c16eb776909a4bde5bb86f">CounterVectorType</a>
<li>typedef <br class="typebreak"/>
<a class="el" href="classXalanVector.html">ElemCounterVectorVectorTypeDecl</a> <a class="el" href="classCountersTable.html#ae5e2027521719a7ea4591e65a40296aa">ElemCounterVectorVectorType</a>
<li>typedef <a class="el" href="classXalanVector.html">Counter::NodeVectorType</a> <a class="el" href="classCountersTable.html#a49b56bb6f49bfbb3764e0548977ed5ae">NodeVectorType</a>
</ul>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="classCountersTable.html#a3f07ce82dc7375b0d2243814ef4be9dd">CountersTable</a> (MemoryManager &amp;theManager, unsigned long theSize=0)
<dl class="el"><dd class="mdescRight">Construct a <a class="el" href="classCountersTable.html" title="&lt;meta name=&quot;usage&quot; content=&quot;internal&quot;&gt; This is a table of counters...">CountersTable</a>. <a href="#a3f07ce82dc7375b0d2243814ef4be9dd"></a><br/></dl><li><a class="el" href="classCountersTable.html#ac079ba0be4b31891b4d90e1eca3385ce">~CountersTable</a> ()
<li>void <a class="el" href="classCountersTable.html#a971e3aab0a7fbcec959f85e3ae8147a6">resize</a> (unsigned long theSize)
<dl class="el"><dd class="mdescRight">Resize the table. <a href="#a971e3aab0a7fbcec959f85e3ae8147a6"></a><br/></dl><li><a class="el" href="classCountersTable.html#a20bdfa6d843b7b335bf2d7104bb5da22">CountType</a> <a class="el" href="classCountersTable.html#a87c0ee1b5787aa261768c232b8f1fc5a">countNode</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;executionContext, const <a class="el" href="classElemNumber.html">ElemNumber</a> &amp;numberElem, <a class="el" href="classXalanNode.html">XalanNode</a> *node)
<dl class="el"><dd class="mdescRight">Count forward until the given node is found, or until we have looked to the given amount. <a href="#a87c0ee1b5787aa261768c232b8f1fc5a"></a><br/></dl><li>void <a class="el" href="classCountersTable.html#a41b495e6769a686736d95b532545825b">reset</a> ()
<dl class="el"><dd class="mdescRight">Clear all cached data from the table. <a href="#a41b495e6769a686736d95b532545825b"></a><br/></dl></ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>&lt;meta name="usage" content="internal"&gt; This is a table of counters, keyed by <a class="el" href="classElemNumber.html">ElemNumber</a> objects, each of which has a list of <a class="el" href="structCounter.html" title="&lt;meta name=&quot;usage&quot; content=&quot;internal&quot;&gt; A class that does incremental counti...">Counter</a> objects. </p>
<p>This really isn't a true table, it is more like a list of lists (there must be a technical term for that...). </p>
<p>Definition at line <a class="el" href="CountersTable_8hpp_source.html#l00157">157</a> of file <a class="el" href="CountersTable_8hpp_source.html">CountersTable.hpp</a>.</p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="ab776c09ad4c16eb776909a4bde5bb86f"></a><!-- doxytag: member="CountersTable::CounterVectorType" ref="ab776c09ad4c16eb776909a4bde5bb86f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classXalanVector.html">CounterVectorTypeDecl</a> <a class="el" href="classXalanVector.html">CountersTable::CounterVectorType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="CountersTable_8hpp_source.html#l00163">163</a> of file <a class="el" href="CountersTable_8hpp_source.html">CountersTable.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a20bdfa6d843b7b335bf2d7104bb5da22"></a><!-- doxytag: member="CountersTable::CountType" ref="a20bdfa6d843b7b335bf2d7104bb5da22" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="structCounter.html#aee390e9ac0f16749ed982b9a338e1c25">Counter::CountType</a> <a class="el" href="classCountersTable.html#a20bdfa6d843b7b335bf2d7104bb5da22">CountersTable::CountType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="CountersTable_8hpp_source.html#l00161">161</a> of file <a class="el" href="CountersTable_8hpp_source.html">CountersTable.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="ae5e2027521719a7ea4591e65a40296aa"></a><!-- doxytag: member="CountersTable::ElemCounterVectorVectorType" ref="ae5e2027521719a7ea4591e65a40296aa" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classXalanVector.html">ElemCounterVectorVectorTypeDecl</a> <a class="el" href="classXalanVector.html">CountersTable::ElemCounterVectorVectorType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="CountersTable_8hpp_source.html#l00164">164</a> of file <a class="el" href="CountersTable_8hpp_source.html">CountersTable.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a49b56bb6f49bfbb3764e0548977ed5ae"></a><!-- doxytag: member="CountersTable::NodeVectorType" ref="a49b56bb6f49bfbb3764e0548977ed5ae" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classXalanVector.html">Counter::NodeVectorType</a> <a class="el" href="classXalanVector.html">CountersTable::NodeVectorType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="CountersTable_8hpp_source.html#l00166">166</a> of file <a class="el" href="CountersTable_8hpp_source.html">CountersTable.hpp</a>.</p>
</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a3f07ce82dc7375b0d2243814ef4be9dd"></a><!-- doxytag: member="CountersTable::CountersTable" ref="a3f07ce82dc7375b0d2243814ef4be9dd" args="(MemoryManager &amp;theManager, unsigned long theSize=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CountersTable::CountersTable </td>
<td>(</td>
<td class="paramtype">MemoryManager &amp;&nbsp;</td>
<td class="paramname"> <em>theManager</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned long&nbsp;</td>
<td class="paramname"> <em>theSize</em> = <code>0</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Construct a <a class="el" href="classCountersTable.html" title="&lt;meta name=&quot;usage&quot; content=&quot;internal&quot;&gt; This is a table of counters...">CountersTable</a>. </p>
<p>Definition at line <a class="el" href="CountersTable_8hpp_source.html#l00171">171</a> of file <a class="el" href="CountersTable_8hpp_source.html">CountersTable.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="ac079ba0be4b31891b4d90e1eca3385ce"></a><!-- doxytag: member="CountersTable::~CountersTable" ref="ac079ba0be4b31891b4d90e1eca3385ce" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CountersTable::~CountersTable </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="CountersTable_8hpp_source.html#l00179">179</a> of file <a class="el" href="CountersTable_8hpp_source.html">CountersTable.hpp</a>.</p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a87c0ee1b5787aa261768c232b8f1fc5a"></a><!-- doxytag: member="CountersTable::countNode" ref="a87c0ee1b5787aa261768c232b8f1fc5a" args="(StylesheetExecutionContext &amp;executionContext, const ElemNumber &amp;numberElem, XalanNode *node)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classCountersTable.html#a20bdfa6d843b7b335bf2d7104bb5da22">CountType</a> CountersTable::countNode </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>executionContext</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classElemNumber.html">ElemNumber</a> &amp;&nbsp;</td>
<td class="paramname"> <em>numberElem</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXalanNode.html">XalanNode</a> *&nbsp;</td>
<td class="paramname"> <em>node</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Count forward until the given node is found, or until we have looked to the given amount. </p>
<p>The current execution context; The executing <a class="el" href="classElemNumber.html">ElemNumber</a> The node to count. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The node count, or 0 if not found. </dd></dl>
</div>
</div>
<a class="anchor" id="a41b495e6769a686736d95b532545825b"></a><!-- doxytag: member="CountersTable::reset" ref="a41b495e6769a686736d95b532545825b" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CountersTable::reset </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Clear all cached data from the table. </p>
<p>Definition at line <a class="el" href="CountersTable_8hpp_source.html#l00215">215</a> of file <a class="el" href="CountersTable_8hpp_source.html">CountersTable.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a971e3aab0a7fbcec959f85e3ae8147a6"></a><!-- doxytag: member="CountersTable::resize" ref="a971e3aab0a7fbcec959f85e3ae8147a6" args="(unsigned long theSize)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CountersTable::resize </td>
<td>(</td>
<td class="paramtype">unsigned long&nbsp;</td>
<td class="paramname"> <em>theSize</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Resize the table. </p>
<p>The must be done prior to using the table, if the size was not past in the constructor.</p>
<p>The new size </p>
<p>Definition at line <a class="el" href="CountersTable_8hpp_source.html#l00191">191</a> of file <a class="el" href="CountersTable_8hpp_source.html">CountersTable.hpp</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="CountersTable_8hpp_source.html">CountersTable.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 &copy; 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>