Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

QtXmlTextNode Class Reference

#include <QtXmlTextNode.h>

Inheritance diagram for QtXmlTextNode:

Inheritance graph
[legend]
Collaboration diagram for QtXmlTextNode:

Collaboration graph
[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 36 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

QDomNodem_node
 The DOM node wrapped by this object.

Private Member Functions

 QtXmlTextNode (const QDomText &)

Private Attributes

QDomTextm_text_node
 The DOM text node wrapped by this object.

Friends

class QtXmlDocument


Constructor & Destructor Documentation

QtXmlTextNode::QtXmlTextNode const QDomText  )  [private]
 

Definition at line 24 of file QtXmlTextNode.cxx.

References QtXmlNode::m_node, and m_text_node.

QtXmlTextNode::QtXmlTextNode const QtXmlTextNode  ) 
 

The copy constructor.

Definition at line 17 of file QtXmlTextNode.cxx.

References QtXmlNode::m_node, and m_text_node.

QtXmlTextNode::~QtXmlTextNode  ) 
 

The destructor.

Definition at line 31 of file QtXmlTextNode.cxx.

References m_text_node.


Member Function Documentation

void QtXmlNode::appendChild const XmlNode child  )  [virtual, inherited]
 

Appends a child element to the element.

Implements XmlNode.

Definition at line 32 of file QtXmlNode.cxx.

References QtXmlNode::m_node.

virtual void XmlNode::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 QtXmlTextNode::setData const std::string data  )  [virtual]
 

Sets the data for the node.

Implements XmlTextNode.

Definition at line 38 of file QtXmlTextNode.cxx.

References m_text_node.


Friends And Related Function Documentation

friend class QtXmlDocument [friend]
 

Reimplemented from QtXmlNode.

Definition at line 48 of file QtXmlTextNode.h.


Member Data Documentation

QDomNode* QtXmlNode::m_node [protected, inherited]
 

The DOM node wrapped by this object.

Definition at line 39 of file QtXmlNode.h.

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

QDomText* QtXmlTextNode::m_text_node [private]
 

The DOM text node wrapped by this object.

Definition at line 42 of file QtXmlTextNode.h.

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


The documentation for this class was generated from the following files:
Generated for HippoDraw-1.14.8.5 by doxygen 1.4.3