Eneboo - Documentación para desarrolladores
Métodos públicos | Amigas
Referencia de la Clase QDomComment

The QDomComment class represents an XML comment.XMLA comment in the parsed XML such as this: Más...

#include <qdom.h>

Diagrama de herencias de QDomComment
QDomCharacterData QDomCharacterData QDomNode QDomNode QDomNode QDomNode

Lista de todos los miembros.

Métodos públicos

 QDomComment ()
 QDomComment (const QDomComment &x)
QDomCommentoperator= (const QDomComment &)
 ~QDomComment ()
QDomNode::NodeType nodeType () const
bool isComment () const
 QDomComment ()
 QDomComment (const QDomComment &x)
QDomCommentoperator= (const QDomComment &)
 ~QDomComment ()
QDomNode::NodeType nodeType () const
bool isComment () const

Amigas

class QDomDocument
class QDomNode

Descripción detallada

The QDomComment class represents an XML comment.

XML

A comment in the parsed XML such as this:

    <!-- this is a comment -->

is represented by QDomComment objects in the parsed Dom tree.

For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation.


Documentación del constructor y destructor

QDomComment::QDomComment ( )

Constructs an empty comment. To construct a comment with content, use the QDomDocument::createComment() function.

QDomComment::QDomComment ( const QDomComment x)

Constructs a copy of x.

The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode().

QDomComment::~QDomComment ( )

Destroys the object and frees its resources.

QDomComment::QDomComment ( )
QDomComment::QDomComment ( const QDomComment x)
QDomComment::~QDomComment ( )

Documentación de las funciones miembro

bool QDomComment::isComment ( ) const [virtual]

Returns TRUE.

Reimplementado de QDomNode.

bool QDomComment::isComment ( ) const [virtual]

Returns TRUE if the node is a comment; otherwise returns FALSE.

If this function returns TRUE, it does not imply that this object is a QDomComment; you can get the QDomComment with toComment().

Ver también:
toComment()

Reimplementado de QDomNode.

QDomNode::NodeType QDomComment::nodeType ( ) const [virtual]

Returns the type of node this object refers to (i.e. TextNode, CDATASectionNode, CommentNode or CharacterDataNode). For a null node CharacterDataNode is returned.

Reimplementado de QDomCharacterData.

QDomNode::NodeType QDomComment::nodeType ( ) const [virtual]

Returns CommentNode.

Reimplementado de QDomCharacterData.

QDomComment& QDomComment::operator= ( const QDomComment )
QDomComment & QDomComment::operator= ( const QDomComment x)

Assigns x to this DOM comment.

The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode().


Documentación de las funciones relacionadas y clases amigas

QDomDocument [friend]

Reimplementado de QDomCharacterData.

QDomNode [friend]

Reimplementado de QDomCharacterData.


La documentación para esta clase fue generada a partir de los siguientes ficheros:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'