Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QDomNodeListPrivate Class Reference

#include <qdom_p.h>

+ Collaboration diagram for QDomNodeListPrivate:

Public Member Functions

 QDomNodeListPrivate (QDomNodePrivate *)
 
 QDomNodeListPrivate (QDomNodePrivate *, const QString &)
 
 QDomNodeListPrivate (QDomNodePrivate *, const QString &, const QString &)
 
 ~QDomNodeListPrivate ()
 
bool operator== (const QDomNodeListPrivate &) const
 
bool operator!= (const QDomNodeListPrivate &) const
 
void createList () const
 
bool maybeCreateList () const
 
QDomNodePrivateitem (int index)
 
int length () const
 

Public Attributes

QAtomicInt ref
 
QDomNodePrivatenode_impl
 
QString tagname
 
QString nsURI
 
QList< QDomNodePrivate * > list
 
long timestamp
 

Detailed Description

Definition at line 134 of file qdom_p.h.

Constructor & Destructor Documentation

◆ QDomNodeListPrivate() [1/3]

QDomNodeListPrivate::QDomNodeListPrivate ( QDomNodePrivate * n_impl)

Definition at line 607 of file qdom.cpp.

References node_impl, QBasicAtomicInteger< T >::ref(), QDomNodePrivate::ref, and timestamp.

+ Here is the call graph for this function:

◆ QDomNodeListPrivate() [2/3]

QDomNodeListPrivate::QDomNodeListPrivate ( QDomNodePrivate * n_impl,
const QString & name )

Definition at line 615 of file qdom.cpp.

References node_impl, QBasicAtomicInteger< T >::ref(), QDomNodePrivate::ref, tagname, and timestamp.

+ Here is the call graph for this function:

◆ QDomNodeListPrivate() [3/3]

QDomNodeListPrivate::QDomNodeListPrivate ( QDomNodePrivate * n_impl,
const QString & _nsURI,
const QString & localName )

Definition at line 625 of file qdom.cpp.

References node_impl, nsURI, QBasicAtomicInteger< T >::ref(), QDomNodePrivate::ref, tagname, and timestamp.

+ Here is the call graph for this function:

◆ ~QDomNodeListPrivate()

QDomNodeListPrivate::~QDomNodeListPrivate ( )

Definition at line 636 of file qdom.cpp.

References QBasicAtomicInteger< T >::deref(), node_impl, and QDomNodePrivate::ref.

+ Here is the call graph for this function:

Member Function Documentation

◆ createList()

void QDomNodeListPrivate::createList ( ) const

Definition at line 652 of file qdom.cpp.

References QList< T >::append(), QList< T >::clear(), QDomNodePrivate::first, QString::isNull(), list, QDomNodePrivate::next, node_impl, QDomDocumentPrivate::nodeListTime, nsURI, QDomNodePrivate::ownerDocument(), tagname, and timestamp.

Referenced by maybeCreateList().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ item()

QDomNodePrivate * QDomNodeListPrivate::item ( int index)

Definition at line 718 of file qdom.cpp.

References QList< T >::at(), list, maybeCreateList(), and QList< T >::size().

Referenced by QDomNodeList::item().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ length()

int QDomNodeListPrivate::length ( ) const

Definition at line 726 of file qdom.cpp.

References list, maybeCreateList(), and QList< T >::size().

Referenced by QDomNodeList::length().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ maybeCreateList()

bool QDomNodeListPrivate::maybeCreateList ( ) const

Definition at line 706 of file qdom.cpp.

References createList(), node_impl, QDomDocumentPrivate::nodeListTime, QDomNodePrivate::ownerDocument(), and timestamp.

Referenced by item(), and length().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator!=()

bool QDomNodeListPrivate::operator!= ( const QDomNodeListPrivate & other) const

Definition at line 647 of file qdom.cpp.

References operator==(), and other().

+ Here is the call graph for this function:

◆ operator==()

bool QDomNodeListPrivate::operator== ( const QDomNodeListPrivate & other) const

Definition at line 642 of file qdom.cpp.

References node_impl, other(), and tagname.

Referenced by operator!=().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ list

QList<QDomNodePrivate *> QDomNodeListPrivate::list
mutable

Definition at line 157 of file qdom_p.h.

Referenced by createList(), item(), and length().

◆ node_impl

◆ nsURI

QString QDomNodeListPrivate::nsURI

Definition at line 156 of file qdom_p.h.

Referenced by QDomNodeListPrivate(), and createList().

◆ ref

QAtomicInt QDomNodeListPrivate::ref

◆ tagname

QString QDomNodeListPrivate::tagname

Definition at line 155 of file qdom_p.h.

Referenced by QDomNodeListPrivate(), QDomNodeListPrivate(), createList(), and operator==().

◆ timestamp

long QDomNodeListPrivate::timestamp
mutable

The documentation for this class was generated from the following files: