28 : m_manager(manager), m_workspacePropertyNames(
std::move(workspacePropertyNames)), m_domainType(domainType),
29 m_outputCompositeMembers(false), m_convolutionCompositeMembers(false), m_ignoreInvalidData(false) {}
53 throw std::runtime_error(
"IDomainCreator: property manager isn't defined.");
64 throw std::runtime_error(
"IDomainCreator: cannot initialize empty function.");
67 throw std::runtime_error(
"IDomainCreator: property manager isn't defined.");
72 throw std::runtime_error(
"IDomainCreator: cannot initialize function: workspace undefined.");
double value
The value of the point.
IPeaksWorkspace_sptr workspace
DomainType
Type of domain to create.
bool m_convolutionCompositeMembers
Perform convolution of output composite components.
virtual void initFunction(API::IFunction_sptr function)
Initialize the function.
bool m_outputCompositeMembers
Output separate composite function values.
Kernel::IPropertyManager * m_manager
Pointer to a property manager.
void declareProperty(Kernel::Property *prop, const std::string &doc)
Declare a property to the algorithm.
IDomainCreator(Kernel::IPropertyManager *manager, std::vector< std::string > workspacePropertyNames, DomainType domainType=Simple)
Constrcutor.
void separateCompositeMembersInOutput(const bool value, const bool conv=false)
Toggle output of either just composite or composite + members.
Interface to PropertyManager.
virtual bool existsProperty(const std::string &name) const =0
Checks whether the named property is already in the list of managed property.
virtual void declareProperty(std::unique_ptr< Property > p, const std::string &doc="")=0
Function to declare properties (i.e. store them)
virtual TypedValue getProperty(const std::string &name) const =0
Get the value of a property.
Base class for properties.
std::shared_ptr< Workspace > Workspace_sptr
shared pointer to Mantid::API::Workspace
std::shared_ptr< IFunction > IFunction_sptr
shared pointer to the function base class