Mantid
Loading...
Searching...
No Matches
Unit_fwd.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2026 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 Kernel {
13
14class Unit;
15
17using Unit_sptr = std::shared_ptr<Unit>;
19using Unit_const_sptr = std::shared_ptr<const Unit>;
20
21} // namespace Kernel
22} // namespace Mantid
std::shared_ptr< const Unit > Unit_const_sptr
Shared pointer to the Unit base class (const version)
Definition Unit_fwd.h:19
std::shared_ptr< Unit > Unit_sptr
Shared pointer to the Unit base class.
Definition Unit_fwd.h:17
Helper class which provides the Collimation Length for SANS instruments.