XMLParserItf Interface CATIDOMNodeList

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIDOMNodeList

Interface providing the abstraction of an ordered collection of nodes.
CATIDOMNodeLists are created by , .

The items in the are accessible via an integral index, starting from 0. CATIDOMNodeLists are "live", in that any changes to the document tree are immediately reflected in any CATIDOMNodeLists that may have been created for that tree.

See also:
,


Method Index


o GetLength(unsigned int&)
Retrieves the number of nodes in the list.
o Item(unsigned int,CATIDOMNode_var&)
Retrieves the indexth item in the collection.

Methods


o GetLength
public virtual GetLength( oLength)
Retrieves the number of nodes in the list. The range of valid child node indices is 0 to oLength - 1 inclusive.
Parameters:
oLength
The retrieved number of nodes in the list.
o Item
public virtual Item( iIndex,
oItem)
Retrieves the indexth item in the collection. If index is greater than or equal to the number of nodes in the list, oItem is set to NULL_var.
Parameters:
iIndex
Index into the collection.
oItem
The node at the indexth position in the
, or NULL_var if that is not a valid index.

This object is included in the file: CATIDOMNodeList.h
If needed, your Imakefile.mk should include the module: CatXmlItfExt

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.