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
11#include <memory>
12#include <string>
13
14// Forward declare
15namespace Mantid::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,
43 const Nexus::NexusDescriptor &fileInfo, const std::string &prefix);
44
45DLLExport std::unique_ptr<Property> loadProperty(Nexus::File *file, const std::string &group);
46
47} // namespace PropertyNexus
48
49} // namespace Kernel
50} // namespace Mantid
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
Definition System.h:37
DLLExport std::unique_ptr< Property > loadProperty(Nexus::File *file, const std::string &group, const Nexus::NexusDescriptor &fileInfo, const std::string &prefix)
Opens a NXlog group in a nexus file and creates the correct Property object from it.
Header for a base Nexus::Exception.
Helper class which provides the Collimation Length for SANS instruments.