Mantid
Loading...
Searching...
No Matches
LoadGeometry.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2007 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
9#include <map>
10#include <set>
11#include <string>
12#include <vector>
13
14namespace Mantid {
15namespace DataHandling {
22namespace LoadGeometry {
23
25bool isIDF(const std::string &filename);
27bool isNexus(const std::string &filename);
30bool isNexus(const std::string &filename, const std::map<std::string, std::set<std::string>> &allEntries);
32const std::vector<std::string> validExtensions();
33
34} // namespace LoadGeometry
35
36} // namespace DataHandling
37} // namespace Mantid
bool isIDF(const std::string &filename)
Determine if the Geometry file type is IDF.
const std::vector< std::string > validExtensions()
List allowed file extensions for geometry.
bool isNexus(const std::string &filename)
Determine if the Geometry file type is Nexus.
Helper class which provides the Collimation Length for SANS instruments.