Unicorn XML Toolkit
Version 1.00.00

Namespace Dom
Class INodeList

class INodeList: virtual public CInterface {
public:
    INodeList();
    virtual ~INodeList();
public:    
    virtual int GetLength() = 0;
public:    
    virtual XNode Item(int nIndex) = 0;
    };

The ordered collection of nodes.

This class implements the C++ binding for the NodeList interface specified by DOM.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
INode
Constructor/Destructor Summary
INodeList ();
����������Constructs the node list.
~INodeList ();
����������Destroys the node list.

Function Summary
int GetLength ();
����������Returns the number of nodes in this node list.
XNode Item (int nIndex);
����������Returns the node in this node list at the index specified by nIndex .

Constructor/Destructor Detail

INodeList

INodeList();

Constructs the node list.

~INodeList

virtual ~INodeList();

Destroys the node list.

Function Detail

GetLength

virtual int GetLength() = 0;

Returns the number of nodes in this node list.

This method implements the C++ binding for the length attribute specified by DOM.

Returns:
the number of nodes in this node list

Item

virtual XNode Item(int nIndex) = 0;

Returns the node in this node list at the index specified by nIndex .

This method implements the C++ binding for the item operation specified by DOM.

Parameters:
nIndex - the node index (zero-based)
Returns:
the node in this node list at the specified index

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

Copyright 1999-2001 Unicorn Enterprises SA.
All Rights Reserved.