An interface that is implemented by WorkspaceProperty.
virtual bool store()=0
Store a workspace into the AnalysisDataService.
virtual bool isLocking() const =0
Will the workspace be locked when starting an algorithm?
virtual Workspace_sptr getWorkspace() const =0
Get a pointer to the workspace.
virtual void clear()=0
Clear the stored pointer.
virtual bool isOptional() const =0
Is the input workspace property optional (can be blank)?
virtual ~IWorkspaceProperty()=default
Virtual destructor.
virtual void setPropertyMode(const PropertyMode::Type &optional)=0
Set the property mode as Mandatory or Optional.
std::shared_ptr< Workspace > Workspace_sptr
shared pointer to Mantid::API::Workspace
Helper class which provides the Collimation Length for SANS instruments.
Enumeration for a mandatory/optional property.