Mantid
Loading...
Searching...
No Matches
Framework
PythonInterface
core
inc
MantidPythonInterface
core
Converters
NDArrayTypeIndex.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2011 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 "
MantidPythonInterface/core/DllConfig.h
"
10
11
namespace
Mantid
{
12
namespace
PythonInterface {
13
namespace
Converters
{
14
25
template
<
typename
T>
struct
MANTID_PYTHONINTERFACE_CORE_DLL
NDArrayTypeIndex
{
26
static
int
typenum
;
27
static
char
typecode
;
28
};
29
}
// namespace Converters
30
}
// namespace PythonInterface
31
}
// namespace Mantid
DllConfig.h
MANTID_PYTHONINTERFACE_CORE_DLL
#define MANTID_PYTHONINTERFACE_CORE_DLL
Definition:
DllConfig.h:17
Mantid::PythonInterface::Converters
Definition:
CArrayToNDArray.h:14
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition:
AbsorptionCorrection.h:18
Mantid::PythonInterface::Converters::NDArrayTypeIndex
Defines a mapping between C++ type given by the template parameter and numpy type enum NPY_TYPES.
Definition:
NDArrayTypeIndex.h:25
Mantid::PythonInterface::Converters::NDArrayTypeIndex::typecode
static char typecode
Definition:
NDArrayTypeIndex.h:27
Mantid::PythonInterface::Converters::NDArrayTypeIndex::typenum
static int typenum
Definition:
NDArrayTypeIndex.h:26
Generated on Tue Jan 3 2023 11:57:58 for Mantid by
1.9.5