Mantid
Loading...
Searching...
No Matches
MDGeometryXMLDefinitions.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2010 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 "MantidGeometry/DllConfig.h"
10#include <string>
11namespace Mantid {
12namespace Geometry {
13
24class MANTID_GEOMETRY_DLL MDGeometryXMLDefinitions { // clang-format off
25public :
26// XML schema tag definitions for generating xml.
27static const std::string workspaceNameXMLTagStart(){ return "<MDWorkspaceName>"; }
28static const std::string workspaceNameXMLTagEnd() { return "</MDWorkspaceName>"; }
29static const std::string workspaceLocationXMLTagStart() { return "<MDWorkspaceLocation>"; }
30static const std::string workspaceLocationXMLTagEnd() { return "</MDWorkspaceLocation>"; }
31static const std::string workspaceInstructionXMLTagStart() { return "<MDInstruction>"; }
32static const std::string workspaceInstructionXMLTagEnd() { return "</MDInstruction>"; }
34static const std::string workspaceNameElementName() { return "MDWorkspaceName"; }
35static const std::string functionElementName() { return "Function"; }
36static const std::string workspaceLocationElementName() { return "MDWorkspaceLocation"; }
37static const std::string workspaceGeometryElementName() { return "DimensionSet"; }
38static const std::string workspaceDimensionElementName() { return "Dimension"; }
39static const std::string workspaceXDimensionElementName() { return "XDimension"; }
40static const std::string workspaceYDimensionElementName() { return "YDimension"; }
41static const std::string workspaceZDimensionElementName() { return "ZDimension"; }
42static const std::string workspaceTDimensionElementName() { return "TDimension"; }
43static const std::string workspaceRefDimensionElementName() { return "RefDimensionId"; }
44static const std::string signalName() { return "signal"; }
45static const std::string geometryNodeName() { return "geometryNodeName"; }
46static const std::string functionNodeName() { return "functionNodeName"; }
47static const std::string geometryOperatorInfo() { return "geometryOperatorInfo"; }
48static const std::string functionOperatorInfo() { return "functionOperatorInfo"; }
49static const std::string RebinnedWSName() { return "RebinnedWS"; }
50};
51// clang-format on
52
53} // namespace Geometry
54} // namespace Mantid
This type contains definitions that will be found in the xml schema for the rebinning instructions,...
static const std::string workspaceRefDimensionElementName()
static const std::string workspaceNameElementName()
XML schema tag definitions for finding xml.
Helper class which provides the Collimation Length for SANS instruments.