Mantid
Loading...
Searching...
No Matches
EventWorkspace_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 DataObjects {
18class EventWorkspace;
20using EventWorkspace_sptr = std::shared_ptr<EventWorkspace>;
22using EventWorkspace_const_sptr = std::shared_ptr<const EventWorkspace>;
24using EventWorkspace_uptr = std::unique_ptr<EventWorkspace>;
26using EventWorkspace_const_uptr = std::unique_ptr<const EventWorkspace>;
27
28} // namespace DataObjects
29} // namespace Mantid
std::shared_ptr< const EventWorkspace > EventWorkspace_const_sptr
shared pointer to a const Workspace2D
std::unique_ptr< EventWorkspace > EventWorkspace_uptr
unique pointer to Mantid::DataObjects::EventWorkspace
std::shared_ptr< EventWorkspace > EventWorkspace_sptr
shared pointer to the EventWorkspace class
std::unique_ptr< const EventWorkspace > EventWorkspace_const_uptr
unique pointer to Mantid::DataObjects::EventWorkspace (const version)
Helper class which provides the Collimation Length for SANS instruments.