#include <xml/dom/xmlengnodeset.h>
| class RXmlEngNodeSet |
| Public Member Functions | |
|---|---|
| RXmlEngNodeSet() | |
| void | Close() |
| IMPORT_C TBool | Contains(TXmlEngNode) |
| IMPORT_C void | Free() |
| IMPORT_C void | InitializeL() |
| IMPORT_C TInt | Length() |
| IMPORT_C TXmlEngNode | operator[](TInt) |
This class implements the node set container, which is one of the result type in XPath.
| IMPORT_C TBool | Contains | ( | TXmlEngNode | aNode | ) | const |
Checks whether a node is in the node set.
| Parameter | Description |
|---|---|
| aNode | The node to check |
Returns: ETrue if the node is in the node set, EFalse otherwise
| IMPORT_C void | Free | ( | ) |
Frees any allocated resources.
As a node set only refers to existing nodes in the DOM tree, no nodes are freed. However, namespace declarations are copied into the node set and these copies are indeed freed.
| IMPORT_C void | InitializeL | ( | ) |
Initializes the node set to an empty state.
See also: Free()
This method is used when preparing node sets that will be used with RXmlEngXPathExpression::EvaluateWithDependenciesL(TXmlEngNode,RXmlEngNodeSet&) and TXmlEngXPathEvaluator::EvaluateWithDependenciesL(aExpression,aContextNode,aResolver,aDependents).
Otherwise, any of the system wide errors.
| IMPORT_C TXmlEngNode | operator[] | ( | TInt | aIndex | ) | const |
Retrieves a node from the node set by index
Otherwise, any of the system wide errors.
| Parameter | Description |
|---|---|
| aIndex | Node index ( 0 <= aIndex < Length() ) |
Returns: The node