Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Classes | Public Types | Public Member Functions | Friends | List of all members
NodeSorter Class Reference

This class can sort vectors of nodes according to a select pattern. More...

Classes

struct  NodeSortKeyCompare
 Return the results of a compare of two nodes. More...
 
struct  VectorEntry
 

Public Types

typedef XalanVector< VectorEntryNodeVectorType
 
typedef XalanVector< NodeSortKeyNodeSortKeyVectorType
 
typedef NumberVectorTypeDecl NumberVectorType
 
typedef XalanVector< XObjectPtrXObjectVectorType
 
typedef StringVectorTypeDecl StringVectorType
 
typedef XalanVector
< NumberVectorType
NumberCacheType
 
typedef XalanVector
< XObjectVectorType
XObjectCacheType
 
typedef XalanVector
< StringVectorType
StringCacheType
 
typedef NumberCacheType NumberResultsCacheType
 
typedef StringCacheType StringResultsCacheType
 

Public Member Functions

 NodeSorter (MemoryManagerType &theManager)
 
 ~NodeSorter ()
 
NodeSortKeyVectorTypegetSortKeys ()
 
void sort (StylesheetExecutionContext &executionContext, MutableNodeRefList &theList)
 Given a list of nodes, sort each node according to the criteria in the keys. More...
 

Friends

struct NodeSortKeyCompare
 

Detailed Description

This class can sort vectors of nodes according to a select pattern.

Member Typedef Documentation

Constructor & Destructor Documentation

NodeSorter::NodeSorter ( MemoryManagerType theManager)
explicit
NodeSorter::~NodeSorter ( )

Member Function Documentation

NodeSortKeyVectorType& NodeSorter::getSortKeys ( )
void NodeSorter::sort ( StylesheetExecutionContext executionContext,
MutableNodeRefList theList 
)

Given a list of nodes, sort each node according to the criteria in the keys.

The list is assumed to be in document order.

Parameters
executionContextcurrent execution context
vlist of Nodes

Friends And Related Function Documentation

friend struct NodeSortKeyCompare
friend

The documentation for this class 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.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo