HomeHome

ClassesAnnotated - TreeFunctionsHomeStructure

QDomNodeList Class Reference
[ XML module ]


The QDomNodeList class is a container for QDomNode objects. More...

#include <qdom.h>

List of all member functions.

Public Members


Detailed Description

The QDomNodeList class is a container for QDomNode objects.

The class represents a list of QDomNodes. Lists can be created by QDomDocument::elementsByTagName() and QDomNode::childNode(). The Document Object Model requires these lists to be `live', which means that whenever you change the underlying document, the contents of the list will get updated.

See also: QDomNode::childNode(), QDomDocument::elementsByTagName(), For, further, information, about, the, Document, Objct, Model, see, http://www.w3.org/TR/REC-DOM-Level-1/, ., For, a, more, general, introduction, into, the, internals, of, the, DOM, implementation, see, the, QDomDocument and documentation.


Member Function Documentation

QDomNodeList::QDomNodeList ()

Creates an empty NodeList.

QDomNodeList::QDomNodeList ( const QDomNodeList & n )

Copy constructor.

QDomNodeList::~QDomNodeList () [virtual]

Destructor.

uint QDomNodeList::count () const

Returns the number of nodes in the list. This function is the same as length().

QDomNode QDomNodeList::item ( int index ) const [virtual]

Returns the Node at position index. If index < 0 or index >= length() then a null node is returned.

uint QDomNodeList::length () const [virtual]

Returns the number of nodes in the list.

bool QDomNodeList::operator!= ( const QDomNodeList & n ) const

Returns wether both lists are unequal.

QDomNodeList& QDomNodeList::operator= ( const QDomNodeList & n )

Assign another NodeList to this object.

bool QDomNodeList::operator== ( const QDomNodeList & n ) const

Returns wether both lists are equal.

QDomNodeList::QDomNodeList ( QDOM_NodeListPrivate * p )

For internal use only.


Search the documentation, FAQ, qt-interest archive and more (uses www.trolltech.com):


This file is part of the Qt toolkit, copyright © 1995-2000 Trolltech, all rights reserved.


Copyright İ 2000 TrolltechTrademarks
Qt version 2.2.0-beta2