Mantid
Loading...
Searching...
No Matches
Workspace2D_fwd.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2020 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 DataObjects {
17class Workspace2D;
19using Workspace2D_sptr = std::shared_ptr<Workspace2D>;
21using Workspace2D_const_sptr = std::shared_ptr<const Workspace2D>;
23using Workspace2D_uptr = std::unique_ptr<Workspace2D>;
25using Workspace2D_const_uptr = std::unique_ptr<const Workspace2D>;
26
27} // namespace DataObjects
28} // namespace Mantid
std::unique_ptr< const Workspace2D > Workspace2D_const_uptr
unique pointer to Mantid::DataObjects::Workspace2D (const version)
std::shared_ptr< Workspace2D > Workspace2D_sptr
shared pointer to Mantid::DataObjects::Workspace2D
std::shared_ptr< const Workspace2D > Workspace2D_const_sptr
shared pointer to Mantid::DataObjects::Workspace2D (const version)
std::unique_ptr< Workspace2D > Workspace2D_uptr
unique pointer to Mantid::DataObjects::Workspace2D
Helper class which provides the Collimation Length for SANS instruments.