Page MenuHomePhabricator

Improvement of folder structure of MITK core
Closed, ResolvedPublic

Description

When working on T11354 we thought about adding a new folder "common" inside MITK core. Along with this we should reconsider the whole folder structure and make further changes if necessary/reasonable. This will be a topic open for discussion at a MITK retreat in 2012.

Event Timeline

In the MITK retreat we decided to create a new folder "common" and move all classes to it which does not clearly fit into the other folders (e.g. mitkCommon.h, exception handling classes, etc.).

The common folder was already created during the work on T11354.

But this bug was for exception handling, other classes should be moved to this folder, candidates are:

  • mitkCommon.h (currently in Code\DataManagement)
  • mitkCoreObjectFactory.h + .cpp (currently in Code\Algorithms)
  • mitkCoreObjectFactoryBase.h + .cpp (currently in Code\Algorithms)
  • mitkExportMacros.h (currently in Code\DataManagement)
  • uServicesBaseObject.h (currently in Code\Testing)

additionaly a few files can be moved to other folders:

move to Code\Datamanagement:

  • mitkDataNodeFactory.h + .cpp (currently in Code\Algorithms)
  • mitkImageAccessByItk.h (currently in Code\Algorithms)
  • mitkImageCast.h + .cpp (currently in Code\Algorithms)
  • mitkImageCaster.h + .cpp (currently in Code\Algorithms)
  • mitkImageToItk.h + .cpp (currently in Code\Algorithms)
  • mitkITKImageImport.h + .cpp (currently in Code\Algorithms)

move to Code\Testing:

  • mitkTestingMacros.h (currently in Code\Controllers)

[8e7d6c]: Merge branch 'bug-11728-ImprovementOfFolderStructureOfMITKCore'

Merged commits:

2012-05-29 16:34:19 Alfred Franz [c6669d]
DOC: added doxygen comment


2012-05-29 16:31:44 Alfred Franz [7a5329]
moved files to other folders / filled new common folder