Qt 4.8
Public Functions | List of all members
QDomEntityReferencePrivate Class Reference
Inheritance diagram for QDomEntityReferencePrivate:
QDomNodePrivate

Public Functions

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

Additional Inherited Members

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

Detailed Description

Definition at line 477 of file qdom.cpp.

Constructors and Destructors

◆ QDomEntityReferencePrivate() [1/2]

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

Definition at line 6021 of file qdom.cpp.

6022  : QDomNodePrivate(d, parent)
6023 {
6024  name = aname;
6025 }
QDomNodePrivate(QDomDocumentPrivate *, QDomNodePrivate *parent=0)
Definition: qdom.cpp:1482

◆ QDomEntityReferencePrivate() [2/2]

QDomEntityReferencePrivate::QDomEntityReferencePrivate ( QDomNodePrivate n,
bool  deep 
)

Definition at line 6027 of file qdom.cpp.

6028  : QDomNodePrivate(n, deep)
6029 {
6030 }
QDomNodePrivate(QDomDocumentPrivate *, QDomNodePrivate *parent=0)
Definition: qdom.cpp:1482

Functions

◆ cloneNode()

QDomNodePrivate * QDomEntityReferencePrivate::cloneNode ( bool  deep = true)
virtual

Reimplemented from QDomNodePrivate.

Definition at line 6032 of file qdom.cpp.

6033 {
6034  QDomNodePrivate* p = new QDomEntityReferencePrivate(this, deep);
6035  // We are not interested in this node
6036  p->ref.deref();
6037  return p;
6038 }
QDomEntityReferencePrivate(QDomDocumentPrivate *, QDomNodePrivate *parent, const QString &name)
Definition: qdom.cpp:6021
QAtomicInt ref
Definition: qdom.cpp:191
bool deref()
Atomically decrements the value of this QAtomicInt.

◆ isEntityReference()

bool QDomEntityReferencePrivate::isEntityReference ( ) const
inlinevirtual

Reimplemented from QDomNodePrivate.

Definition at line 485 of file qdom.cpp.

485 { return true; }

◆ nodeType()

QDomNode::NodeType QDomEntityReferencePrivate::nodeType ( ) const
inlinevirtual

Reimplemented from QDomNodePrivate.

Definition at line 486 of file qdom.cpp.

◆ save()

void QDomEntityReferencePrivate::save ( QTextStream s,
int  depth,
int  indent 
) const
virtual
Warning
This function is not part of the public interface. depth is used for indentation, it seems.

Reimplemented from QDomNodePrivate.

Definition at line 6040 of file qdom.cpp.

6041 {
6042  s << '&' << name << ';';
6043 }
QString name
Definition: qdom.cpp:198

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