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

Rename to NexusHDF5Descriptor


Signed-off-by: default avatarSteven Hahn <hahnse@ornl.gov>
parent 0d9d01b0
No related branches found
No related tags found
No related merge requests found
......@@ -7,13 +7,14 @@
#pragma once
#include "MantidAPI/IFileLoader.h"
#include "MantidNexus/HDF5Descriptor.h"
#include "MantidKernel/System.h"
#include "MantidNexus/NexusHDF5Descriptor.h"
namespace Mantid {
namespace API {
class DLLExport NexusFileLoader : public IFileLoader<Mantid::Nexus::HDF5Descriptor> {
class DLLExport NexusFileLoader
: public IFileLoader<Mantid::Nexus::NexusHDF5Descriptor> {
public:
void exec() override;
void createChildAlgorithm(const std::string &name,
......@@ -21,9 +22,11 @@ public:
const double endProgress = -1.,
const bool enableLogging = true,
const int &version = -1) override;
void setFileInfo(std::shared_ptr<Mantid::Nexus::HDF5Descriptor> fileInfo);
void
setFileInfo(std::shared_ptr<Mantid::Nexus::NexusHDF5Descriptor> fileInfo);
private:
std::shared_ptr<Mantid::Nexus::HDF5Descriptor> m_fileInfo;
std::shared_ptr<Mantid::Nexus::NexusHDF5Descriptor> m_fileInfo;
};
} // namespace API
} // namespace Mantid
......@@ -13,6 +13,8 @@ namespace Mantid::DataHandling {
const double endProgress,
const bool enableLogging,
const int &version) {}
void setFileInfo(std::shared_ptr<Mantid::Nexus::HDF5Descriptor> fileInfo)
{}
void
setFileInfo(std::shared_ptr<Mantid::Nexus::NexusHDF5Descriptor> fileInfo) {
m_fileinfo = std::move(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