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

clang-format


Signed-off-by: default avatarSteven Hahn <hahnse@ornl.gov>
parent 942cf6a9
No related branches found
No related tags found
No related merge requests found
...@@ -24,6 +24,7 @@ public: ...@@ -24,6 +24,7 @@ public:
/// Returns a value indicating whether or not loader wants to load multiple /// Returns a value indicating whether or not loader wants to load multiple
/// files into a single workspace /// files into a single workspace
virtual bool loadMutipleAsOne() { return false; } virtual bool loadMutipleAsOne() { return false; }
virtual void execLoader() {}
}; };
} // namespace API } // namespace API
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
#pragma once #pragma once
#include "MantidAPI/IFileLoader.h" #include "MantidAPI/IFileLoader.h"
#include "MantidKernel/System.h"
#include "MantidKernel/NexusHDF5Descriptor.h" #include "MantidKernel/NexusHDF5Descriptor.h"
#include "MantidKernel/System.h"
namespace Mantid::DataHandling { namespace Mantid::DataHandling {
...@@ -16,14 +16,12 @@ class DLLExport NexusFileLoader ...@@ -16,14 +16,12 @@ class DLLExport NexusFileLoader
: public API::IFileLoader<Mantid::Kernel::NexusHDF5Descriptor> { : public API::IFileLoader<Mantid::Kernel::NexusHDF5Descriptor> {
public: public:
void exec() override; void exec() override;
virtual void execLoader();
boost::shared_ptr<Algorithm> createChildAlgorithm( boost::shared_ptr<Algorithm> createChildAlgorithm(
const std::string &name, const double startProgress = -1., const std::string &name, const double startProgress = -1.,
const double endProgress = -1., const bool enableLogging = true, const double endProgress = -1., const bool enableLogging = true,
const int &version = -1) override; const int &version = -1) override;
virtual void virtual void
setFileInfo(std::shared_ptr<Mantid::Kernel::NexusHDF5Descriptor> fileInfo); setFileInfo(std::shared_ptr<Mantid::Kernel::NexusHDF5Descriptor> fileInfo);
private: private:
std::shared_ptr<Mantid::Kernel::NexusHDF5Descriptor> m_fileInfo; std::shared_ptr<Mantid::Kernel::NexusHDF5Descriptor> m_fileInfo;
}; };
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
namespace Mantid::DataHandling { namespace Mantid::DataHandling {
void NexusFileLoader::exec() { execLoader(); } void NexusFileLoader::exec() { execLoader(); }
void NexusFileLoader::execLoader() {}
boost::shared_ptr<Mantid::API::Algorithm> NexusFileLoader::createChildAlgorithm( boost::shared_ptr<Mantid::API::Algorithm> NexusFileLoader::createChildAlgorithm(
const std::string &name, const double startProgress, const std::string &name, const double startProgress,
const double endProgress, const bool enableLogging, const int &version) { const double endProgress, const bool enableLogging, const int &version) {
...@@ -23,9 +22,9 @@ boost::shared_ptr<Mantid::API::Algorithm> NexusFileLoader::createChildAlgorithm( ...@@ -23,9 +22,9 @@ boost::shared_ptr<Mantid::API::Algorithm> NexusFileLoader::createChildAlgorithm(
nfl->setFileInfo(m_fileInfo); nfl->setFileInfo(m_fileInfo);
} }
return child; return child;
}
void NexusFileLoader::setFileInfo(
std::shared_ptr<Mantid::Kernel::NexusHDF5Descriptor> fileInfo) {
m_fileInfo = std::move(fileInfo);
}
} }
void NexusFileLoader::setFileInfo(
std::shared_ptr<Mantid::Kernel::NexusHDF5Descriptor> fileInfo) {
m_fileInfo = std::move(fileInfo);
}
} // namespace Mantid::DataHandling
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