CustusX  2023.01.05-dev+develop.0da12
An IGT application
ProbeXmlConfigParserMock Class Reference

Moc implementation of abstract interface ProbeXmlConfigParser All function return dummy values. More...

#include <ProbeXmlConfigParserMock.h>

Inheritance diagram for ProbeXmlConfigParserMock:
ProbeXmlConfigParser

Public Member Functions

 ProbeXmlConfigParserMock (QString &pathToXml, bool provideRTSource=true)
 
virtual ~ProbeXmlConfigParserMock ()
 
virtual QString getFileName ()
 
virtual void removeConfig (QString scanner, QString probe, QString rtsource, QString configId)
 
virtual void saveCurrentConfig (ProbeXmlConfigParser::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 ProbeXmlConfigParser::Configuration getConfiguration (QString scanner, QString probe, QString rtsource, QString configId)
 get a easy-to-work-with struct of a specific config More...
 

Additional Inherited Members

- Public Types inherited from ProbeXmlConfigParser
typedef std::pair< double, double > ColRowPair
 

Detailed Description

Moc implementation of abstract interface ProbeXmlConfigParser All function return dummy values.

ProbeXmlConfigParserMoc.h

Date
Jun 4, 2013
Author
Ole Vegard Solberg, SINTEF

Definition at line 31 of file ProbeXmlConfigParserMock.h.

Constructor & Destructor Documentation

ProbeXmlConfigParserMock::ProbeXmlConfigParserMock ( QString &  pathToXml,
bool  provideRTSource = true 
)

Definition at line 17 of file ProbeXmlConfigParserMock.cpp.

ProbeXmlConfigParserMock::~ProbeXmlConfigParserMock ( )
virtual

Definition at line 22 of file ProbeXmlConfigParserMock.cpp.

Member Function Documentation

QStringList ProbeXmlConfigParserMock::getConfigIdList ( QString  scanner,
QString  probe,
QString  rtSource 
)
virtual

get a list of config ids for that scanner/probe/rsource combo

Implements ProbeXmlConfigParser.

Definition at line 60 of file ProbeXmlConfigParserMock.cpp.

ProbeXmlConfigParser::Configuration ProbeXmlConfigParserMock::getConfiguration ( QString  scanner,
QString  probe,
QString  rtsource,
QString  configId 
)
virtual

get a easy-to-work-with struct of a specific config

Implements ProbeXmlConfigParser.

Definition at line 68 of file ProbeXmlConfigParserMock.cpp.

QString ProbeXmlConfigParserMock::getFileName ( )
virtual

Implements ProbeXmlConfigParser.

Definition at line 26 of file ProbeXmlConfigParserMock.cpp.

QStringList ProbeXmlConfigParserMock::getProbeList ( QString  scanner)
virtual

get a list of all probes for that scanner

Implements ProbeXmlConfigParser.

Definition at line 44 of file ProbeXmlConfigParserMock.cpp.

QStringList ProbeXmlConfigParserMock::getRtSourceList ( QString  scanner,
QString  probe 
)
virtual

get a list of rt sources for that scanner/probe combo

Implements ProbeXmlConfigParser.

Definition at line 52 of file ProbeXmlConfigParserMock.cpp.

QStringList ProbeXmlConfigParserMock::getScannerList ( )
virtual

get a list of all scanner in the xml

Implements ProbeXmlConfigParser.

Definition at line 37 of file ProbeXmlConfigParserMock.cpp.

void ProbeXmlConfigParserMock::removeConfig ( QString  scanner,
QString  probe,
QString  rtsource,
QString  configId 
)
virtual

Implements ProbeXmlConfigParser.

Definition at line 31 of file ProbeXmlConfigParserMock.cpp.

void ProbeXmlConfigParserMock::saveCurrentConfig ( ProbeXmlConfigParser::Configuration  config)
virtual

Implements ProbeXmlConfigParser.

Definition at line 34 of file ProbeXmlConfigParserMock.cpp.


The documentation for this class was generated from the following files: