|
|
Home | Loader API | Interfaces | File List | Index | |
Supports the sorting of a node set by an XPath expression of the following types: numeric, string, time, P6FLOAT, and P6INT64. More...
#include <p6domnodesetsort.h>
Inherits P6R::p6ICom.
Public Member Functions | |
virtual P6R::P6INT32 | addref ()=0 |
This method increases the reference count of the component instance by one. | |
virtual P6R::P6ERR | distinctNodes ()=0 |
This function removes duplicate nodes from the node set. | |
virtual P6R::P6ERR | distinctValues ()=0 |
This function removes duplicate nodes from the node set. | |
virtual P6R::P6ERR | documentOrder ()=0 |
Note, that calling this function successfully causes an implicit reset() on the enumerator. | |
virtual P6R::P6ERR | getMaximumEntry (p6IXMLNode **pNode)=0 |
Returns the node with that contains the maximum node value. | |
virtual P6R::P6ERR | getMinimumEntry (p6IXMLNode **pNode)=0 |
Returns the node with that contains the minimum node value. | |
virtual P6R::P6ERR | queryInterface (const P6R::IID &iid, P6R::P6VOID **ppIface)=0 |
This method queries the component for a specific interface. | |
virtual P6R::P6INT32 | release ()=0 |
This method decrements a components reference count. | |
virtual P6R::P6ERR | reverseOrder ()=0 |
Note, that calling this function successfully causes an implicit reset() on the enumerator. | |
virtual P6R::P6ERR | setLanguageProperties (const P6CHAR *pLang, const P6CHAR *pCollate)=0 |
This method is used to define how string sorting is to be done. | |
virtual P6R::P6ERR | sortByExpression (p6IDOMXML *pXMLTree, P6DOMNODE_SORT type, p6IXpathExpression *pExp)=0 |
Sort the p6IXMLNode components in the p6IDOMNodeset container. |
Supports the sorting of a node set by an XPath expression of the following types: numeric, string, time, P6FLOAT, and P6INT64.
This is used in support of the XSLT sorting feature. To get this interface the caller must do a queryInterface on the p6IDOMNodeset of an existing node set component. As a code example:
p6IDOMNodeset* pSet; p6IDOMNodesetSort* pSort; if (P6SUCCEEDED( err = pSet->queryInterface( VALIDATEIF( p6IDOMNodesetSort, &pSort )))) { err = pSort->reverseOrder(); pSort->release(); }
Definition at line 63 of file p6domnodesetsort.h.