Xalan-C++ API Documentation
Go to the documentation of this file.
18 #if !defined(XALAN_NODESORTER_HEADER_GUARD)
19 #define XALAN_NODESORTER_HEADER_GUARD
42 XALAN_CPP_NAMESPACE_BEGIN
72 XalanSize_t thePosition = 0) :
74 m_position(thePosition)
111 #if defined(XALAN_NO_STD_NAMESPACE)
131 m_executionContext(executionContext),
134 m_nodeSortKeys(theNodeSortKeys)
149 first_argument_type theLHS,
150 second_argument_type theRHS,
151 XalanSize_t theKeyIndex = 0)
const;
163 first_argument_type theLHS,
164 second_argument_type theRHS,
165 XalanSize_t theKeyIndex = 0)
const
167 return compare(theLHS, theRHS, theKeyIndex) < 0 ? true :
false;
175 XalanSize_t theKeyIndex,
176 first_argument_type theEntry)
const;
181 XalanSize_t theKeyIndex,
182 first_argument_type theEntry)
const;
204 #if defined(XALAN_NODESORTER_CACHE_XOBJECTS)
233 XALAN_CPP_NAMESPACE_END
237 #endif // XALAN_NODESORTER_HEADER_GUARD
XalanVector< double > NumberVectorTypeDecl
NumberVectorTypeDecl NumberVectorType
NumberCacheType NumberResultsCacheType
const XalanDOMString & getStringResult(const NodeSortKey &theKey, XalanSize_t theKeyIndex, first_argument_type theEntry) const
double getNumberResult(const NodeSortKey &theKey, XalanSize_t theKeyIndex, first_argument_type theEntry) const
XalanVector< VectorEntry > NodeVectorType
result_type operator()(first_argument_type theLHS, second_argument_type theRHS, XalanSize_t theKeyIndex=0) const
Compare two nodes as a less predicate.
This class can sort vectors of nodes according to a select pattern.
#define XALAN_USES_MEMORY_MANAGER(Type)
XalanVector< XObjectPtr > XObjectVectorType
#define XALAN_XSLT_EXPORT
void sort(StylesheetExecutionContext &executionContext, MutableNodeRefList &theList)
Given a list of nodes, sort each node according to the criteria in the keys.
Return the results of a compare of two nodes.
StringCacheType StringResultsCacheType
XalanVector< NodeSortKey > NodeSortKeyVectorType
VectorEntry(XalanNode *theNode=0, XalanSize_t thePosition=0)
StringVectorTypeDecl StringVectorType
XalanVector< StringVectorType > StringCacheType
NodeSortKeyCompare(StylesheetExecutionContext &executionContext, NodeSorter &theSorter, const NodeVectorType &theNodes, const NodeSortKeyVectorType &theNodeSortKeys)
Construct a NodeSortKeyCompare object, to perform the sort.
XalanVector< XObjectVectorType > XObjectCacheType
Simple data structure class for use by the NodeSorter class.
int compare(first_argument_type theLHS, second_argument_type theRHS, XalanSize_t theKeyIndex=0) const
Compare two nodes, returning a value to indicate the result.
NodeSortKeyVectorType & getSortKeys()
NodeSorter(MemoryManager &theManager)
Local implementation of MutableNodeRefList.
XalanVector< NumberVectorType > NumberCacheType
Interpreting class diagrams
Doxygen and
GraphViz are
used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.
|
|