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 {
25public:
26 // XML schema tag definitions for generating xml.
27 static const std::string workspaceNameXMLTagStart() { return "<MDWorkspaceName>"; }
28 static const std::string workspaceNameXMLTagEnd() { return "</MDWorkspaceName>"; }
29 static const std::string workspaceLocationXMLTagStart() { return "<MDWorkspaceLocation>"; }
30 static const std::string workspaceLocationXMLTagEnd() { return "</MDWorkspaceLocation>"; }
31 static const std::string workspaceInstructionXMLTagStart() { return "<MDInstruction>"; }
32 static const std::string workspaceInstructionXMLTagEnd() { return "</MDInstruction>"; }
34 static const std::string workspaceNameElementName() { return "MDWorkspaceName"; }
35 static const std::string functionElementName() { return "Function"; }
36 static const std::string workspaceLocationElementName() { return "MDWorkspaceLocation"; }
37 static const std::string workspaceGeometryElementName() { return "DimensionSet"; }
38 static const std::string workspaceDimensionElementName() { return "Dimension"; }
39 static const std::string workspaceXDimensionElementName() { return "XDimension"; }
40 static const std::string workspaceYDimensionElementName() { return "YDimension"; }
41 static const std::string workspaceZDimensionElementName() { return "ZDimension"; }
42 static const std::string workspaceTDimensionElementName() { return "TDimension"; }
43 static const std::string workspaceRefDimensionElementName() { return "RefDimensionId"; }
44 static const std::string signalName() { return "signal"; }
45 static const std::string geometryNodeName() { return "geometryNodeName"; }
46 static const std::string functionNodeName() { return "functionNodeName"; }
47 static const std::string geometryOperatorInfo() { return "geometryOperatorInfo"; }
48 static const std::string functionOperatorInfo() { return "functionOperatorInfo"; }
49 static const std::string RebinnedWSName() { return "RebinnedWS"; }
50};
51} // namespace Geometry
52} // namespace Mantid
This type contains definitions that will be found in the xml schema for the rebinning instructions,...
static const std::string workspaceXDimensionElementName()
static const std::string workspaceYDimensionElementName()
static const std::string workspaceTDimensionElementName()
static const std::string workspaceDimensionElementName()
static const std::string workspaceRefDimensionElementName()
static const std::string workspaceZDimensionElementName()
static const std::string workspaceInstructionXMLTagEnd()
static const std::string workspaceInstructionXMLTagStart()
static const std::string workspaceNameElementName()
XML schema tag definitions for finding xml.
Helper class which provides the Collimation Length for SANS instruments.