class NodeList

# class NodeList | The `NodeList` interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented. More...
Full name | `DOM::NodeList`
Definition | `#include <dom_node.h>`
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- NodeList ()
- NodeList (const NodeList &other)
- NodeList & operator = (const NodeList &other)
- ~NodeList ()
- unsigned long length () const
- Node item ( unsigned long index ) const
- NodeListImpl * handle () const
- bool isNull () const

#### Protected Methods

- NodeList (const NodeListImpl *i)

#### Protected Members

- NodeListImpl *impl

## Detailed Description

The `NodeList` interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented.

The items in the `NodeList` are accessible via an integral index, starting from 0.

NodeList () | ### NodeList

NodeList (const NodeList &other) | ### NodeList

NodeList & operator = (const NodeList &other) | ### operator =

~NodeList () | ### ~NodeList

unsigned long length () | ### length

[const]

The number of nodes in the list. The range of valid child node indices is 0 to `length-1` inclusive.

Node item ( unsigned long index ) | ### item

[const]

Returns the `index` th item in the collection. If `index` is greater than or equal to the number of nodes in the list, this returns `null` .

Parameters:

index | Index into the collection.

Returns: The node at the `index` th position in the `NodeList` , or `null` if that is not a valid index.

NodeListImpl * handle () | ### handle

[const]

not part of the DOM

bool isNull () | ### isNull

[const]

NodeList (const NodeListImpl *i) | ### NodeList

[protected]

NodeListImpl * impl | ### impl

[protected]

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:37:43 2003, using kdoc 2.0a54.