Xalan-C++ API Reference  1.12.0
Classes | Public Types | Public Member Functions | Friends | List of all members
xalanc::NodeSorter Class Reference

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

#include <xalanc/XSLT/NodeSorter.hpp>

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< NumberVectorTypeNumberCacheType
 
typedef XalanVector< XObjectVectorTypeXObjectCacheType
 
typedef XalanVector< StringVectorTypeStringCacheType
 
typedef NumberCacheType NumberResultsCacheType
 
typedef StringCacheType StringResultsCacheType
 

Public Member Functions

 NodeSorter (MemoryManager &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.

Definition at line 62 of file NodeSorter.hpp.

Member Typedef Documentation

◆ NodeSortKeyVectorType

Definition at line 83 of file NodeSorter.hpp.

◆ NodeVectorType

Definition at line 82 of file NodeSorter.hpp.

◆ NumberCacheType

Definition at line 194 of file NodeSorter.hpp.

◆ NumberResultsCacheType

Definition at line 198 of file NodeSorter.hpp.

◆ NumberVectorType

Definition at line 190 of file NodeSorter.hpp.

◆ StringCacheType

Definition at line 196 of file NodeSorter.hpp.

◆ StringResultsCacheType

Definition at line 203 of file NodeSorter.hpp.

◆ StringVectorType

Definition at line 192 of file NodeSorter.hpp.

◆ XObjectCacheType

Definition at line 195 of file NodeSorter.hpp.

◆ XObjectVectorType

Definition at line 191 of file NodeSorter.hpp.

Constructor & Destructor Documentation

◆ NodeSorter()

xalanc::NodeSorter::NodeSorter ( MemoryManager &  theManager)
explicit

◆ ~NodeSorter()

xalanc::NodeSorter::~NodeSorter ( )

Member Function Documentation

◆ getSortKeys()

NodeSortKeyVectorType& xalanc::NodeSorter::getSortKeys ( )
inline

Definition at line 91 of file NodeSorter.hpp.

◆ sort()

void xalanc::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

◆ NodeSortKeyCompare

friend struct NodeSortKeyCompare
friend

Definition at line 188 of file NodeSorter.hpp.


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