Mantid
Loading...
Searching...
No Matches
ORNLDataArchive.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2010 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//----------------------------------------------------------------------
10// Includes
11//----------------------------------------------------------------------
13#include "MantidCatalog/ONCat.h"
14#include "MantidDataHandling/DllConfig.h"
15
16#include <string>
17
18using Mantid::Catalog::ONCat::ONCat_uptr;
19
20namespace Mantid {
21namespace DataHandling {
26class MANTID_DATAHANDLING_DLL ORNLDataArchive : public API::IArchiveSearch {
27public:
28 std::string getArchivePath(const std::set<std::string> &basenames,
29 const std::vector<std::string> &suffixes) const override;
30
32 // Exposed publicly for testing purposes only.
34 void setONCat(ONCat_uptr oncat);
36
37private:
38 ONCat_uptr m_oncat = nullptr;
39};
40} // namespace DataHandling
41} // namespace Mantid
This class is an archive searching interface.
Please see the .cpp file for more information.
Helper class which provides the Collimation Length for SANS instruments.