CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 52 of file ProbeXmlConfigParserMock.h.

Constructor & Destructor Documentation

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

Definition at line 38 of file ProbeXmlConfigParserMock.cpp.

ProbeXmlConfigParserMock::~ProbeXmlConfigParserMock ( )
virtual

Definition at line 43 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 81 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 89 of file ProbeXmlConfigParserMock.cpp.

QString ProbeXmlConfigParserMock::getFileName ( )
virtual

Implements ProbeXmlConfigParser.

Definition at line 47 of file ProbeXmlConfigParserMock.cpp.

QStringList ProbeXmlConfigParserMock::getProbeList ( QString  scanner)
virtual

get a list of all probes for that scanner

Implements ProbeXmlConfigParser.

Definition at line 65 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 73 of file ProbeXmlConfigParserMock.cpp.

QStringList ProbeXmlConfigParserMock::getScannerList ( )
virtual

get a list of all scanner in the xml

Implements ProbeXmlConfigParser.

Definition at line 58 of file ProbeXmlConfigParserMock.cpp.

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

Implements ProbeXmlConfigParser.

Definition at line 52 of file ProbeXmlConfigParserMock.cpp.

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

Implements ProbeXmlConfigParser.

Definition at line 55 of file ProbeXmlConfigParserMock.cpp.


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