NorMIT-nav
16.5
An IGT application
|
Implementation of abstract interface ProbeXmlConfigParser Interface to ProbeCalibConfigs.xml. More...
#include <ProbeXmlConfigParserImpl.h>
Public Member Functions | |
ProbeXmlConfigParserImpl (QString &pathToXml) | |
opens the file and reads it onto the QDomDocument More... | |
virtual | ~ProbeXmlConfigParserImpl () |
virtual QString | getFileName () |
virtual void | removeConfig (QString scanner, QString probe, QString rtsource, QString configId) |
virtual void | saveCurrentConfig (Configuration config) |
virtual QStringList | getScannerList () |
get a list of all scanner in the xml More... | |
virtual QStringList | getProbeList (QString scanner) |
get a list of all probes for that scanner More... | |
virtual QStringList | getRtSourceList (QString scanner, QString probe) |
get a list of rt sources for that scanner/probe combo More... | |
virtual QStringList | getConfigIdList (QString scanner, QString probe, QString rtSource) |
get a list of config ids for that scanner/probe/rsource combo More... | |
virtual Configuration | getConfiguration (QString scanner, QString probe, QString rtsource, QString configId) |
get a easy-to-work-with struct of a specific config More... | |
Protected Member Functions | |
QList< QDomNode > | getScannerNodes (QString scanner="ALL") |
get a list of ALL scanner nodes or just the one you are looking for More... | |
QList< QDomNode > | getProbeNodes (QString scanner, QString probe="ALL") |
get a list of ALL probenodes for that scanner, or just the one you are looking for More... | |
QList< QDomNode > | getRTSourceNodes (QString scanner, QString probe, QString rtSource="ALL") |
get a list of ALL rtsourcenodes for that scanner/probe combo, or just the one you are looking for More... | |
QList< QDomNode > | getConfigNodes (QString scanner, QString probe, QString rtsource, QString config="ALL") |
get a list of ALL confignodes for that scanner/probe/rtsource combo, or just the one you are looking for More... | |
QList< QDomNode > | nodeListToListOfNodes (QDomNodeList list) |
converts a QDomNodeList to a QList<QDomNode> More... | |
void | addTextElement (QDomElement parent, QString element, QString text) |
Protected Attributes | |
cx::XmlOptionFile | mFile |
Additional Inherited Members | |
Public Types inherited from ProbeXmlConfigParser | |
typedef std::pair< double, double > | ColRowPair |
Implementation of abstract interface ProbeXmlConfigParser Interface to ProbeCalibConfigs.xml.
Definition at line 50 of file ProbeXmlConfigParserImpl.h.
ProbeXmlConfigParserImpl::ProbeXmlConfigParserImpl | ( | QString & | pathToXml | ) |
opens the file and reads it onto the QDomDocument
Definition at line 45 of file ProbeXmlConfigParserImpl.cpp.
|
virtual |
Definition at line 55 of file ProbeXmlConfigParserImpl.cpp.
|
protected |
Add a trivial QDomElement with a QTextElement, i.e. <elem> text </elem> .
Definition at line 430 of file ProbeXmlConfigParserImpl.cpp.
|
virtual |
get a list of config ids for that scanner/probe/rsource combo
Implements ProbeXmlConfigParser.
Definition at line 99 of file ProbeXmlConfigParserImpl.cpp.
|
protected |
get a list of ALL confignodes for that scanner/probe/rtsource combo, or just the one you are looking for
Definition at line 364 of file ProbeXmlConfigParserImpl.cpp.
|
virtual |
get a easy-to-work-with struct of a specific config
< get a list of all probes for that scanner
Implements ProbeXmlConfigParser.
Definition at line 181 of file ProbeXmlConfigParserImpl.cpp.
|
virtual |
Implements ProbeXmlConfigParser.
Definition at line 70 of file ProbeXmlConfigParserImpl.cpp.
|
virtual |
get a list of all probes for that scanner
Implements ProbeXmlConfigParser.
Definition at line 75 of file ProbeXmlConfigParserImpl.cpp.
|
protected |
get a list of ALL probenodes for that scanner, or just the one you are looking for
Definition at line 304 of file ProbeXmlConfigParserImpl.cpp.
|
virtual |
get a list of rt sources for that scanner/probe combo
Implements ProbeXmlConfigParser.
Definition at line 87 of file ProbeXmlConfigParserImpl.cpp.
|
protected |
get a list of ALL rtsourcenodes for that scanner/probe combo, or just the one you are looking for
Definition at line 334 of file ProbeXmlConfigParserImpl.cpp.
|
virtual |
get a list of all scanner in the xml
Implements ProbeXmlConfigParser.
Definition at line 58 of file ProbeXmlConfigParserImpl.cpp.
|
protected |
get a list of ALL scanner nodes or just the one you are looking for
Definition at line 284 of file ProbeXmlConfigParserImpl.cpp.
|
protected |
converts a QDomNodeList to a QList<QDomNode>
Definition at line 394 of file ProbeXmlConfigParserImpl.cpp.
|
virtual |
Implements ProbeXmlConfigParser.
Definition at line 404 of file ProbeXmlConfigParserImpl.cpp.
|
virtual |
Implements ProbeXmlConfigParser.
Definition at line 441 of file ProbeXmlConfigParserImpl.cpp.
|
protected |
Definition at line 71 of file ProbeXmlConfigParserImpl.h.