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 <algorithm>
10#include <map>
11#include <set>
12#include <string>
13#include <vector>
14
15namespace Mantid {
16namespace DataHandling {
23namespace LoadGeometry {
24
26bool isIDF(const std::string &filename);
28bool isNexus(const std::string &filename);
31bool isNexus(const std::map<std::string, std::set<std::string>> &allEntries);
33const std::vector<std::string> validExtensions();
34
35} // namespace LoadGeometry
36
37} // namespace DataHandling
38} // 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.