![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qdom_p.h>
Public Member Functions | |
| QDomNamedNodeMapPrivate (QDomNodePrivate *) | |
| ~QDomNamedNodeMapPrivate () | |
| QDomNodePrivate * | namedItem (const QString &namename) const |
| QDomNodePrivate * | namedItemNS (const QString &nsURI, const QString &localName) const |
| QDomNodePrivate * | setNamedItem (QDomNodePrivate *arg) |
| QDomNodePrivate * | setNamedItemNS (QDomNodePrivate *arg) |
| QDomNodePrivate * | removeNamedItem (const QString &namename) |
| QDomNodePrivate * | item (int indexindex) const |
| int | length () const |
| bool | contains (const QString &namename) const |
| bool | containsNS (const QString &nsURI, const QString &localName) const |
| void | clearMap () |
| bool | isReadOnly () |
| void | setReadOnly (bool rr) |
| bool | isAppendToParent () |
| void | setAppendToParent (bool bb) |
| QDomNamedNodeMapPrivate * | clone (QDomNodePrivate *parent) |
Public Attributes | |
| QAtomicInt | ref |
| QMultiHash< QString, QDomNodePrivate * > | map |
| QDomNodePrivate * | parent |
| bool | readonly |
| bool | appendToParent |
| QDomNamedNodeMapPrivate::QDomNamedNodeMapPrivate | ( | QDomNodePrivate * | ) |
| QDomNamedNodeMapPrivate::~QDomNamedNodeMapPrivate | ( | ) |
| void QDomNamedNodeMapPrivate::clearMap | ( | ) |
Remove all children from the map.
| QDomNamedNodeMapPrivate * QDomNamedNodeMapPrivate::clone | ( | QDomNodePrivate * | parent | ) |
Creates a copy of the map. It is a deep copy that means that all children are cloned.
| bool QDomNamedNodeMapPrivate::contains | ( | const QString & | name | ) | const |
|
inline |
Definition at line 194 of file qdom_p.h.
References appendToParent.
|
inline |
| QDomNodePrivate * QDomNamedNodeMapPrivate::item | ( | int | index | ) | const |
| int QDomNamedNodeMapPrivate::length | ( | ) | const |
| QDomNodePrivate * QDomNamedNodeMapPrivate::namedItem | ( | const QString & | name | ) | const |
| QDomNodePrivate * QDomNamedNodeMapPrivate::namedItemNS | ( | const QString & | nsURI, |
| const QString & | localName ) const |
| QDomNodePrivate * QDomNamedNodeMapPrivate::removeNamedItem | ( | const QString & | name | ) |
|
inline |
If true, then the node will redirect insert/remove calls to its parent by calling QDomNodePrivate::appendChild or removeChild. In addition the map won't increase or decrease the reference count of the nodes it contains.
By default this value is false and the map will handle reference counting by itself.
Definition at line 204 of file qdom_p.h.
References appendToParent.
| QDomNodePrivate * QDomNamedNodeMapPrivate::setNamedItem | ( | QDomNodePrivate * | arg | ) |
| QDomNodePrivate * QDomNamedNodeMapPrivate::setNamedItemNS | ( | QDomNodePrivate * | arg | ) |
|
inline |
| bool QDomNamedNodeMapPrivate::appendToParent |
Definition at line 217 of file qdom_p.h.
Referenced by isAppendToParent(), and setAppendToParent().
| QMultiHash<QString, QDomNodePrivate *> QDomNamedNodeMapPrivate::map |
| QDomNodePrivate* QDomNamedNodeMapPrivate::parent |
| bool QDomNamedNodeMapPrivate::readonly |
Definition at line 216 of file qdom_p.h.
Referenced by isReadOnly(), and setReadOnly().
| QAtomicInt QDomNamedNodeMapPrivate::ref |