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

QtXmlDocument.h

Go to the documentation of this file.
00001 /* -*- mode: c++ -*-
00002  * 
00003  * HippoPlot QtXmlDocument class interface
00004  *
00005  * Copyright (C) 2002, 2003   The Board of Trustees of The Leland
00006  * Stanford Junior University.  All Rights Reserved.
00007  *
00008  * $Id: QtXmlDocument.h,v 1.12 2004/06/27 22:09:06 pfkeb Exp $
00009  *
00010  */
00011 
00012 #ifndef _QtXmlDocument_H_
00013 #define _QtXmlDocument_H_
00014 
00015 #include "qt/libqthippo.h"
00016 
00017 #include "xml/XmlDocument.h"
00018 
00019 #include <qdom.h>
00020 
00026 class MDL_QTHIPPOPLOT_API QtXmlDocument : public XmlDocument
00027 {
00028 
00029 private:
00030 
00032   QDomDocument m_document;
00033 
00035   QtXmlDocument ( const QtXmlDocument & );
00036 
00037 public:
00038 
00040   QtXmlDocument ( QDomDocument document );
00041 
00042   QtXmlDocument ( const std:: string & name );
00043 
00044   virtual XmlElement * documentElement ( ) const;
00045   virtual XmlElement * createElement ( const std::string & tagName );
00046   virtual XmlTextNode * createTextNode ( const std::string & tag );
00047   virtual void appendChild ( XmlElement & );
00048   virtual Status saveToFile ( const std::string & filename );
00049   virtual Status setContent ( const std::string & filename );
00050 
00051 };
00052 
00053 #endif // _QtXmlDocument_H_

Generated for HippoDraw-1.14.8.5 by doxygen 1.4.3