blob: 663cc043a8a01c295688615738c85ecddcc63eca [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> &#124;
<a href="#pub-attribs">Public Attributes</a> </div>
<div class="headertitle">
<h1>Counter Struct Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="Counter" -->
<p>&lt;meta name="usage" content="internal"&gt; A class that does incremental counting for support of xsl:number.
<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 Counter:</div>
<div class="dyncontent">
<div class="center"><img src="structCounter__coll__graph.png" border="0" usemap="#Counter_coll__map" alt="Collaboration graph"/></div>
<map name="Counter_coll__map" id="Counter_coll__map">
<area shape="rect" id="node2" href="classXalanNode.html" title="XalanNode" alt="" coords="2868,512,2961,541"/><area shape="rect" id="node4" href="classElemNumber.html" title="ElemNumber" alt="" coords="2861,459,2968,488"/><area shape="rect" id="node6" href="classElemTemplateElement.html" title="ElemTemplateElement" alt="" coords="2276,1015,2441,1044"/><area shape="rect" id="node29" href="classElemTextLiteral.html" title="ElemTextLiteral" alt="" coords="2856,921,2973,951"/><area shape="rect" id="node47" href="classElemTemplate.html" title="ElemTemplate" alt="" coords="2859,1081,2971,1111"/><area shape="rect" id="node99" href="classStylesheetRoot.html" title="This acts as the stylesheet root of the stylesheet tree, and holds values that are shared by all styl..." alt="" coords="3735,1355,3852,1384"/><area shape="rect" id="node8" href="classPrefixResolver.html" title="This class defines an interface for classes that resolve namespace prefixes to their URIs..." alt="" coords="1901,872,2011,901"/><area shape="rect" id="node70" href="classStylesheet.html" title="This class represents the base stylesheet or an &quot;import&quot; stylesheet." alt="" coords="3363,1355,3453,1384"/><area shape="rect" id="node10" href="classNamespacesHandler.html" title="NamespacesHandler" alt="" coords="1879,1109,2033,1139"/><area shape="rect" id="node12" href="classXalanVector.html" title="XalanVector\&lt; Namespace \&gt;" alt="" coords="1295,1083,1500,1112"/><area shape="rect" id="node14" href="classXalanMap.html" title="XalanMap\&lt; const XalanDOMString *, const XalanDOMString * \&gt;" alt="" coords="1180,1471,1615,1500"/><area shape="rect" id="node16" href="classXalanVector.html" title="XalanVector\&lt; BucketType, ConstructWithMemoryManagerTraits\&lt; BucketType \&gt; \&gt;" alt="" coords="433,1881,977,1911"/><area shape="rect" id="node73" href="classXalanMap.html" title="XalanMap\&lt; XalanDOMString, ExtensionNSHandler * \&gt;" alt="" coords="1212,1799,1583,1828"/><area shape="rect" id="node87" href="classXalanMap.html" title="XalanMap\&lt; XalanDOMString, PatternTableVectorType \&gt;" alt="" coords="1208,1881,1587,1911"/><area shape="rect" id="node102" href="classXalanMap.html" title="XalanMap\&lt; const XalanQName *, AttributeSetVectorType \&gt;" alt="" coords="1193,2051,1601,2080"/><area shape="rect" id="node113" href="classXalanMap.html" title="XalanMap\&lt; XalanQNameByReference, const ElemTemplate * \&gt;" alt="" coords="1183,1599,1612,1628"/><area shape="rect" id="node18" href="structXalanMapKeyTraits_3_01const_01XalanDOMString_01_5_01_4.html" title="XalanMapKeyTraits\&lt; const XalanDOMString * \&gt;" alt="" coords="541,1411,869,1440"/><area shape="rect" id="node20" href="classXalanList.html" title="XalanList\&lt; Entry \&gt;" alt="" coords="633,1720,777,1749"/><area shape="rect" id="node22" href="structXalanList_1_1Node.html" title="XalanList\&lt; Type \&gt;::Node" alt="" coords="44,1720,225,1749"/><area shape="rect" id="node25" href="classXalanVector.html" title="XalanVector\&lt; const XalanDOMString * \&gt;" alt="" coords="1255,1136,1540,1165"/><area shape="rect" id="node27" href="classXalanVector.html" title="XalanVector\&lt; NamespaceExtended \&gt;" alt="" coords="1264,1029,1531,1059"/><area shape="rect" id="node32" href="classXalanQNameByReference.html" title="XalanQNameByReference" alt="" coords="1863,1227,2049,1256"/><area shape="rect" id="node34" href="classXalanQName.html" title="Class to represent a qualified name." alt="" coords="1344,1272,1451,1301"/><area shape="rect" id="node36" href="classXalanDOMString.html" title="XalanDOMString" alt="" coords="641,833,769,863"/><area shape="rect" id="node41" href="classElemTemplateElement_1_1LocatorProxy.html" title="ElemTemplateElement::LocatorProxy" alt="" coords="1269,925,1525,955"/><area shape="rect" id="node50" href="classXPath.html" title="XPath" alt="" coords="1925,632,1987,661"/><area shape="rect" id="node58" href="classXPathExpression.html" title="XPathExpression" alt="" coords="1332,632,1463,661"/><area shape="rect" id="node125" href="classXalanNamespace.html" title="XalanNamespace" alt="" coords="1329,1411,1465,1440"/><area shape="rect" id="node131" href="classXalanNumberingResourceBundle.html" title="XalanNumberingResourceBundle" alt="" coords="1281,204,1513,233"/><area shape="rect" id="node140" href="classAVT.html" title="Class to hold an Attribute Value Template." alt="" coords="1375,400,1420,429"/><area shape="rect" id="node38" href="classXalanVector.html" title="XalanVector\&lt; XalanDOMChar \&gt;" alt="" coords="21,263,248,292"/><area shape="rect" id="node43" href="classXalanLocator.html" title="This class defines a base class for Locator derivations in Xalan." alt="" coords="652,1011,759,1040"/><area shape="rect" id="node52" href="classXPathFunctionTable.html" title="Class defines a table of functions that can be called in XPath expresions." alt="" coords="1324,531,1471,560"/><area shape="rect" id="node54" href="classFunction.html" title="Function" alt="" coords="668,523,743,552"/><area shape="rect" id="node56" href="structXPathFunctionTable_1_1FunctionNameTableEntry.html" title="XPathFunctionTable::FunctionNameTableEntry" alt="" coords="548,465,863,495"/><area shape="rect" id="node60" href="classXalanVector.html" title="XalanVector\&lt; XToken \&gt;" alt="" coords="617,576,793,605"/><area shape="rect" id="node62" href="classXalanVector.html" title="XalanVector\&lt; int \&gt;" alt="" coords="632,629,779,659"/><area shape="rect" id="node64" href="classXalanVector.html" title="XalanVector\&lt; double \&gt;" alt="" coords="619,683,792,712"/><area shape="rect" id="node77" href="structXalanMapKeyTraits_3_01XalanDOMString_01_4.html" title="XalanMapKeyTraits\&lt; XalanDOMString \&gt;" alt="" coords="567,2116,844,2145"/><area shape="rect" id="node80" href="classXalanVector.html" title="XalanVector\&lt; Stylesheet * \&gt;" alt="" coords="2811,1643,3019,1672"/><area shape="rect" id="node82" href="classXalanVector.html" title="XalanVector\&lt; ElemVariable * \&gt;" alt="" coords="2803,1696,3027,1725"/><area shape="rect" id="node85" href="classXalanVector.html" title="XalanVector\&lt; XalanSpaceNodeTester \&gt;" alt="" coords="2775,1749,3055,1779"/><area shape="rect" id="node92" href="classXalanVector.html" title="XalanVector\&lt; Type, ConstructionTraits \&gt;" alt="" coords="2773,975,3056,1004"/><area shape="rect" id="node94" href="classXalanVector.html" title="XalanVector\&lt; XalanDOMString \&gt;" alt="" coords="2797,1028,3032,1057"/><area shape="rect" id="node97" href="classXalanVector.html" title="XalanVector\&lt; ElemDecimalFormat * \&gt;" alt="" coords="2780,1135,3049,1164"/><area shape="rect" id="node104" href="structXalanMapKeyTraits_3_01const_01XalanQName_01_5_01_4.html" title="XalanMapKeyTraits\&lt; const XalanQName * \&gt;" alt="" coords="551,2239,860,2268"/><area shape="rect" id="node110" href="classXalanVector.html" title="XalanVector\&lt; const XalanQName * \&gt;" alt="" coords="3275,1915,3541,1944"/><area shape="rect" id="node116" href="structXalanMapKeyTraits_3_01XalanQNameByReference_01_4.html" title="XalanMapKeyTraits\&lt; XalanQNameByReference \&gt;" alt="" coords="536,1541,875,1571"/><area shape="rect" id="node118" href="structXalanMapKeyTraits_3_01XalanQName_01_4.html" title="XalanMapKeyTraits\&lt; XalanQName \&gt;" alt="" coords="5,1541,264,1571"/><area shape="rect" id="node121" href="classXalanDeque.html" title="Xalan implementation of deque." alt="" coords="2467,1476,2749,1505"/><area shape="rect" id="node123" href="classXalanVector.html" title="XalanVector\&lt; BlockType * \&gt;" alt="" coords="1855,1461,2057,1491"/><area shape="rect" id="node128" href="classXalanVector.html" title="XalanVector\&lt; KeyDeclaration \&gt;" alt="" coords="2801,1355,3028,1384"/><area shape="rect" id="node133" href="classXalanVector.html" title="XalanVector\&lt; XalanDOMCharVectorType \&gt;" alt="" coords="556,135,855,164"/><area shape="rect" id="node136" href="classXalanVector.html" title="XalanVector\&lt; NumberType \&gt;" alt="" coords="600,204,811,233"/><area shape="rect" id="node143" href="classAVTPart.html" title="Class to hold a part, either a string or XPath, of an Attribute Value Template." alt="" coords="669,335,741,364"/><area shape="rect" id="node145" href="structDecimalToRoman.html" title="Structure to help in converting integrals to roman numerals." alt="" coords="2292,381,2425,411"/><area shape="rect" id="node147" href="classXalanVector.html" title="XalanVector\&lt; XalanNode * \&gt;" alt="" coords="2809,405,3020,435"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="structCounter-members.html">List of all members.</a></p>
<h2><a name="pub-types"></a>
Public Types</h2>
<ul>
<li>typedef XalanSize_t <a class="el" href="structCounter.html#aee390e9ac0f16749ed982b9a338e1c25">CountType</a>
<li>typedef <a class="el" href="classXalanVector.html">XalanVector</a>&lt; <a class="el" href="classXalanNode.html">XalanNode</a> * &gt; <a class="el" href="structCounter.html#a022650faa0e93e8761a8f4bc0f68cf9e">NodeVectorType</a>
</ul>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="structCounter.html#a45b0137438af1afb99987a6e832dd99c">Counter</a> (MemoryManager &amp;theManager, const <a class="el" href="classElemNumber.html">ElemNumber</a> *numberElem, <a class="el" href="classXalanVector.html">NodeVectorType</a> &amp;countNodes)
<dl class="el"><dd class="mdescRight">Construct a counter object. <a href="#a45b0137438af1afb99987a6e832dd99c"></a><br/></dl><li><a class="el" href="structCounter.html#ae5a91d4627469bd3c6f3a7f63abd7e85">Counter</a> (MemoryManager &amp;theManager, const <a class="el" href="classElemNumber.html">ElemNumber</a> *numberElem=0)
<dl class="el"><dd class="mdescRight">Construct a counter object. <a href="#ae5a91d4627469bd3c6f3a7f63abd7e85"></a><br/></dl><li><a class="el" href="structCounter.html#a3745458f817b61eb23ab29e1af4b3fe6">Counter</a> (const <a class="el" href="structCounter.html">Counter</a> &amp;other, MemoryManager &amp;theManager)
<li><a class="el" href="structCounter.html#aee390e9ac0f16749ed982b9a338e1c25">CountType</a> <a class="el" href="structCounter.html#a90e81fa208d8357d21975664a3cc2a55">getPreviouslyCounted</a> (<a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;support, const <a class="el" href="classXalanNode.html">XalanNode</a> *node) const
<dl class="el"><dd class="mdescRight">Try to find a node that was previously counted. <a href="#a90e81fa208d8357d21975664a3cc2a55"></a><br/></dl><li><a class="el" href="classXalanNode.html">XalanNode</a> * <a class="el" href="structCounter.html#a35563b62845ede59937215d594b168ef">getLast</a> () const
<dl class="el"><dd class="mdescRight">Get the last node in the list. <a href="#a35563b62845ede59937215d594b168ef"></a><br/></dl></ul>
<h2><a name="pub-attribs"></a>
Public Attributes</h2>
<ul>
<li><a class="el" href="structCounter.html#aee390e9ac0f16749ed982b9a338e1c25">CountType</a> <a class="el" href="structCounter.html#ad689b14eaf8af5f933bc4f63c7357c3d">m_countNodesStartCount</a>
<dl class="el"><dd class="mdescRight">The start count from where m_countNodes counts from. <a href="#ad689b14eaf8af5f933bc4f63c7357c3d"></a><br/></dl><li><a class="el" href="classXalanVector.html">NodeVectorType</a> <a class="el" href="structCounter.html#aff0ad598a415d332b96a7cccbc93b0c3">m_countNodes</a>
<dl class="el"><dd class="mdescRight">A vector of all nodes counted so far. <a href="#aff0ad598a415d332b96a7cccbc93b0c3"></a><br/></dl><li>const <a class="el" href="classXalanNode.html">XalanNode</a> * <a class="el" href="structCounter.html#a958a14f109d23b1e7038b8420e2d75ae">m_fromNode</a>
<dl class="el"><dd class="mdescRight">The node from where the counting starts. <a href="#a958a14f109d23b1e7038b8420e2d75ae"></a><br/></dl><li>const <a class="el" href="classElemNumber.html">ElemNumber</a> * <a class="el" href="structCounter.html#a0b1c6a9a8e45bb5a07d2a03b951eb578">m_numberElem</a>
<dl class="el"><dd class="mdescRight">The owning xsl:number element. <a href="#a0b1c6a9a8e45bb5a07d2a03b951eb578"></a><br/></dl></ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>&lt;meta name="usage" content="internal"&gt; A class that does incremental counting for support of xsl:number. </p>
<p>This class stores a cache of counted nodes (m_countNodes). It tries to cache the counted nodes in document order... the node count is based on its position in the cache list </p>
<p>Definition at line <a class="el" href="CountersTable_8hpp_source.html#l00053">53</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="aee390e9ac0f16749ed982b9a338e1c25"></a><!-- doxytag: member="Counter::CountType" ref="aee390e9ac0f16749ed982b9a338e1c25" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef XalanSize_t <a class="el" href="structCounter.html#aee390e9ac0f16749ed982b9a338e1c25">Counter::CountType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="CountersTable_8hpp_source.html#l00055">55</a> of file <a class="el" href="CountersTable_8hpp_source.html">CountersTable.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a022650faa0e93e8761a8f4bc0f68cf9e"></a><!-- doxytag: member="Counter::NodeVectorType" ref="a022650faa0e93e8761a8f4bc0f68cf9e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classXalanVector.html">XalanVector</a>&lt;<a class="el" href="classXalanNode.html">XalanNode</a>*&gt; <a class="el" href="classXalanVector.html">Counter::NodeVectorType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="CountersTable_8hpp_source.html#l00057">57</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="a45b0137438af1afb99987a6e832dd99c"></a><!-- doxytag: member="Counter::Counter" ref="a45b0137438af1afb99987a6e832dd99c" args="(MemoryManager &amp;theManager, const ElemNumber *numberElem, NodeVectorType &amp;countNodes)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Counter::Counter </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">const <a class="el" href="classElemNumber.html">ElemNumber</a> *&nbsp;</td>
<td class="paramname"> <em>numberElem</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXalanVector.html">NodeVectorType</a> &amp;&nbsp;</td>
<td class="paramname"> <em>countNodes</em></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 counter object. </p>
<p>Definition at line <a class="el" href="CountersTable_8hpp_source.html#l00087">87</a> of file <a class="el" href="CountersTable_8hpp_source.html">CountersTable.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="ae5a91d4627469bd3c6f3a7f63abd7e85"></a><!-- doxytag: member="Counter::Counter" ref="ae5a91d4627469bd3c6f3a7f63abd7e85" args="(MemoryManager &amp;theManager, const ElemNumber *numberElem=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Counter::Counter </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">const <a class="el" href="classElemNumber.html">ElemNumber</a> *&nbsp;</td>
<td class="paramname"> <em>numberElem</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 counter object. </p>
<p>Definition at line <a class="el" href="CountersTable_8hpp_source.html#l00101">101</a> of file <a class="el" href="CountersTable_8hpp_source.html">CountersTable.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a3745458f817b61eb23ab29e1af4b3fe6"></a><!-- doxytag: member="Counter::Counter" ref="a3745458f817b61eb23ab29e1af4b3fe6" args="(const Counter &amp;other, MemoryManager &amp;theManager)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Counter::Counter </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structCounter.html">Counter</a> &amp;&nbsp;</td>
<td class="paramname"> <em>other</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">MemoryManager &amp;&nbsp;</td>
<td class="paramname"> <em>theManager</em></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>Definition at line <a class="el" href="CountersTable_8hpp_source.html#l00109">109</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="a35563b62845ede59937215d594b168ef"></a><!-- doxytag: member="Counter::getLast" ref="a35563b62845ede59937215d594b168ef" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXalanNode.html">XalanNode</a>* Counter::getLast </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get the last node in the list. </p>
<p>Definition at line <a class="el" href="CountersTable_8hpp_source.html#l00132">132</a> of file <a class="el" href="CountersTable_8hpp_source.html">CountersTable.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a90e81fa208d8357d21975664a3cc2a55"></a><!-- doxytag: member="Counter::getPreviouslyCounted" ref="a90e81fa208d8357d21975664a3cc2a55" args="(StylesheetExecutionContext &amp;support, const XalanNode *node) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structCounter.html#aee390e9ac0f16749ed982b9a338e1c25">CountType</a> Counter::getPreviouslyCounted </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classStylesheetExecutionContext.html">StylesheetExecutionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>support</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <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> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Try to find a node that was previously counted. </p>
<p>If found, return a positive integer that corresponds to the count. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>node</em>&nbsp;</td><td>The node to be counted. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The count of the node, or 0 if not found. </dd></dl>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="aff0ad598a415d332b96a7cccbc93b0c3"></a><!-- doxytag: member="Counter::m_countNodes" ref="aff0ad598a415d332b96a7cccbc93b0c3" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXalanVector.html">NodeVectorType</a> <a class="el" href="structCounter.html#aff0ad598a415d332b96a7cccbc93b0c3">Counter::m_countNodes</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>A vector of all nodes counted so far. </p>
<p>Definition at line <a class="el" href="CountersTable_8hpp_source.html#l00070">70</a> of file <a class="el" href="CountersTable_8hpp_source.html">CountersTable.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="ad689b14eaf8af5f933bc4f63c7357c3d"></a><!-- doxytag: member="Counter::m_countNodesStartCount" ref="ad689b14eaf8af5f933bc4f63c7357c3d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structCounter.html#aee390e9ac0f16749ed982b9a338e1c25">CountType</a> <a class="el" href="structCounter.html#ad689b14eaf8af5f933bc4f63c7357c3d">Counter::m_countNodesStartCount</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The start count from where m_countNodes counts from. </p>
<p>In other words, the count of a given node in the m_countNodes vector is node position + m_countNodesStartCount. </p>
<p>Definition at line <a class="el" href="CountersTable_8hpp_source.html#l00065">65</a> of file <a class="el" href="CountersTable_8hpp_source.html">CountersTable.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a958a14f109d23b1e7038b8420e2d75ae"></a><!-- doxytag: member="Counter::m_fromNode" ref="a958a14f109d23b1e7038b8420e2d75ae" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classXalanNode.html">XalanNode</a>* <a class="el" href="structCounter.html#a958a14f109d23b1e7038b8420e2d75ae">Counter::m_fromNode</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The node from where the counting starts. </p>
<p>This is needed to find a counter if the node being counted is not immediatly found in the m_countNodes vector. </p>
<p>Definition at line <a class="el" href="CountersTable_8hpp_source.html#l00077">77</a> of file <a class="el" href="CountersTable_8hpp_source.html">CountersTable.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a0b1c6a9a8e45bb5a07d2a03b951eb578"></a><!-- doxytag: member="Counter::m_numberElem" ref="a0b1c6a9a8e45bb5a07d2a03b951eb578" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classElemNumber.html">ElemNumber</a>* <a class="el" href="structCounter.html#a0b1c6a9a8e45bb5a07d2a03b951eb578">Counter::m_numberElem</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The owning xsl:number element. </p>
<p>Definition at line <a class="el" href="CountersTable_8hpp_source.html#l00082">82</a> of file <a class="el" href="CountersTable_8hpp_source.html">CountersTable.hpp</a>.</p>
</div>
</div>
<hr/>The documentation for this struct 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>