P6R::p6IDOMNodeset Interface Reference

This interface is an enumerator over a set of nodes resulting from the evaluation of an XPath expression. More...

#include <p6domnodeset.h>

Inherits P6R::p6ICom.

List of all members.

Public Member Functions

virtual P6R::P6INT32 addref ()=0
 This method increases the reference count of the component instance by one.
virtual P6R::P6ERR containsNode (p6IXMLNode *pNode, P6BOOL *pbResult)=0
 Does the given XML node exist in the node set? The comparison is if the same node exists not if the node's value exists in the node set.
virtual P6R::P6ERR getType (P6XPATH_TYPE *pType)=0
 Returns the type of all nodes contained in the node set (e.g., P6XPATH_TYPE_STR, each node represents a string).
virtual P6R::P6ERR last (P6UINT32 *pNumber)=0
 Returns the index of the last node in the sequence.
virtual P6R::P6ERR next (p6IXMLNode **pChild)=0
 Return the next node in the node set.
virtual P6R::P6ERR position (P6UINT32 *pNumber)=0
 Starting at index 1 this method returns the index into the sequence of nodes that the enumerator is set at.
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 remove (P6UINT32 index)=0
 Delete the node at the given index in the sequence.
virtual P6R::P6ERR reset ()=0
 The enumerator returns a sequence of nodes in a specific order.
virtual P6R::P6ERR setType (P6XPATH_TYPE type)=0
 Allows the caller to set the type of all nodes contained in the node set (e.g., P6XPATH_TYPE_STR, each node represents a string).

Detailed Description

This interface is an enumerator over a set of nodes resulting from the evaluation of an XPath expression.

An instance of this enumerator is returned from the P6R::p6IDOMXML::getNodeSet() method. For example, an enumerator could be used to implement XSLT's for-each element.

Definition at line 27 of file p6domnodeset.h.


The documentation for this interface was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.