9#include "MantidKernel/DllConfig.h"
18class IPropertyManager;
68 virtual std::vector<std::string>
dependsOn(
const std::string & )
const {
69 return std::vector<std::string>();
#define UNUSED_ARG(x)
Function arguments are sometimes unused in certain implmentations but are required for documentation ...
Interface to PropertyManager.
Interface for modifiers to Property's that specify if they should be enabled or visible in a GUI.
virtual std::vector< std::string > dependsOn(const std::string &) const
Other properties that this property depends on.
virtual ~IPropertySettings()=default
Destructor.
virtual bool isEnabled(const IPropertyManager *algo) const
Is the property to be shown as "enabled" in the GUI.
IPropertySettings()=default
Constructor.
virtual bool applyChanges(const IPropertyManager *algo, const std::string ¤tPropName)
Overload this virtual function in order to modify the current property based on changes to other prop...
virtual bool isConditionChanged(const IPropertyManager *algo, const std::string &changedPropName="") const
to verify if the properties, this one depends on have changed or other special condition occurs which...
IPropertySettings(const IPropertySettings &)=default
virtual bool isVisible(const IPropertyManager *algo) const
Is the property to be shown in the GUI? Default true.
virtual IPropertySettings * clone() const =0
Make a copy of the present type of IPropertySettings.
Helper class which provides the Collimation Length for SANS instruments.