Mantid
Loading...
Searching...
No Matches
Framework
API
inc
MantidAPI
CompositeDomain.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2009 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
9
//----------------------------------------------------------------------
10
// Includes
11
//----------------------------------------------------------------------
12
#include "MantidAPI/DllConfig.h"
13
#include "
MantidAPI/FunctionDomain.h
"
14
15
#include <stdexcept>
16
17
namespace
Mantid
{
18
namespace
API
{
25
class
MANTID_API_DLL
CompositeDomain
:
public
FunctionDomain
{
26
public
:
28
virtual
size_t
getNParts
()
const
= 0;
30
virtual
const
FunctionDomain
&
getDomain
(
size_t
i)
const
= 0;
31
};
32
33
}
// namespace API
34
}
// namespace Mantid
FunctionDomain.h
Mantid::API::CompositeDomain
Base class for a composite domain.
Definition:
CompositeDomain.h:25
Mantid::API::CompositeDomain::getDomain
virtual const FunctionDomain & getDomain(size_t i) const =0
Return i-th domain.
Mantid::API::CompositeDomain::getNParts
virtual size_t getNParts() const =0
Return the number of parts in the domain.
Mantid::API::FunctionDomain
Base class that represents the domain of a function.
Definition:
FunctionDomain.h:31
API
Definition:
ChudleyElliotSQE.h:16
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition:
AbsorptionCorrection.h:18
Generated on Tue Jan 3 2023 11:57:22 for Mantid by
1.9.5