COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
coConfigXercesEntry.h
Go to the documentation of this file.
1 /* This file is part of COVISE.
2 
3  You can use it under the terms of the GNU Lesser General Public License
4  version 2.1 or later, see lgpl-2.1.txt.
5 
6  * License: LGPL 2+ */
7 
8 #ifndef COCONFIGXERCESENTRY_H
9 #define COCONFIGXERCESENTRY_H
10 
11 #include <config/coConfigEntry.h>
12 
13 #include <QObject>
14 #include <QString>
15 #include <QRegExp>
16 #include <QList>
17 
18 #include <util/coTypes.h>
19 
20 #include <xercesc/util/XercesDefs.hpp>
22 
23 // this class is not in coConfig lib (leads to duplicate symbols)#include "coConfigEntryToEditor.h" //the friend
24 //#include "config/coEditor/mainwindow.h"
25 
26 namespace XERCES_CPP_NAMESPACE
27 {
28 class DOMDocument;
29 class DOMElement;
30 class DOMNode;
31 };
32 
33 namespace covise
34 {
35 
37 {
38 public:
40  virtual ~coConfigXercesEntry();
41 
42  static coConfigEntry *restoreFromDom(xercesc::DOMElement *node, const QString &configName);
43  xercesc::DOMNode *storeToDom(xercesc::DOMDocument &document, int indent = 2);
44 
45  virtual coConfigEntry *clone() const;
46 
47 protected:
49 };
50 }
51 #endif
GLsizei GLsizei GLchar * source
Definition: khronos-glext.h:6739
Definition: coConfigXercesEntry.h:36
xercesc::DOMNode * storeToDom(xercesc::DOMDocument &document, int indent=2)
Definition: coConfigEntry.cpp:164
virtual coConfigEntry * clone() const
Definition: coConfigEntry.cpp:385
Definition: coConfigEntry.h:33
QString configName
Definition: coConfigEntry.h:92
static coConfigEntry * restoreFromDom(xercesc::DOMElement *node, const QString &configName)
Definition: coConfigEntry.cpp:237
virtual ~coConfigXercesEntry()
Definition: coConfigEntry.cpp:26
coConfigXercesEntry()
Definition: coConfigEntry.cpp:22