QtXmlNode.cxx
Go to the documentation of this file.
1 
12 #include "QtXmlNode.h"
13 
14 #include <cassert>
15 
16 using namespace hippodraw;
17 
19 QtXmlNode ( const QtXmlNode & )
20  : XmlNode ()
21 {
22 }
23 
26 {
27 }
28 
31 {
32 }
33 
34 void QtXmlNode::appendChild ( const XmlNode & child )
35 {
36  try {
37  const QtXmlNode & qtelem
38  = dynamic_cast < const QtXmlNode & > ( child );
39  m_node.appendChild ( qtelem.m_node );
40  }
41  catch ( ... ) {
42  assert ( false );
43  }
44 }
virtual void appendChild(const XmlNode &child)
Appends a child element to the element.
Definition: QtXmlNode.cxx:34
QDomNode m_node
The DOM node wrapped by this object.
Definition: QtXmlNode.h:41
QtXmlNode()
The default constructor.
Definition: QtXmlNode.cxx:25
appendChild(const QDomNode &newChild)
hippodraw::QtXmlNode class interface
virtual ~QtXmlNode()
The destructor.
Definition: QtXmlNode.cxx:30
An XML element using the Qt XML module.
Definition: QtXmlNode.h:35
A pure virtual base class of XML node wrappers.
Definition: XmlNode.h:27

Generated for HippoDraw Class Library by doxygen