Return the results of a compare of two nodes. More...
Public Member Functions | |
NodeSortKeyCompare (StylesheetExecutionContext &executionContext, NodeSorter &theSorter, const NodeVectorType &theNodes, const NodeSortKeyVectorType &theNodeSortKeys) | |
Construct a NodeSortKeyCompare object, to perform the sort. | |
int | compare (first_argument_type theLHS, second_argument_type theRHS, unsigned int theKeyIndex=0) const |
Compare two nodes, returning a value to indicate the result. | |
result_type | operator() (first_argument_type theLHS, second_argument_type theRHS, unsigned int theKeyIndex=0) const |
Compare two nodes as a less predicate. |
Protected Member Functions | |
double | getNumberResult (const NodeSortKey &theKey, unsigned int theKeyIndex, first_argument_type theEntry) const |
const XalanDOMString & | getStringResult (const NodeSortKey &theKey, unsigned int theKeyIndex, first_argument_type theEntry) const |
Return the results of a compare of two nodes.
NodeSorter::NodeSortKeyCompare::NodeSortKeyCompare | ( | StylesheetExecutionContext & | executionContext, |
NodeSorter & | theSorter, | ||
const NodeVectorType & | theNodes, | ||
const NodeSortKeyVectorType & | theNodeSortKeys | ||
) |
Construct a NodeSortKeyCompare object, to perform the sort.
executionContext | current execution context |
theNodes | vector or nodes to be sorted |
theNodeSortKeys | vector of keys upon which to sort |
int NodeSorter::NodeSortKeyCompare::compare | ( | first_argument_type | theLHS, |
second_argument_type | theRHS, | ||
unsigned int | theKeyIndex = 0 |
||
) | const |
Compare two nodes, returning a value to indicate the result.
theLHS | the first node to compare |
theRHS | the second node to compare |
theKeyIndex | the index of the key to use |
|
protected |
|
protected |
result_type NodeSorter::NodeSortKeyCompare::operator() | ( | first_argument_type | theLHS, |
second_argument_type | theRHS, | ||
unsigned int | theKeyIndex = 0 |
||
) | const |
Compare two nodes as a less predicate.
theLHS | the first node to compare |
theRHS | the second node to compare |
theKeyIndex | the index of the key to use |
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSLT Processor Version 1.10 |
|