Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends | List of all members
QtXmlTextNode Class Reference

An XML Dom text node using the Qt XML module. More...

#include <QtXmlTextNode.h>

Inheritance diagram for QtXmlTextNode:
Inheritance graph
[legend]
Collaboration diagram for QtXmlTextNode:
Collaboration graph
[legend]

Public Member Functions

virtual void appendChild (const XmlNode &child)=0
 Appends a child element to the element.
virtual void appendChild (const XmlNode &child)
 Appends a child element to the element.
 QtXmlTextNode (const QtXmlTextNode &)
 The copy constructor.
void setData (const std::string &data)
 Sets the data for the node.
 ~QtXmlTextNode ()
 The destructor.

Protected Attributes

QDomNode m_node
 The DOM node wrapped by this object.

Private Member Functions

 QtXmlTextNode (const QDomText &)

Private Attributes

QDomText m_text_node
 The DOM text node wrapped by this object.

Friends

class QtXmlDocument

Detailed Description

An XML Dom text node using the Qt XML module.

Author
Paul F. Kunz Paul_.nosp@m.Kunz.nosp@m.@slac.nosp@m..sta.nosp@m.nford.nosp@m..edu

Definition at line 38 of file QtXmlTextNode.h.

Constructor & Destructor Documentation

QtXmlTextNode ( const QDomText node)
private

Definition at line 29 of file QtXmlTextNode.cxx.

References QtXmlNode::m_node, and QtXmlTextNode::m_text_node.

QtXmlTextNode ( const QtXmlTextNode node)

The copy constructor.

Definition at line 19 of file QtXmlTextNode.cxx.

References QtXmlNode::m_node, and QtXmlTextNode::m_text_node.

The destructor.

Definition at line 36 of file QtXmlTextNode.cxx.

Member Function Documentation

virtual void appendChild ( const XmlNode child)
pure virtualinherited
void appendChild ( const XmlNode child)
virtualinherited

Appends a child element to the element.

Implements XmlNode.

Definition at line 34 of file QtXmlNode.cxx.

References QDomNode::appendChild(), and QtXmlNode::m_node.

void setData ( const std::string &  data)
virtual

Sets the data for the node.

Implements XmlTextNode.

Definition at line 42 of file QtXmlTextNode.cxx.

References QtXmlTextNode::m_text_node.

Friends And Related Function Documentation

friend class QtXmlDocument
friend

Definition at line 50 of file QtXmlTextNode.h.

Member Data Documentation

QDomNode m_node
protectedinherited

The DOM node wrapped by this object.

Definition at line 41 of file QtXmlNode.h.

Referenced by QtXmlDocument::appendChild(), QtXmlNode::appendChild(), QtXmlElement::QtXmlElement(), and QtXmlTextNode::QtXmlTextNode().

QDomText m_text_node
private

The DOM text node wrapped by this object.

Definition at line 44 of file QtXmlTextNode.h.

Referenced by QtXmlTextNode::QtXmlTextNode(), and QtXmlTextNode::setData().


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

Generated for HippoDraw Class Library by doxygen