QtXmlDocument.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _QtXmlDocument_H_
15 #define _QtXmlDocument_H_
16 
17 #include "qt/libqthippo.h"
18 
19 #include "xml/XmlDocument.h"
20 
21 #include <qdom.h>
22 
23 namespace hippodraw {
24 
31 {
32 
33 private:
34 
37 
39  QtXmlDocument ( const QtXmlDocument & );
40 
41 public:
42 
44  QtXmlDocument ( QDomDocument document );
45 
46  QtXmlDocument ( const std:: string & name );
47 
50  ~QtXmlDocument ();
51 
52  virtual XmlElement * documentElement ( ) const;
53  virtual XmlElement * createElement ( const std::string & tagName );
54  virtual XmlTextNode * createTextNode ( const std::string & tag );
55  virtual void appendChild ( XmlElement & );
56  virtual Status saveToFile ( const std::string & filename );
57  virtual Status setContent ( const std::string & filename );
58 
59 };
60 
61 } // namespace hippodraw
62 
63 #endif // _QtXmlDocument_H_
#define MDL_QTHIPPOPLOT_API
Definition: libqthippo.h:36
XmlDocument class interface.
A pure virtual base class of XML element wrapper.
Definition: XmlElement.h:30
An XML DOM Document handler using the Qt XML module.
Definition: QtXmlDocument.h:30
QDomDocument m_document
The DOM element wrapped by this object.
Definition: QtXmlDocument.h:36
An abstract base class of XML document element wrapper.
Definition: XmlDocument.h:32
Status
Status codes for opening an XML document.
Definition: XmlDocument.h:37
A pure virtual base class of XML DOM Text node wrapper.
Definition: XmlTextNode.h:28

Generated for HippoDraw Class Library by doxygen