Added an allowedValues override to WorkspaceProperty, which returns the...
Added an allowedValues override to WorkspaceProperty, which returns the current contents of the ADS. Changed return type of allowedValues to vector (was set). Modified WorkspaceProperty::isValid so that it fetches output workspaces if they already exist in the ADS. Re #150.
Showing
- Code/Mantid/API/inc/MantidAPI/WorkspaceProperty.h 33 additions, 13 deletionsCode/Mantid/API/inc/MantidAPI/WorkspaceProperty.h
- Code/Mantid/API/test/WorkspacePropertyTest.h 21 additions, 0 deletionsCode/Mantid/API/test/WorkspacePropertyTest.h
- Code/Mantid/Algorithms/src/ConvertUnits.cpp 1 addition, 2 deletionsCode/Mantid/Algorithms/src/ConvertUnits.cpp
- Code/Mantid/Kernel/inc/MantidKernel/ListValidator.h 1 addition, 1 deletionCode/Mantid/Kernel/inc/MantidKernel/ListValidator.h
- Code/Mantid/Kernel/inc/MantidKernel/Property.h 3 additions, 3 deletionsCode/Mantid/Kernel/inc/MantidKernel/Property.h
- Code/Mantid/Kernel/inc/MantidKernel/PropertyWithValue.h 6 additions, 5 deletionsCode/Mantid/Kernel/inc/MantidKernel/PropertyWithValue.h
- Code/Mantid/Kernel/src/Property.cpp 2 additions, 2 deletionsCode/Mantid/Kernel/src/Property.cpp
- Code/Mantid/Kernel/test/PropertyWithValueTest.h 5 additions, 0 deletionsCode/Mantid/Kernel/test/PropertyWithValueTest.h
- Code/Mantid/Main/Main.cpp 21 additions, 5 deletionsCode/Mantid/Main/Main.cpp
Please register or sign in to comment