Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.4

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

CountersTable Class Reference

This is a table of counters, keyed by ElemNumber objects, each of which has a list of Counter objects. More...

#include <CountersTable.hpp>

List of all members.

Public Types

Public Methods


Detailed Description

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...).


Member Typedef Documentation

typedef std::vector<Counter> CountersTable::CounterVectorType

typedef std::map<const ElemNumber*, CounterVectorType> CountersTable::ElemToCounterVectorMapType

typedef Counter::NodeVectorType CountersTable::NodeVectorType


Constructor & Destructor Documentation

CountersTable::CountersTable ()

Construct a CountersTable.


Member Function Documentation

int 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.

@executionContext The current execution context; @numberElem The executing ElemNumber @node The node to count.

Returns:
The node count, or 0 if not found.

void CountersTable::reset ()

Clear all cached data from the table.


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.4
Copyright © 2000, 2001, 2002 The Apache Software Foundation. All Rights Reserved.