<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>
Public Types | |
typedef Counter::CountType | CountType |
typedef CounterVectorTypeDecl | CounterVectorType |
typedef ElemCounterVectorVectorTypeDecl | ElemCounterVectorVectorType |
typedef Counter::NodeVectorType | NodeVectorType |
Public Member Functions | |
CountersTable (MemoryManager &theManager, unsigned long theSize=0) | |
Construct a CountersTable. More... | |
~CountersTable () | |
void | resize (unsigned long theSize) |
Resize the table. More... | |
CountType | 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. More... | |
void | reset () |
Clear all cached data from the table. More... | |
<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.
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.
|
inline |
Construct a CountersTable.
Definition at line 171 of file CountersTable.hpp.
|
inline |
Definition at line 179 of file CountersTable.hpp.
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.
|
inline |
Clear all cached data from the table.
Definition at line 215 of file CountersTable.hpp.
|
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.
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11 |
|