|
Xalan-C++ API Reference 1.12.0
|
Return the results of a compare of two nodes. More...
#include <xalanc/XSLT/NodeSorter.hpp>
Public Member Functions | |
| NodeSortKeyCompare (StylesheetExecutionContext &executionContext, NodeSorter &theSorter, const NodeVectorType &theNodes, const NodeSortKeyVectorType &theNodeSortKeys) | |
| Construct a NodeSortKeyCompare object, to perform the sort. | |
| int | compare (const NodeVectorType::value_type &theLHS, const NodeVectorType::value_type &theRHS, XalanSize_t theKeyIndex=0) const |
| Compare two nodes, returning a value to indicate the result. | |
| bool | operator() (const NodeVectorType::value_type &theLHS, const NodeVectorType::value_type &theRHS, XalanSize_t theKeyIndex=0) const |
| Compare two nodes as a less predicate. | |
Protected Member Functions | |
| double | getNumberResult (const NodeSortKey &theKey, XalanSize_t theKeyIndex, const NodeVectorType::value_type &theEntry) const |
| const XalanDOMString & | getStringResult (const NodeSortKey &theKey, XalanSize_t theKeyIndex, const NodeVectorType::value_type &theEntry) const |
Return the results of a compare of two nodes.
Definition at line 111 of file NodeSorter.hpp.
|
inline |
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 |
Definition at line 122 of file NodeSorter.hpp.
| int xalanc::NodeSorter::NodeSortKeyCompare::compare | ( | const NodeVectorType::value_type & | theLHS, |
| const NodeVectorType::value_type & | theRHS, | ||
| XalanSize_t | 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 |
|
inline |
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 |
Definition at line 158 of file NodeSorter.hpp.
References xalanc::compare().
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Thu Jan 9 2025 11:39:52 for Xalan-C++ API Reference by
1.9.8