refs #12185. Use MDUnitFactory
Use the factory chain wherever possible. This means that we no longer need to hard-code a type of LabelUnit in one of the constructors for the MDHistoDimension. This makes things very flexible.
Showing
- Code/Mantid/Framework/Geometry/inc/MantidGeometry/MDGeometry/MDHistoDimension.h 2 additions, 1 deletion...Geometry/inc/MantidGeometry/MDGeometry/MDHistoDimension.h
- Code/Mantid/Framework/Geometry/src/MDGeometry/IMDDimensionFactory.cpp 4 additions, 1 deletion...Framework/Geometry/src/MDGeometry/IMDDimensionFactory.cpp
- Code/Mantid/Framework/Kernel/inc/MantidKernel/MDUnitFactory.h 1 addition, 1 deletion.../Mantid/Framework/Kernel/inc/MantidKernel/MDUnitFactory.h
- Code/Mantid/Framework/Kernel/src/MDUnitFactory.cpp 1 addition, 1 deletionCode/Mantid/Framework/Kernel/src/MDUnitFactory.cpp
- Code/Mantid/Framework/Kernel/test/MDUnitFactoryTest.h 1 addition, 1 deletionCode/Mantid/Framework/Kernel/test/MDUnitFactoryTest.h
- Code/Mantid/Framework/MDAlgorithms/src/LoadMD.cpp 4 additions, 1 deletionCode/Mantid/Framework/MDAlgorithms/src/LoadMD.cpp
Loading
Please register or sign in to comment