Qt 6.x
The Qt SDK
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
 
virtual void setNodeValue (const QString &v)
 
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 QDomNodePrivatecloneNode (bool deep=true)
 
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
 
virtual QDomNode::NodeType nodeType () const
 
virtual void save (QTextStream &, int, int) 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 279 of file qdom_p.h.

Constructor & Destructor Documentation

◆ QDomAttrPrivate() [1/3]

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

Definition at line 3551 of file qdom.cpp.

References m_specified.

◆ QDomAttrPrivate() [2/3]

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

Definition at line 3558 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 3567 of file qdom.cpp.

References m_specified.

Member Function Documentation

◆ cloneNode()

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

Reimplemented from QDomNodePrivate.

Definition at line 3587 of file qdom.cpp.

◆ nodeType()

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

Reimplemented from QDomNodePrivate.

Definition at line 292 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 3658 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 3573 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 3595 of file qdom.cpp.

References m_specified.

Member Data Documentation

◆ m_specified

bool QDomAttrPrivate::m_specified

Definition at line 296 of file qdom_p.h.

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


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