📄 qdomnodelist.3qt
字号:
.TH QDomNodeList 3qt "10 November 2000" "Trolltech AS" \" -*- nroff -*-.\" Copyright 1992-2000 Trolltech AS. All rights reserved. See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQDomNodeList \- List of QDomNode objects<h1 align=center>QDomNodeList Class Reference.br<small>[ XML module ]</small></h1>.br.PP\fC#include <qdom.h>\fR.PP.SS "Public Members".in +1c.ti -1c.BI "\fBQDomNodeList\fR () ".br.ti -1c.BI "\fBQDomNodeList\fR ( const QDomNodeList & ) ".br.ti -1c.BI "QDomNodeList& \fBoperator=\fR ( const QDomNodeList & ) ".br.ti -1c.BI "bool \fBoperator==\fR ( const QDomNodeList & ) const".br.ti -1c.BI "bool \fBoperator!=\fR ( const QDomNodeList & ) const".br.ti -1c.BI "virtual \fB~QDomNodeList\fR () ".br.ti -1c.BI "virtual QDomNode \fBitem\fR ( int index ) const".br.ti -1c.BI "virtual uint \fBlength\fR () const".br.ti -1c.BI "uint \fBcount\fR () const".br.ti -1c.BI "\fBQDomNodeList\fR ( QDOM_NodeListPrivate * ) (internal)".br.in -1c.SH DESCRIPTIONThe QDomNodeList class is a list of QDomNode objects..PPLists 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..PPFor 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..PPSee also QDomNode::childNode() and QDomDocument::elementsByTagName()..SH MEMBER FUNCTION DOCUMENTATION.SH "QDomNodeList::QDomNodeList ()"Creates an empty node list..SH "QDomNodeList::QDomNodeList ( const QDomNodeList & n )"Copy constructor..SH "QDomNodeList::~QDomNodeList () \fC[virtual]\fR"Destructor..SH "uint QDomNodeList::count () const"Returns the number of nodes in the list..PPThis function is the same as length()..SH "QDomNode QDomNodeList::item ( int index ) const \fC[virtual]\fR"Returns the node at position \fIindex.\fR.PPIf \fIindex\fR is negative or if \fIindex\fR >= length() then a null node is returned (i.e. a node for which QDomNode::isNull() returns TRUE)..SH "uint QDomNodeList::length () const \fC[virtual]\fR"Returns the number of nodes in the list..PPThis function is the same as count()..SH "bool QDomNodeList::operator!= ( const QDomNodeList & n ) const"Returns TRUE if both lists are not equal, otherwise FALSE..SH "QDomNodeList& QDomNodeList::operator= ( const QDomNodeList & n )"Assigns another node list to this object..SH "bool QDomNodeList::operator== ( const QDomNodeList & n ) const"Returns TRUE if both lists are equal, otherwise FALSE..SH "QDomNodeList::QDomNodeList ( QDOM_NodeListPrivate * p )"For internal use only..SH "SEE ALSO".BR http://doc.trolltech.com/qdomnodelist.html.SH COPYRIGHTCopyright 1992-2000 Trolltech AS, http://www.trolltech.com/. See thelicense file included in the distribution for a complete licensestatement..SH AUTHORGenerated automatically from the source code.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -