QtXMLController.h

Go to the documentation of this file.
00001 /* -*- mode: c++ -*-
00002  * 
00003  * HippoPlot QtXMLController class interface
00004  *
00005  * Copyright (C)  2002  The Board of Trustees of The Leland Stanford
00006  * Junior University.  All Rights Reserved.
00007  *
00008  * $Id: QtXMLController_8h-source.html,v 1.40 2008/03/24 19:27:34 pfkeb Exp $
00009  *
00010  *
00011  */
00012 
00013 #ifndef _QtXMLController_H_
00014 #define _QtXMLController_H_
00015 
00016 #include "qt/libqthippo.h"
00017 
00018 
00019 #ifdef _MSC_VER
00020 #include "msdevstudio/MSconfig.h"
00021 #include "datasrcs/NTuple.h"
00022 #include <qdom.h>
00023 #endif
00024 
00025 #include "xml/XmlController.h"
00026 
00027 class QDomDocument;
00028 class QDomElement;
00029 
00030 namespace hippodraw {
00031 
00038 class MDL_QTHIPPOPLOT_API QtXMLController : public XmlController
00039 {
00040 
00041 private:
00042 
00044   static QtXMLController * s_instance;
00045 
00047   QtXMLController ( const QtXMLController & );
00048 
00049 protected:
00050 
00053   QtXMLController();
00054 
00055   virtual bool fileExists ( const std::string & filename ) const;
00056   virtual void newDocument ( const std::string & name );
00057 
00058 public:
00059 
00061   static QtXMLController * instance ();
00062 
00063 };
00064 
00065 } // namespace hippodraw
00066 
00067 #endif // _QtXMLController_H_

Generated for HippoDraw Class Library by doxygen