Qt 4.8
Public Types | Public Functions | Public Variables | List of all members
NodeImpl Class Reference
Inheritance diagram for NodeImpl:
DocumentImpl

Public Types

enum  Type {
  Attr = 2, CDATA = 4, Comment = 8, Document = 9,
  DocumentFragment = 11, DocumentType = 10, Element = 1, Entity = 6,
  EntityReference = 5, Notation = 12, ProcessingInstruction = 7, Text = 3
}
 

Public Functions

void addref ()
 
 NodeImpl ()
 
void release ()
 
virtual ~NodeImpl ()
 

Public Variables

QList< NodeImpl * > attributes
 
QList< NodeImpl * > children
 
QString data
 
DocumentImpldocument
 
QString name
 
QString namespaceUri
 
NodeImplparent
 
Type type
 

Detailed Description

Definition at line 105 of file qdeclarativexmlhttprequest.cpp.

Enumerations

◆ Type

Enumerator
Attr 
CDATA 
Comment 
Document 
DocumentFragment 
DocumentType 
Element 
Entity 
EntityReference 
Notation 
ProcessingInstruction 
Text 

Definition at line 117 of file qdeclarativexmlhttprequest.cpp.

Constructors and Destructors

◆ NodeImpl()

NodeImpl::NodeImpl ( )
inline

◆ ~NodeImpl()

virtual NodeImpl::~NodeImpl ( )
inlinevirtual

Definition at line 109 of file qdeclarativexmlhttprequest.cpp.

109  {
110  for (int ii = 0; ii < children.count(); ++ii)
111  delete children.at(ii);
112  for (int ii = 0; ii < attributes.count(); ++ii)
113  delete attributes.at(ii);
114  }
int count(const T &t) const
Returns the number of occurrences of value in the list.
Definition: qlist.h:891
QList< NodeImpl * > attributes
const T & at(int i) const
Returns the item at index position i in the list.
Definition: qlist.h:468
QList< NodeImpl * > children

Functions

◆ addref()

void NodeImpl::addref ( )

Definition at line 334 of file qdeclarativexmlhttprequest.cpp.

335 {
336  A(document);
337 }
#define A(arg)
DocumentImpl * document

◆ release()

void NodeImpl::release ( )

Definition at line 339 of file qdeclarativexmlhttprequest.cpp.

340 {
341  D(document);
342 }
#define D(arg)
DocumentImpl * document

Properties

◆ attributes

QList<NodeImpl *> NodeImpl::attributes

◆ children

QList<NodeImpl *> NodeImpl::children

◆ data

QString NodeImpl::data

◆ document

DocumentImpl* NodeImpl::document

Definition at line 141 of file qdeclarativexmlhttprequest.cpp.

Referenced by addref(), Document::load(), and release().

◆ name

QString NodeImpl::name

◆ namespaceUri

QString NodeImpl::namespaceUri

Definition at line 133 of file qdeclarativexmlhttprequest.cpp.

Referenced by Document::load().

◆ parent

NodeImpl* NodeImpl::parent

◆ type

Type NodeImpl::type

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