Mantid
Loading...
Searching...
No Matches
ISISDataArchive.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 "MantidDataHandling/DllConfig.h"
14
15#include <sstream>
16#include <string>
17
18namespace Mantid {
19namespace DataHandling {
20
27class MANTID_DATAHANDLING_DLL ISISDataArchive : public API::IArchiveSearch {
28public:
30 std::string getArchivePath(const std::set<std::string> &filenames,
31 const std::vector<std::string> &exts) const override;
32
34 virtual std::string getCorrectExtension(const std::string &path, const std::vector<std::string> &exts) const;
35 std::string getPath(const std::string &fName) const;
36
37protected:
39 virtual std::ostringstream sendRequest(const std::string &fName) const;
40 virtual bool fileExists(const std::string &path) const;
41};
42} // namespace DataHandling
43} // namespace Mantid
This class is an archive searching interface.
This class is for searching the ISIS data archive.
Helper class which provides the Collimation Length for SANS instruments.