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

#include <qdom_p.h>

+ Inheritance diagram for QDomDocumentTypePrivate:
+ Collaboration diagram for QDomDocumentTypePrivate:

Public Member Functions

 QDomDocumentTypePrivate (QDomDocumentPrivate *, QDomNodePrivate *parent=nullptr)
 
 QDomDocumentTypePrivate (QDomDocumentTypePrivate *n, bool deep)
 
 ~QDomDocumentTypePrivate ()
 
void init ()
 
QDomNodePrivatecloneNode (bool deep=true) override
 
QDomNodePrivateinsertBefore (QDomNodePrivate *newChild, QDomNodePrivate *refChild) override
 
QDomNodePrivateinsertAfter (QDomNodePrivate *newChild, QDomNodePrivate *refChild) override
 
QDomNodePrivatereplaceChild (QDomNodePrivate *newChild, QDomNodePrivate *oldChild) override
 
QDomNodePrivateremoveChild (QDomNodePrivate *oldChild) override
 
QDomNodePrivateappendChild (QDomNodePrivate *newChild) override
 
QDomNode::NodeType nodeType () const override
 
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)
 
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

QDomNamedNodeMapPrivateentities
 
QDomNamedNodeMapPrivatenotations
 
QString publicId
 
QString systemId
 
QString internalSubset
 
- 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 209 of file qdom_p.h.

Constructor & Destructor Documentation

◆ QDomDocumentTypePrivate() [1/2]

QDomDocumentTypePrivate::QDomDocumentTypePrivate ( QDomDocumentPrivate * doc,
QDomNodePrivate * parent = nullptr )

Definition at line 2925 of file qdom.cpp.

References init().

Referenced by cloneNode().

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

◆ QDomDocumentTypePrivate() [2/2]

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

Definition at line 2931 of file qdom.cpp.

References entities, QDomNodePrivate::first, init(), QMultiHash< Key, T >::insert(), QDomNamedNodeMapPrivate::map, and notations.

+ Here is the call graph for this function:

◆ ~QDomDocumentTypePrivate()

QDomDocumentTypePrivate::~QDomDocumentTypePrivate ( )

Definition at line 2948 of file qdom.cpp.

References QBasicAtomicInteger< T >::deref(), entities, notations, and QDomNamedNodeMapPrivate::ref.

+ Here is the call graph for this function:

Member Function Documentation

◆ appendChild()

QDomNodePrivate * QDomDocumentTypePrivate::appendChild ( QDomNodePrivate * newChild)
overridevirtual

Reimplemented from QDomNodePrivate.

Definition at line 3040 of file qdom.cpp.

References insertAfter().

Referenced by QDomBuilder::characters(), QDomBuilder::notationDecl(), and QDomBuilder::unparsedEntityDecl().

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

◆ cloneNode()

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

Reimplemented from QDomNodePrivate.

Definition at line 2973 of file qdom.cpp.

References QDomDocumentTypePrivate().

+ Here is the call graph for this function:

◆ init()

void QDomDocumentTypePrivate::init ( )

Definition at line 2956 of file qdom.cpp.

References QString::clear(), entities, internalSubset, notations, publicId, QT_CATCH, QT_RETHROW, QT_TRY, QDomNamedNodeMapPrivate::setAppendToParent(), and systemId.

Referenced by QDomDocumentTypePrivate(), and QDomDocumentTypePrivate().

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

◆ insertAfter()

QDomNodePrivate * QDomDocumentTypePrivate::insertAfter ( QDomNodePrivate * newChild,
QDomNodePrivate * refChild )
overridevirtual

Reimplemented from QDomNodePrivate.

Definition at line 2994 of file qdom.cpp.

References entities, QMultiHash< Key, T >::insert(), QDomNodePrivate::insertAfter(), QDomNamedNodeMapPrivate::map, and notations.

Referenced by appendChild().

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

◆ insertBefore()

QDomNodePrivate * QDomDocumentTypePrivate::insertBefore ( QDomNodePrivate * newChild,
QDomNodePrivate * refChild )
overridevirtual

Reimplemented from QDomNodePrivate.

Definition at line 2981 of file qdom.cpp.

References entities, QMultiHash< Key, T >::insert(), QDomNodePrivate::insertBefore(), QDomNamedNodeMapPrivate::map, and notations.

+ Here is the call graph for this function:

◆ nodeType()

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

Reimplemented from QDomNodePrivate.

Definition at line 225 of file qdom_p.h.

References QDomNode::DocumentTypeNode.

◆ removeChild()

QDomNodePrivate * QDomDocumentTypePrivate::removeChild ( QDomNodePrivate * oldChild)
overridevirtual

Reimplemented from QDomNodePrivate.

Definition at line 3027 of file qdom.cpp.

References entities, QDomNamedNodeMapPrivate::map, QDomNodePrivate::nodeName(), notations, QMultiHash< Key, T >::remove(), and QDomNodePrivate::removeChild().

+ Here is the call graph for this function:

◆ replaceChild()

QDomNodePrivate * QDomDocumentTypePrivate::replaceChild ( QDomNodePrivate * newChild,
QDomNodePrivate * oldChild )
overridevirtual

Reimplemented from QDomNodePrivate.

Definition at line 3007 of file qdom.cpp.

References entities, QMultiHash< Key, T >::insert(), QDomNamedNodeMapPrivate::map, notations, QMultiHash< Key, T >::remove(), and QDomNodePrivate::replaceChild().

+ Here is the call graph for this function:

◆ save()

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

depth is used for indentation, it seems.

Reimplemented from QDomNodePrivate.

Definition at line 3051 of file qdom.cpp.

References QMultiHash< Key, T >::constBegin(), QMultiHash< Key, T >::constEnd(), Qt::endl(), entities, QString::isNull(), it, QDomNamedNodeMapPrivate::length(), QDomNamedNodeMapPrivate::map, QDomNodePrivate::name, notations, publicId, quotedValue(), and systemId.

+ Here is the call graph for this function:

Member Data Documentation

◆ entities

QDomNamedNodeMapPrivate* QDomDocumentTypePrivate::entities

◆ internalSubset

QString QDomDocumentTypePrivate::internalSubset

Definition at line 234 of file qdom_p.h.

Referenced by init(), and QDomBuilder::parseDTD().

◆ notations

QDomNamedNodeMapPrivate* QDomDocumentTypePrivate::notations

◆ publicId

QString QDomDocumentTypePrivate::publicId

Definition at line 232 of file qdom_p.h.

Referenced by init(), save(), and QDomBuilder::startDTD().

◆ systemId

QString QDomDocumentTypePrivate::systemId

Definition at line 233 of file qdom_p.h.

Referenced by init(), save(), and QDomBuilder::startDTD().


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