Mantid
Loading...
Searching...
No Matches
MatrixWorkspace_fwd.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2015 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#include <memory>
10
11namespace Mantid {
12namespace API {
18class MatrixWorkspace;
20using MatrixWorkspace_sptr = std::shared_ptr<MatrixWorkspace>;
22using MatrixWorkspace_const_sptr = std::shared_ptr<const MatrixWorkspace>;
24using MatrixWorkspace_uptr = std::unique_ptr<MatrixWorkspace>;
26using MatrixWorkspace_const_uptr = std::unique_ptr<const MatrixWorkspace>;
27
28} // namespace API
29} // namespace Mantid
std::unique_ptr< MatrixWorkspace > MatrixWorkspace_uptr
unique pointer to Mantid::API::MatrixWorkspace
std::shared_ptr< const MatrixWorkspace > MatrixWorkspace_const_sptr
shared pointer to the matrix workspace base class (const version)
std::unique_ptr< const MatrixWorkspace > MatrixWorkspace_const_uptr
unique pointer to Mantid::API::MatrixWorkspace (const version)
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.