32 #ifndef CXXMLNODEWRAPPER_H 33 #define CXXMLNODEWRAPPER_H 35 #include "cxResourceExport.h" 38 #include <QStringList> 66 QDomElement addTextToElement(QString name, QString text);
71 QDomElement element = this->addElement(name);
72 object->addXml(element);
75 QDomElement addElement(QString name);
80 QDomDocument document();
98 QString parseTextFromElement(QString name);
99 double parseDoubleFromElementWithDefault(QString name,
double defaultValue);
100 QStringList parseTextFromDuplicateElements(QString name);
101 std::vector<QDomElement> getDuplicateElements(QString name);
106 object->parseXml(mNode.namedItem(name));
109 QDomElement parseElement(QString name);
122 #endif // CXXMLNODEWRAPPER_H void addObjectToElement(QString name, T object)
void parseObjectFromElement(QString name, T object)
Namespace for all CustusX production code.