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
QDomAttrPrivate Class Reference

#include <qdom_p.h>

+ Inheritance diagram for QDomAttrPrivate:
+ Collaboration diagram for QDomAttrPrivate:

Public Member Functions

 QDomAttrPrivate (QDomDocumentPrivate *, QDomNodePrivate *, const QString &name)
 
 QDomAttrPrivate (QDomDocumentPrivate *, QDomNodePrivate *, const QString &nsURI, const QString &qName)
 
 QDomAttrPrivate (QDomAttrPrivate *n, bool deep)
 
bool specified () const
 
void setNodeValue (const QString &v) override
 
QDomNodePrivatecloneNode (bool deep=true) override
 
QDomNode::NodeType nodeType () const override
 
virtual void save (QTextStream &s, int, int) const override
 
- Public Member Functions inherited from QDomNodePrivate
 QDomNodePrivate (QDomDocumentPrivate *, QDomNodePrivate *parent=nullptr)
 
 QDomNodePrivate (QDomNodePrivate *n, bool deep)
 
virtual ~QDomNodePrivate ()
 
QString nodeName () const
 
QString nodeValue () const
 
QDomDocumentPrivateownerDocument ()
 
void setOwnerDocument (QDomDocumentPrivate *doc)
 
virtual QDomNodePrivateinsertBefore (QDomNodePrivate *newChild, QDomNodePrivate *refChild)
 
virtual QDomNodePrivateinsertAfter (QDomNodePrivate *newChild, QDomNodePrivate *refChild)
 
virtual QDomNodePrivatereplaceChild (QDomNodePrivate *newChild, QDomNodePrivate *oldChild)
 
virtual QDomNodePrivateremoveChild (QDomNodePrivate *oldChild)
 
virtual QDomNodePrivateappendChild (QDomNodePrivate *newChild)
 
QDomNodePrivatenamedItem (const QString &name)
 
virtual void normalize ()
 
virtual void clear ()
 
QDomNodePrivateparent () const
 
void setParent (QDomNodePrivate *p)
 
void setNoParent ()
 
bool isAttr () const
 
bool isCDATASection () const
 
bool isDocumentFragment () const
 
bool isDocument () const
 
bool isDocumentType () const
 
bool isElement () const
 
bool isEntityReference () const
 
bool isText () const
 
bool isEntity () const
 
bool isNotation () const
 
bool isProcessingInstruction () const
 
bool isCharacterData () const
 
bool isComment () const
 
void setLocation (int lineNumber, int columnNumber)
 

Public Attributes

bool m_specified
 
- Public Attributes inherited from QDomNodePrivate
QAtomicInt ref
 
QDomNodePrivateprev
 
QDomNodePrivatenext
 
QDomNodePrivateownerNode
 
QDomNodePrivatefirst
 
QDomNodePrivatelast
 
QString name
 
QString value
 
QString prefix
 
QString namespaceURI
 
bool createdWithDom1Interface: 1
 
bool hasParent: 1
 
int lineNumber
 
int columnNumber
 

Detailed Description

Definition at line 280 of file qdom_p.h.

Constructor & Destructor Documentation

◆ QDomAttrPrivate() [1/3]

QDomAttrPrivate::QDomAttrPrivate ( QDomDocumentPrivate * d,
QDomNodePrivate * parent,
const QString & name )

Definition at line 3550 of file qdom.cpp.

References m_specified.

Referenced by cloneNode().

+ Here is the caller graph for this function:

◆ QDomAttrPrivate() [2/3]

QDomAttrPrivate::QDomAttrPrivate ( QDomDocumentPrivate * d,
QDomNodePrivate * p,
const QString & nsURI,
const QString & qName )

Definition at line 3557 of file qdom.cpp.

References QDomNodePrivate::createdWithDom1Interface, QString::isNull(), m_specified, QDomNodePrivate::namespaceURI, QDomNodePrivate::prefix, and qt_split_namespace().

+ Here is the call graph for this function:

◆ QDomAttrPrivate() [3/3]

QDomAttrPrivate::QDomAttrPrivate ( QDomAttrPrivate * n,
bool deep )

Definition at line 3566 of file qdom.cpp.

References m_specified.

Member Function Documentation

◆ cloneNode()

QDomNodePrivate * QDomAttrPrivate::cloneNode ( bool deep = true)
overridevirtual

Reimplemented from QDomNodePrivate.

Definition at line 3586 of file qdom.cpp.

References QDomAttrPrivate().

+ Here is the call graph for this function:

◆ nodeType()

QDomNode::NodeType QDomAttrPrivate::nodeType ( ) const
inlineoverridevirtual

Reimplemented from QDomNodePrivate.

Definition at line 293 of file qdom_p.h.

References QDomNode::AttributeNode.

◆ save()

void QDomAttrPrivate::save ( QTextStream & s,
int depth,
int indent ) const
overridevirtual

depth is used for indentation, it seems.

Reimplemented from QDomNodePrivate.

Definition at line 3657 of file qdom.cpp.

References encodeText(), QString::isNull(), QDomNodePrivate::namespaceURI, QDomNodePrivate::ownerNode, and QDomNodePrivate::prefix.

+ Here is the call graph for this function:

◆ setNodeValue()

void QDomAttrPrivate::setNodeValue ( const QString & v)
overridevirtual

Reimplemented from QDomNodePrivate.

Definition at line 3572 of file qdom.cpp.

References QDomNodePrivate::appendChild(), and QDomNodePrivate::removeChild().

+ Here is the call graph for this function:

◆ specified()

bool QDomAttrPrivate::specified ( ) const

Definition at line 3594 of file qdom.cpp.

References m_specified.

Member Data Documentation

◆ m_specified

bool QDomAttrPrivate::m_specified

Definition at line 297 of file qdom_p.h.

Referenced by QDomAttrPrivate(), QDomAttrPrivate(), QDomAttrPrivate(), and specified().


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