Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkSceneIOTestScenarioProvider.h>
Public Member Functions | |
DataStorage::Pointer | BuildDataStorage () const |
Construct the DataStorage for this scenario. More... | |
Scenario (const std::string &_key, const SceneIOTestScenarioProvider *_scenarioProvider, SceneIOTestScenarioProvider::BuilderMethodPointer _providerMethod, bool _isSerializable, const std::string &_referenceArchiveFilename, bool _isReferenceLoadable, double _comparisonPrecision) | |
Public Attributes | |
std::string | key |
Description / ID. More... | |
bool | serializable |
Do we expect that this can be stored in a .mitk file? More... | |
std::string | referenceArchiveFilename |
Absolute filename with a reference .mitk file. More... | |
bool | referenceArchiveLoadable |
Do we expect that the reference can be loaded without errors? More... | |
double | comparisonPrecision |
Precision used for floating point comparisons after save/load cycle (eps). More... | |
Structure to describe a single scenario.
Holds some descriptive members plus a pointer to a method in SceneIOTestScenarioProvider that is able to create a DataStorage. This DataStorage shall represent some particularity to be tested in a related test.
Definition at line 55 of file mitkSceneIOTestScenarioProvider.h.
mitk::SceneIOTestScenarioProvider::Scenario::Scenario | ( | const std::string & | _key, |
const SceneIOTestScenarioProvider * | _scenarioProvider, | ||
SceneIOTestScenarioProvider::BuilderMethodPointer | _providerMethod, | ||
bool | _isSerializable, | ||
const std::string & | _referenceArchiveFilename, | ||
bool | _isReferenceLoadable, | ||
double | _comparisonPrecision | ||
) |
_key | Description / ID. |
_scenarioProvider | object that contains the member function in _providerMethod |
_providerMethod | pointer to a member that creates a DataStorage for the scenario |
_isSerializable | Do we expect that this can be stored in a .mitk file? |
_referenceArchiveFilename | Absolute filename with a reference .mitk file. |
_isReferenceLoadable | Do we expect that the reference can be loaded without errors? |
_comparisonPrecision | Precision used for floating point comparisions after save/load cycle (eps). |
Definition at line 73 of file mitkSceneIOTestScenarioProvider.cpp.
mitk::DataStorage::Pointer mitk::SceneIOTestScenarioProvider::Scenario::BuildDataStorage | ( | ) | const |
Construct the DataStorage for this scenario.
Definition at line 68 of file mitkSceneIOTestScenarioProvider.cpp.
double mitk::SceneIOTestScenarioProvider::Scenario::comparisonPrecision |
Precision used for floating point comparisons after save/load cycle (eps).
Definition at line 61 of file mitkSceneIOTestScenarioProvider.h.
std::string mitk::SceneIOTestScenarioProvider::Scenario::key |
Description / ID.
Definition at line 57 of file mitkSceneIOTestScenarioProvider.h.
std::string mitk::SceneIOTestScenarioProvider::Scenario::referenceArchiveFilename |
Absolute filename with a reference .mitk file.
Definition at line 59 of file mitkSceneIOTestScenarioProvider.h.
bool mitk::SceneIOTestScenarioProvider::Scenario::referenceArchiveLoadable |
Do we expect that the reference can be loaded without errors?
Definition at line 60 of file mitkSceneIOTestScenarioProvider.h.
bool mitk::SceneIOTestScenarioProvider::Scenario::serializable |
Do we expect that this can be stored in a .mitk file?
Definition at line 58 of file mitkSceneIOTestScenarioProvider.h.