16 #if !defined(XALAN_NODESORTER_HEADER_GUARD)
17 #define XALAN_NODESORTER_HEADER_GUARD
46 XALAN_CPP_NAMESPACE_BEGIN
76 unsigned int thePosition = 0) :
78 m_position(thePosition)
94 NodeSortKeyVectorType&
115 #if defined(XALAN_NO_STD_NAMESPACE)
116 struct XALAN_XSLT_EXPORT NodeSortKeyCompare :
public binary_function<const NodeVectorType::value_type&, const NodeVectorType::value_type&, bool>
132 NodeSorter& theSorter,
133 const NodeVectorType& theNodes,
134 const NodeSortKeyVectorType& theNodeSortKeys) :
135 m_executionContext(executionContext),
138 m_nodeSortKeys(theNodeSortKeys)
153 first_argument_type theLHS,
154 second_argument_type theRHS,
155 unsigned int theKeyIndex = 0)
const;
167 first_argument_type theLHS,
168 second_argument_type theRHS,
169 unsigned int theKeyIndex = 0)
const
171 return compare(theLHS, theRHS, theKeyIndex) < 0 ?
true :
false;
179 unsigned int theKeyIndex,
180 first_argument_type theEntry)
const;
185 unsigned int theKeyIndex,
186 first_argument_type theEntry)
const;
191 NodeSorter& m_sorter;
192 const NodeVectorType& m_nodes;
193 const NodeSortKeyVectorType& m_nodeSortKeys;
208 #if defined(XALAN_NODESORTER_CACHE_XOBJECTS)
226 NumberResultsCacheType m_numberResultsCache;
228 StringResultsCacheType m_stringResultsCache;
230 NodeSortKeyVectorType m_keys;
232 NodeVectorType m_scratchVector;
237 XALAN_CPP_NAMESPACE_END
241 #endif // XALAN_NODESORTER_HEADER_GUARD