11 #ifndef CXXMLNODEWRAPPER_H 12 #define CXXMLNODEWRAPPER_H 14 #include "cxResourceExport.h" 17 #include <QStringList> 45 QDomElement addTextToElement(QString name, QString text);
50 QDomElement element = this->addElement(name);
51 object->addXml(element);
54 QDomElement addElement(QString name);
59 QDomDocument document();
77 QString parseTextFromElement(QString name);
78 double parseDoubleFromElementWithDefault(QString name,
double defaultValue);
79 QStringList parseTextFromDuplicateElements(QString name);
80 std::vector<QDomElement> getDuplicateElements(QString name);
85 object->parseXml(mNode.namedItem(name));
88 QDomElement parseElement(QString name);
101 #endif // CXXMLNODEWRAPPER_H void addObjectToElement(QString name, T object)
void parseObjectFromElement(QString name, T object)
Namespace for all CustusX production code.