QtXmlTextNode Class Reference

#include <QtXmlTextNode.h>

Inheritance diagram for QtXmlTextNode:

Inheritance graph
XmlTextNodeXmlNodeQtXmlNode
[legend]
Collaboration diagram for QtXmlTextNode:

Collaboration graph
XmlTextNodeXmlNodeQtXmlNodeQDomNodeQDomText
[legend]
List of all members.

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.

Public Member Functions

virtual void appendChild (const XmlNode &child)
 Appends a child element to the element.
virtual void appendChild (const XmlNode &child)=0
 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


Constructor & Destructor Documentation

QtXmlTextNode ( const QDomText  )  [private]

Definition at line 29 of file QtXmlTextNode.cxx.

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

QtXmlTextNode ( const QtXmlTextNode  ) 

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

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.

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

Appends a child element to the element.

Implemented in QtXmlNode.

Referenced by XmlController::addDataSource(), XmlController::addViews(), PlotterBaseXML::createAxisModel(), ViewBaseXML::createChild(), PlotterBaseXML::createChildren(), NTupleProjectorXML::createChildren(), DataRepXML::createChildren(), BinsBaseXML::createChildren(), BinningProjectorXML::createChildren(), AxisModelXML::createChildren(), PlotterBaseXML::createCutChildren(), PointRepXML::createElement(), PlotterBaseXML::createFontElement(), PlotterBaseXML::createFontElements(), DataRepXML::createFunctionTargetChild(), and PlotterBaseXML::createTextChildren().

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]

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