Xalan-C++ API Documentation

The Xalan-C++ XSL Transformer Version 1.0

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

NodeSorter::NodeSortKeyCompare Struct Reference

Return the results of a compare of two nodes. More...

#include <NodeSorter.hpp>

Inheritance diagram for NodeSorter::NodeSortKeyCompare:

std::binary_function Collaboration diagram for NodeSorter::NodeSortKeyCompare:

List of all members.

Public Methods

Protected Methods


Detailed Description

Return the results of a compare of two nodes.


Member Function Documentation

NodeSorter::NodeSortKeyCompare::NodeSortKeyCompare ( StylesheetExecutionContext & executionContext,
const MutableNodeRefList & theList,
const NodeVectorType & theNodes,
const NodeSortKeyVectorType & theNodeSortKeys)

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

double NodeSorter::NodeSortKeyCompare::getNumberResult ( const NodeSortKey & theKey,
XalanNode * node) const [protected]

const XalanDOMString NodeSorter::NodeSortKeyCompare::getStringResult ( const NodeSortKey & theKey,
XalanNode * node) const [protected]

bool NodeSorter::NodeSortKeyCompare::isNodeBefore ( const XalanNode * node1,
const XalanNode * node2) const [protected]

result_type NodeSorter::NodeSortKeyCompare::operator() ( first_argument_type theLHS,
second_argument_type theRHS,
unsigned int theKeyIndex = 0) const

Compare two nodes.

Parameters:
executionContext   current execution context
theNodes   vector or nodes to be sorted
theNodeSortKeys   vector of keys upon which to sort

The documentation for this struct was generated from the following file:

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSL Transformer Version 1.0
Copyright © 2000 The Apache Software Foundation. All Rights Reserved.