|
Xalan-C++ API Reference
1.12.0
|
Go to the documentation of this file.
18 #if !defined(XALAN_NODESORTER_HEADER_GUARD)
19 #define XALAN_NODESORTER_HEADER_GUARD
46 class MutableNodeRefList;
47 class StylesheetExecutionContext;
72 XalanSize_t thePosition = 0) :
74 m_position(thePosition)
127 m_executionContext(executionContext),
130 m_nodeSortKeys(theNodeSortKeys)
147 XalanSize_t theKeyIndex = 0)
const;
161 XalanSize_t theKeyIndex = 0)
const
163 return compare(theLHS, theRHS, theKeyIndex) < 0 ? true :
false;
171 XalanSize_t theKeyIndex,
177 XalanSize_t theKeyIndex,
200 #if defined(XALAN_NODESORTER_CACHE_XOBJECTS)
233 #endif // XALAN_NODESORTER_HEADER_GUARD
NodeSortKeyCompare(StylesheetExecutionContext &executionContext, NodeSorter &theSorter, const NodeVectorType &theNodes, const NodeSortKeyVectorType &theNodeSortKeys)
Construct a NodeSortKeyCompare object, to perform the sort.
NumberCacheType NumberResultsCacheType
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Simple data structure class for use by the NodeSorter class.
Return the results of a compare of two nodes.
This class can sort vectors of nodes according to a select pattern.
#define XALAN_USES_MEMORY_MANAGER(Type)
Local implementation of MutableNodeRefList.
#define XALAN_XSLT_EXPORT
XalanVector< NumberVectorType > NumberCacheType
NumberVectorTypeDecl NumberVectorType
StringVectorTypeDecl StringVectorType
VectorEntry(XalanNode *theNode=0, XalanSize_t thePosition=0)
XalanVector< VectorEntry > NodeVectorType
compare(const CharVectorType &theLHS, const CharVectorType &theRHS)
Compare the contents of two strings.
XalanVector< double > NumberVectorTypeDecl
NodeSortKeyVectorType & getSortKeys()
bool operator()(const NodeVectorType::value_type &theLHS, const NodeVectorType::value_type &theRHS, XalanSize_t theKeyIndex=0) const
Compare two nodes as a less predicate.
XalanVector< NodeSortKey > NodeSortKeyVectorType
StringCacheType StringResultsCacheType
XalanVector< XObjectVectorType > XObjectCacheType
XalanVector< StringVectorType > StringCacheType
XalanVector< XObjectPtr > XObjectVectorType