Mantid
Loading...
Searching...
No Matches
Workspace_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 Workspace;
20using Workspace_sptr = std::shared_ptr<Workspace>;
22using Workspace_const_sptr = std::shared_ptr<const Workspace>;
24using Workspace_uptr = std::unique_ptr<Workspace>;
26using Workspace_const_uptr = std::unique_ptr<const Workspace>;
27
28} // namespace API
29} // namespace Mantid
std::unique_ptr< const Workspace > Workspace_const_uptr
unique pointer to Mantid::API::Workspace (const version)
Definition: Workspace_fwd.h:26
std::unique_ptr< Workspace > Workspace_uptr
unique pointer to Mantid::API::Workspace
Definition: Workspace_fwd.h:24
std::shared_ptr< Workspace > Workspace_sptr
shared pointer to Mantid::API::Workspace
Definition: Workspace_fwd.h:20
std::shared_ptr< const Workspace > Workspace_const_sptr
shared pointer to Mantid::API::Workspace (const version)
Definition: Workspace_fwd.h:22
Helper class which provides the Collimation Length for SANS instruments.