Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions

CountersTable Class Reference

<meta name="usage" content="internal"> This is a table of counters, keyed by ElemNumber objects, each of which has a list of Counter objects. More...

#include <CountersTable.hpp>

Collaboration diagram for CountersTable:
Collaboration graph
[legend]

List of all members.

Public Types

Public Member Functions


Detailed Description

<meta name="usage" content="internal"> This is a table of counters, keyed by ElemNumber objects, each of which has a list of Counter objects.

This really isn't a true table, it is more like a list of lists (there must be a technical term for that...).

Definition at line 157 of file CountersTable.hpp.


Member Typedef Documentation

Definition at line 163 of file CountersTable.hpp.

Definition at line 161 of file CountersTable.hpp.

Definition at line 164 of file CountersTable.hpp.

Definition at line 166 of file CountersTable.hpp.


Constructor & Destructor Documentation

CountersTable::CountersTable ( MemoryManager &  theManager,
unsigned long  theSize = 0 
) [inline]

Construct a CountersTable.

Definition at line 171 of file CountersTable.hpp.

CountersTable::~CountersTable (  )  [inline]

Definition at line 179 of file CountersTable.hpp.


Member Function Documentation

CountType CountersTable::countNode ( StylesheetExecutionContext executionContext,
const ElemNumber numberElem,
XalanNode node 
)

Count forward until the given node is found, or until we have looked to the given amount.

The current execution context; The executing ElemNumber The node to count.

Returns:
The node count, or 0 if not found.
void CountersTable::reset (  )  [inline]

Clear all cached data from the table.

Definition at line 215 of file CountersTable.hpp.

void CountersTable::resize ( unsigned long  theSize  )  [inline]

Resize the table.

The must be done prior to using the table, if the size was not past in the constructor.

The new size

Definition at line 191 of file CountersTable.hpp.


The documentation for this class was generated from the following file:

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo