30 :
API::
IDomainCreator(fit, workspacePropertyNames), m_creators(workspacePropertyNames.size()) {}
33 void createDomain(std::shared_ptr<API::FunctionDomain> &domain, std::shared_ptr<API::FunctionValues> &ivalues,
34 size_t i0 = 0)
override;
36 std::shared_ptr<API::Workspace> createOutputWorkspace(
const std::string &baseName,
API::IFunction_sptr function,
37 std::shared_ptr<API::FunctionDomain> domain,
38 std::shared_ptr<API::FunctionValues> values,
39 const std::string &outputWorkspacePropertyName)
override;
45 bool hasCreator(
size_t i)
const;
53 std::vector<std::shared_ptr<API::IDomainCreator>>
m_creators;
An base class for domain creators for use in Fit.
Creates a composite domain.
MultiDomainCreator(Kernel::IPropertyManager *fit, const std::vector< std::string > &workspacePropertyNames)
A friend that can create instances of this class.
size_t getNCreators() const
Get number of creators.
size_t getDomainSize() const override
Return the size of the domain to be created.
std::vector< std::shared_ptr< API::IDomainCreator > > m_creators
Vector of creators.