![]() |
CustusX
15.4.0-beta
An IGT application
|
#include <cxXMLNodeWrapper.h>
Public Member Functions | |
| XMLNodeAdder (QDomNode node) | |
| XMLNodeAdder | descend (QString path) |
| QDomElement | addTextToElement (QString name, QString text) |
| template<class T > | |
| void | addObjectToElement (QString name, T object) |
| QDomElement | addElement (QString name) |
| QDomNode | node () |
Helper for CustusX addXml/parseXml framework
Definition at line 55 of file cxXMLNodeWrapper.h.
| cx::XMLNodeAdder::XMLNodeAdder | ( | QDomNode | node | ) |
Definition at line 41 of file cxXMLNodeWrapper.cpp.
| QDomElement cx::XMLNodeAdder::addElement | ( | QString | name | ) |
Definition at line 81 of file cxXMLNodeWrapper.cpp.
|
inline |
Definition at line 69 of file cxXMLNodeWrapper.h.
| QDomElement cx::XMLNodeAdder::addTextToElement | ( | QString | name, |
| QString | text | ||
| ) |
Definition at line 74 of file cxXMLNodeWrapper.cpp.
| XMLNodeAdder cx::XMLNodeAdder::descend | ( | QString | path | ) |
Use the /-separated path to descend into the root children recursively. Create elements if necessary.
Definition at line 45 of file cxXMLNodeWrapper.cpp.
| QDomNode cx::XMLNodeAdder::node | ( | ) |
Definition at line 69 of file cxXMLNodeWrapper.cpp.