-
Hahn, Steven authored
Signed-off-by:
Steven Hahn <hahnse@ornl.gov>
Hahn, Steven authoredSigned-off-by:
Steven Hahn <hahnse@ornl.gov>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
NexusFileLoader.h 1016 B
// Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2013 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#pragma once
#include "MantidAPI/IFileLoader.h"
#include "MantidKernel/NexusHDF5Descriptor.h"
#include "MantidKernel/System.h"
namespace Mantid::DataHandling {
class DLLExport NexusFileLoader
: public API::IFileLoader<Mantid::Kernel::NexusHDF5Descriptor> {
public:
void exec() override;
boost::shared_ptr<Algorithm> createChildAlgorithm(
const std::string &name, const double startProgress = -1.,
const double endProgress = -1., const bool enableLogging = true,
const int &version = -1) override;
virtual void
setFileInfo(std::shared_ptr<Mantid::Kernel::NexusHDF5Descriptor> fileInfo);
private:
std::shared_ptr<Mantid::Kernel::NexusHDF5Descriptor> m_fileInfo;
};
} // namespace Mantid::DataHandling