Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::SceneIOTestScenarioProvider Class Reference

Provides DataStorages that serve as test scenarios. More...

#include <mitkSceneIOTestScenarioProvider.h>

Classes

struct  Scenario
 

Public Types

typedef DataStorage::Pointer(SceneIOTestScenarioProvider::* BuilderMethodPointer) () const
 Typedef for type BuilderMethodPointer which is function pointer to member of SceneIOTestScenarioProvider. More...
 
typedef std::vector< ScenarioScenarioList
 List of Scenarios. More...
 

Public Member Functions

ScenarioList GetAllScenarios () const
 Returns all registered scenarios. More...
 
 SceneIOTestScenarioProvider ()
 

Detailed Description

Provides DataStorages that serve as test scenarios.

This class provides the structure Scenario to describe a single test scenario for SceneIO and similar objects. A single scenario consists of

  • a DataStorage (in reality a method that constructs one)
  • an identifier / name
  • some flags that describe the scenario
Warning
Probably we should split the scenario and its description (== our expectations) at some time. This will be necessary once that we have two SceneIO mechanisms that differ in their capabilities.

Definition at line 40 of file mitkSceneIOTestScenarioProvider.h.

Member Typedef Documentation

typedef DataStorage::Pointer(SceneIOTestScenarioProvider::* mitk::SceneIOTestScenarioProvider::BuilderMethodPointer) () const

Typedef for type BuilderMethodPointer which is function pointer to member of SceneIOTestScenarioProvider.

Definition at line 44 of file mitkSceneIOTestScenarioProvider.h.

List of Scenarios.

Definition at line 89 of file mitkSceneIOTestScenarioProvider.h.

Constructor & Destructor Documentation

mitk::SceneIOTestScenarioProvider::SceneIOTestScenarioProvider ( )
inline

declare all your test cases here!

Definition at line 187 of file mitkSceneIOTestScenarioProvider.h.

References AddSaveAndRestoreScenario.

Member Function Documentation

mitk::SceneIOTestScenarioProvider::ScenarioList mitk::SceneIOTestScenarioProvider::GetAllScenarios ( ) const

Returns all registered scenarios.

Definition at line 92 of file mitkSceneIOTestScenarioProvider.cpp.


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