QDomNodeList - List of
#include <qdom.h>
Public Members
QDomNodeList ()
QDomNodeList ( const QDomNodeList & )
QDomNodeList& operator= ( const QDomNodeList & )
bool operator== ( const QDomNodeList & ) const
bool operator!= ( const QDomNodeList & ) const
virtual ~QDomNodeList ()
virtual QDomNode item ( int index ) const
virtual uint length () const
uint count () const
QDomNodeList ( QDOM_NodeListPrivate * ) (internal)
DESCRIPTION
The QDomNodeList class is a list of QDomNode objects.
Lists can be obtained by QDomDocument::elementsByTagName()
and QDomNode::childNodes(). The Document Object Model
(DOM) requires these lists to be "live": whenever you
change the underlying document, the contents of the list
will get updated.
For further information about the Document Objct Model see
http://www.w3.org/TR/REC-DOM-Level-1/. For a more general
introduction of the DOM implementation see the
QDomDocument documentation.
See also QDomNode::childNode() and
QDomDocument::elementsByTagName().
MEMBER FUNCTION DOCUMENTATION
QDomNodeList::QDomNodeList ()
Creates an empty node list.
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 is negative or if index >= length() then a null
returns TRUE).
uint QDomNodeList::length () const [virtual]
Returns the number of nodes in the list.
This function is the same as count().
bool QDomNodeList::operator!= ( const QDomNodeList & n ) const
Returns TRUE if both lists are not equal, otherwise FALSE.
QDomNodeList& QDomNodeList::operator= ( const QDomNodeList & n )
Assigns another node list to this object.
bool QDomNodeList::operator== ( const QDomNodeList & n ) const
Returns TRUE if both lists are equal, otherwise FALSE.
QDomNodeList::QDomNodeList ( QDOM_NodeListPrivate * p )
For internal use only.
SEE ALSO
http://doc.trolltech.com/qdomnodelist.html
http://www.trolltech.com/faq/tech.html
COPYRIGHT
Copyright 1992-2001 Trolltech AS,
http://www.trolltech.com. See the license file included
in the distribution for a complete license statement.
AUTHOR
Generated automatically from the source code.
BUGS
If you find a bug in Qt, please report it as described in
http://doc.trolltech.com/bughowto.html. Good bug reports
make our job much simpler. Thank you.
In case of content or formattting problems with this
manual page, please report them to qt-bugs@trolltech.com.
Please include the name of the manual page
(qdomnodelist.3qt) and the Qt version (2.3.1).
Man(1) output converted with
man2html