14 m_fileInfo = std::make_shared<Mantid::Kernel::NexusHDF5Descriptor>(filename);
20std::shared_ptr<Mantid::API::Algorithm>
22 const bool enableLogging,
const int &version) {
26 auto nfl = std::dynamic_pointer_cast<NexusFileLoader>(child);
std::string getPropertyValue(const std::string &name) const override
Get the value of a property as a string.
virtual std::shared_ptr< Algorithm > createChildAlgorithm(const std::string &name, const double startProgress=-1., const double endProgress=-1., const bool enableLogging=true, const int &version=-1)
Create a Child Algorithm.
int version() const override=0
function to return a version of the algorithm, must be overridden in all algorithms
const std::string name() const override=0
function to return a name of the algorithm, must be overridden in all algorithms
void exec() override final
Virtual method - must be overridden by concrete algorithm.
virtual void setFileInfo(std::shared_ptr< Mantid::Kernel::NexusHDF5Descriptor > fileInfo)
virtual std::string getFilenamePropertyName() const
std::shared_ptr< Mantid::Kernel::NexusHDF5Descriptor > m_fileInfo
virtual const std::shared_ptr< Mantid::Kernel::NexusHDF5Descriptor > getFileInfo() const noexcept
Required to pass m_fileInfo to static functions Keeping it shared_ptr to match setFileInfo signature ...
virtual void execLoader()=0
std::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
Create a Child Algorithm.