Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


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...

#include <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 198 of file NodeSorter.hpp.

◆ NumberResultsCacheType

Definition at line 202 of file NodeSorter.hpp.

◆ NumberVectorType

Definition at line 194 of file NodeSorter.hpp.

◆ StringCacheType

Definition at line 200 of file NodeSorter.hpp.

◆ StringResultsCacheType

Definition at line 207 of file NodeSorter.hpp.

◆ StringVectorType

Definition at line 196 of file NodeSorter.hpp.

◆ XObjectCacheType

Definition at line 199 of file NodeSorter.hpp.

◆ XObjectVectorType

Definition at line 195 of file NodeSorter.hpp.

Constructor & Destructor Documentation

◆ NodeSorter()

NodeSorter::NodeSorter ( MemoryManager &  theManager)
explicit

◆ ~NodeSorter()

NodeSorter::~NodeSorter ( )

Member Function Documentation

◆ getSortKeys()

NodeSortKeyVectorType& NodeSorter::getSortKeys ( )
inline

Definition at line 91 of file NodeSorter.hpp.

◆ sort()

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

◆ NodeSortKeyCompare

friend struct NodeSortKeyCompare
friend

Definition at line 192 of file NodeSorter.hpp.


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.

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

Apache Logo