Return the results of a compare of two nodes.
More...
#include <xalanc/XSLT/NodeSorter.hpp>
Return the results of a compare of two nodes.
Definition at line 111 of file NodeSorter.hpp.
◆ NodeSortKeyCompare()
Construct a NodeSortKeyCompare object, to perform the sort.
- Parameters
-
executionContext | current execution context |
theNodes | vector or nodes to be sorted |
theNodeSortKeys | vector of keys upon which to sort |
Definition at line 122 of file NodeSorter.hpp.
◆ compare()
Compare two nodes, returning a value to indicate the result.
- Parameters
-
theLHS | the first node to compare |
theRHS | the second node to compare |
theKeyIndex | the index of the key to use |
- Returns
- < 0 if theLHS is less than theRHS, 0 if they are equal, and > 0 if theLHS is greater than theRHS
◆ getNumberResult()
◆ getStringResult()
◆ operator()()
Compare two nodes as a less predicate.
- Parameters
-
theLHS | the first node to compare |
theRHS | the second node to compare |
theKeyIndex | the index of the key to use |
- Returns
- true if theLHS is less than theRHS
Definition at line 158 of file NodeSorter.hpp.
References xalanc::compare().
The documentation for this struct was generated from the following file: