Fraxinus
16.5.0-fx-rc4
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 88 of file cxXMLNodeWrapper.h.
cx::XMLNodeParser::XMLNodeParser | ( | QDomNode | node | ) |
Definition at line 97 of file cxXMLNodeWrapper.cpp.
XMLNodeParser cx::XMLNodeParser::descend | ( | QString | path | ) |
Use the /-separated path to descend into the root children recursively.
Definition at line 101 of file cxXMLNodeWrapper.cpp.
std::vector< QDomElement > cx::XMLNodeParser::getDuplicateElements | ( | QString | name | ) |
Definition at line 149 of file cxXMLNodeWrapper.cpp.
QDomNode cx::XMLNodeParser::node | ( | ) |
Definition at line 167 of file cxXMLNodeWrapper.cpp.
double cx::XMLNodeParser::parseDoubleFromElementWithDefault | ( | QString | name, |
double | defaultValue | ||
) |
Definition at line 127 of file cxXMLNodeWrapper.cpp.
QDomElement cx::XMLNodeParser::parseElement | ( | QString | name | ) |
Definition at line 162 of file cxXMLNodeWrapper.cpp.
|
inline |
Definition at line 104 of file cxXMLNodeWrapper.h.
QStringList cx::XMLNodeParser::parseTextFromDuplicateElements | ( | QString | name | ) |
Definition at line 137 of file cxXMLNodeWrapper.cpp.
QString cx::XMLNodeParser::parseTextFromElement | ( | QString | name | ) |
Definition at line 122 of file cxXMLNodeWrapper.cpp.