Mantid
Loading...
Searching...
No Matches
PropertyNexus.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2011 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
10#include "MantidKernel/System.h"
11#include <memory>
12#include <string>
13
14// Forward declare
15namespace NeXus {
16class File;
17}
18
19namespace Mantid {
20namespace Kernel {
21// Forward declare
22class Property;
23
30namespace PropertyNexus {
31
42DLLExport std::unique_ptr<Property> loadProperty(::NeXus::File *file, const std::string &group,
44 const std::string &prefix);
45
46DLLExport std::unique_ptr<Property> loadProperty(::NeXus::File *file, const std::string &group);
47
48} // namespace PropertyNexus
49
50} // namespace Kernel
51} // namespace Mantid
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
Definition: System.h:53
DLLExport std::unique_ptr< Property > loadProperty(::NeXus::File *file, const std::string &group, const Mantid::Kernel::NexusHDF5Descriptor &fileInfo, const std::string &prefix)
Opens a NXlog group in a nexus file and creates the correct Property object from it.
Helper class which provides the Collimation Length for SANS instruments.