Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends

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]

List of all members.

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.
virtual void setData (const std::string &)=0
 Sets the data for the text node.
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_Kunz@slac.stanford.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.

~QtXmlTextNode (  ) 

The destructor.

Definition at line 36 of file QtXmlTextNode.cxx.


Member Function Documentation

virtual void appendChild ( const XmlNode child  )  [pure virtual, inherited]
void appendChild ( const XmlNode child  )  [virtual, inherited]

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  ) 

Sets the data for the node.

Definition at line 42 of file QtXmlTextNode.cxx.

References QtXmlTextNode::m_text_node.

virtual void setData ( const std::string &   )  [pure virtual, inherited]

Sets the data for the text node.


Friends And Related Function Documentation

friend class QtXmlDocument [friend]

Reimplemented from QtXmlNode.

Definition at line 50 of file QtXmlTextNode.h.


Member Data Documentation

QDomNode m_node [protected, inherited]

The DOM node wrapped by this object.

Definition at line 41 of file QtXmlNode.h.

Referenced by QtXmlNode::appendChild(), QtXmlDocument::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