<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>HippoDraw Class Library</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> <link rel="shortcut icon" href="hippoApp.ico"> </head><body> <!-- Generated by Doxygen 1.6.2 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="dir_64d98773e28ad3a986be8bc9397e242e.html">qtxml</a> </div> </div> <div class="contents"> <h1>QtXMLController.h</h1><a href="QtXMLController_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* -*- mode: c++ -*-</span> <a name="l00002"></a>00002 <span class="comment"> * </span> <a name="l00003"></a>00003 <span class="comment"> * HippoPlot QtXMLController class interface</span> <a name="l00004"></a>00004 <span class="comment"> *</span> <a name="l00005"></a>00005 <span class="comment"> * Copyright (C) 2002 The Board of Trustees of The Leland Stanford</span> <a name="l00006"></a>00006 <span class="comment"> * Junior University. All Rights Reserved.</span> <a name="l00007"></a>00007 <span class="comment"> *</span> <a name="l00008"></a>00008 <span class="comment"> * $Id: QtXMLController.h,v 1.54 2005/10/30 00:10:16 pfkeb Exp $</span> <a name="l00009"></a>00009 <span class="comment"> *</span> <a name="l00010"></a>00010 <span class="comment"> *</span> <a name="l00011"></a>00011 <span class="comment"> */</span> <a name="l00012"></a>00012 <a name="l00013"></a>00013 <span class="preprocessor">#ifndef _QtXMLController_H_</span> <a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define _QtXMLController_H_</span> <a name="l00015"></a>00015 <span class="preprocessor"></span> <a name="l00016"></a>00016 <span class="preprocessor">#include "<a class="code" href="libqthippo_8h.html">qt/libqthippo.h</a>"</span> <a name="l00017"></a>00017 <a name="l00018"></a>00018 <a name="l00019"></a>00019 <span class="preprocessor">#ifdef _MSC_VER</span> <a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#include "msdevstudio/MSconfig.h"</span> <a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="code" href="NTuple_8h.html" title="hippodraw::NTuple class interface.">datasrcs/NTuple.h</a>"</span> <a name="l00022"></a>00022 <span class="preprocessor">#include <qdom.h></span> <a name="l00023"></a>00023 <span class="preprocessor">#endif</span> <a name="l00024"></a>00024 <span class="preprocessor"></span> <a name="l00025"></a>00025 <span class="preprocessor">#include "<a class="code" href="XmlController_8h.html" title="XmlController class interface.">xml/XmlController.h</a>"</span> <a name="l00026"></a>00026 <a name="l00027"></a>00027 <span class="keyword">class </span><a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qdomdocument.html">QDomDocument</a>; <a name="l00028"></a>00028 <span class="keyword">class </span><a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qdomelement.html">QDomElement</a>; <a name="l00029"></a>00029 <a name="l00030"></a>00030 <span class="keyword">namespace </span>hippodraw { <a name="l00031"></a>00031 <a name="l00038"></a><a class="code" href="classhippodraw_1_1QtXMLController.html">00038</a> <span class="keyword">class </span><a class="code" href="libqthippo_8h.html#a5c61928b4caef50cebd70354f5e860d9">MDL_QTHIPPOPLOT_API</a> <a class="code" href="classhippodraw_1_1QtXMLController.html" title="A singleton class that is does XML serialization and deserialization with Qt XML...">QtXMLController</a> : <span class="keyword">public</span> <a class="code" href="classhippodraw_1_1XmlController.html" title="A base class that is the interface between GUI and the XML serialization and deserialization...">XmlController</a> <a name="l00039"></a>00039 { <a name="l00040"></a>00040 <a name="l00041"></a>00041 <span class="keyword">private</span>: <a name="l00042"></a>00042 <a name="l00044"></a><a class="code" href="classhippodraw_1_1QtXMLController.html#aac2ba258fb046a1146b876205e97dd2b">00044</a> <span class="keyword">static</span> <a class="code" href="classhippodraw_1_1QtXMLController.html" title="A singleton class that is does XML serialization and deserialization with Qt XML...">QtXMLController</a> * s_instance; <a name="l00045"></a>00045 <a name="l00047"></a>00047 <a class="code" href="classhippodraw_1_1QtXMLController.html" title="A singleton class that is does XML serialization and deserialization with Qt XML...">QtXMLController</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1QtXMLController.html" title="A singleton class that is does XML serialization and deserialization with Qt XML...">QtXMLController</a> & ); <a name="l00048"></a>00048 <a name="l00049"></a>00049 <span class="keyword">protected</span>: <a name="l00050"></a>00050 <a name="l00053"></a>00053 <a class="code" href="classhippodraw_1_1QtXMLController.html" title="A singleton class that is does XML serialization and deserialization with Qt XML...">QtXMLController</a>(); <a name="l00054"></a>00054 <a name="l00055"></a>00055 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> fileExists ( <span class="keyword">const</span> std::string & filename ) <span class="keyword">const</span>; <a name="l00056"></a>00056 <span class="keyword">virtual</span> <span class="keywordtype">void</span> newDocument ( <span class="keyword">const</span> std::string & name ); <a name="l00057"></a>00057 <a name="l00058"></a>00058 <span class="keyword">public</span>: <a name="l00059"></a>00059 <a name="l00061"></a>00061 <span class="keyword">static</span> <a class="code" href="classhippodraw_1_1QtXMLController.html" title="A singleton class that is does XML serialization and deserialization with Qt XML...">QtXMLController</a> * instance (); <a name="l00062"></a>00062 <a name="l00063"></a>00063 }; <a name="l00064"></a>00064 <a name="l00065"></a>00065 } <span class="comment">// namespace hippodraw</span> <a name="l00066"></a>00066 <a name="l00067"></a>00067 <span class="preprocessor">#endif // _QtXMLController_H_</span> </pre></div></div> <hr size="1"><address style="align: right;"><small> Generated for HippoDraw Class Library by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0> </a> </small></address> </body> </html>