Skip to content
Snippets Groups Projects
Commit 7ba76936 authored by Hahn, Steven's avatar Hahn, Steven
Browse files

Update NexusFileLoader


Signed-off-by: default avatarSteven Hahn <hahnse@ornl.gov>
parent 473cad0d
No related branches found
No related tags found
No related merge requests found
......@@ -7,13 +7,13 @@
#pragma once
#include "MantidAPI/IFileLoader.h"
#include "MantidKernel/NexusDescriptor.h"
#include "MantidNexus/HDF5Descriptor.h"
#include "MantidKernel/System.h"
namespace Mantid {
namespace API {
class DLLExport NexusFileLoader : public IFileLoader<NexusDescriptor> {
class DLLExport NexusFileLoader : public IFileLoader<Mantid::Nexus::HDF5Descriptor> {
public:
void exec() override;
void createChildAlgorithm(const std::string &name,
......@@ -21,7 +21,9 @@ public:
const double endProgress = -1.,
const bool enableLogging = true,
const int &version = -1) override;
setFileInfo() override;
void setFileInfo(std::shared_ptr<Mantid::Nexus::HDF5Descriptor> fileInfo);
private:
std::shared_ptr<Mantid::Nexus::HDF5Descriptor> m_fileInfo;
};
} // namespace API
} // namespace Mantid
......@@ -5,3 +5,14 @@
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#include "MantidDataHandling/NexusFileLoader.h"
namespace Mantid::DataHandling {
void NexusFileLoader::exec() {}
void createChildAlgorithm(const std::string &name,
const double startProgress,
const double endProgress,
const bool enableLogging,
const int &version) {}
void setFileInfo(std::shared_ptr<Mantid::Nexus::HDF5Descriptor> fileInfo)
{}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment