Mantid
Loading...
Searching...
No Matches
FunctionDomainGeneral.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2016 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
10#include <memory>
11#include <vector>
12
13namespace Mantid {
14namespace API {
15
16class Column;
17
21class MANTID_API_DLL FunctionDomainGeneral : public FunctionDomain {
22public:
24 size_t size() const override;
26 size_t columnCount() const;
28 void addColumn(const std::shared_ptr<Column> &column);
30 std::shared_ptr<Column> getColumn(size_t i) const;
31
32private:
34 std::vector<std::shared_ptr<Column>> m_columns;
35};
36
37} // namespace API
38} // namespace Mantid
std::vector< double > Column
Definition: LoadSESANS.h:15
Represent a domain of a very general type.
std::vector< std::shared_ptr< Column > > m_columns
Columns containing function arguments.
Base class that represents the domain of a function.
Helper class which provides the Collimation Length for SANS instruments.