CustusX
22.04-rc5
An IGT application
|
#include <cxXMLNodeWrapper.h>
Public Member Functions | |
XMLNodeParser (QDomNode node) | |
XMLNodeParser | descend (QString path) |
QDomNode | node () |
QString | parseTextFromElement (QString name) |
double | parseDoubleFromElementWithDefault (QString name, double defaultValue) |
QStringList | parseTextFromDuplicateElements (QString name) |
std::vector< QDomElement > | getDuplicateElements (QString name) |
template<class T > | |
void | parseObjectFromElement (QString name, T object) |
QDomElement | parseElement (QString name) |
Helper for CustusX addXml/parseXml framework
Definition at line 67 of file cxXMLNodeWrapper.h.
cx::XMLNodeParser::XMLNodeParser | ( | QDomNode | node | ) |
Definition at line 76 of file cxXMLNodeWrapper.cpp.
XMLNodeParser cx::XMLNodeParser::descend | ( | QString | path | ) |
Use the /-separated path to descend into the root children recursively.
Definition at line 80 of file cxXMLNodeWrapper.cpp.
std::vector< QDomElement > cx::XMLNodeParser::getDuplicateElements | ( | QString | name | ) |
Definition at line 128 of file cxXMLNodeWrapper.cpp.
QDomNode cx::XMLNodeParser::node | ( | ) |
Definition at line 146 of file cxXMLNodeWrapper.cpp.
double cx::XMLNodeParser::parseDoubleFromElementWithDefault | ( | QString | name, |
double | defaultValue | ||
) |
Definition at line 106 of file cxXMLNodeWrapper.cpp.
QDomElement cx::XMLNodeParser::parseElement | ( | QString | name | ) |
Definition at line 141 of file cxXMLNodeWrapper.cpp.
|
inline |
Definition at line 83 of file cxXMLNodeWrapper.h.
QStringList cx::XMLNodeParser::parseTextFromDuplicateElements | ( | QString | name | ) |
Definition at line 116 of file cxXMLNodeWrapper.cpp.
QString cx::XMLNodeParser::parseTextFromElement | ( | QString | name | ) |
Definition at line 101 of file cxXMLNodeWrapper.cpp.