Mantid
Loading...
Searching...
No Matches
Framework
DataHandling
inc
MantidDataHandling
LoadSingleMesh.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2020 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
#include "MantidDataHandling/DllConfig.h"
9
#include "
MantidDataHandling/MeshFileIO.h
"
10
#include "
MantidKernel/Logger.h
"
11
12
#include <fstream>
13
14
namespace
Mantid
{
15
16
namespace
Geometry {
17
class
MeshObject;
18
}
19
namespace
DataHandling {
20
namespace
{
21
Mantid::Kernel::Logger
g_log
(
"LoadSingleMesh"
);
22
}
23
class
MANTID_DATAHANDLING_DLL
LoadSingleMesh
:
public
MeshFileIO
{
24
public
:
25
LoadSingleMesh
(std::string filename, std::ios_base::openmode mode,
ScaleUnits
scaleType);
26
virtual
~LoadSingleMesh
();
27
virtual
std::unique_ptr<Geometry::MeshObject>
readShape
() = 0;
28
29
protected
:
30
const
std::string
m_filename
;
31
std::ifstream
m_file
;
32
};
33
}
// namespace DataHandling
34
}
// namespace Mantid
Logger.h
MeshFileIO.h
Mantid::DataHandling::LoadSingleMesh
Definition
LoadSingleMesh.h:23
Mantid::DataHandling::LoadSingleMesh::readShape
virtual std::unique_ptr< Geometry::MeshObject > readShape()=0
Mantid::DataHandling::LoadSingleMesh::m_filename
const std::string m_filename
Definition
LoadSingleMesh.h:30
Mantid::DataHandling::LoadSingleMesh::m_file
std::ifstream m_file
Definition
LoadSingleMesh.h:31
Mantid::DataHandling::MeshFileIO
Definition
MeshFileIO.h:23
Mantid::Kernel::Logger
The Logger class is in charge of the publishing messages from the framework through various channels.
Definition
Logger.h:51
Mantid::API::g_log
Kernel::Logger g_log("ExperimentInfo")
static logger object
Mantid::DataHandling::ScaleUnits
ScaleUnits
Definition
MeshFileIO.h:21
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition
AbsorptionCorrection.h:18
Generated by
1.9.8