Mantid
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
Mantid::PythonInterface::Converters::NDArrayTypeIndex< T > Struct Template Reference

Defines a mapping between C++ type given by the template parameter and numpy type enum NPY_TYPES. More...

#include <NDArrayTypeIndex.h>

Static Public Attributes

static char typecode
 
static int typenum
 

Detailed Description

template<typename T>
struct Mantid::PythonInterface::Converters::NDArrayTypeIndex< T >

Defines a mapping between C++ type given by the template parameter and numpy type enum NPY_TYPES.

There is no general definition, only specialized versions are defined. Each specialization should contain a static const NPY_TYPES definition giving the result of the mapping

Definition at line 25 of file NDArrayTypeIndex.h.

Member Data Documentation

◆ typecode

template<typename T >
char Mantid::PythonInterface::Converters::NDArrayTypeIndex< T >::typecode
static

Definition at line 27 of file NDArrayTypeIndex.h.

◆ typenum

template<typename T >
template int Mantid::PythonInterface::Converters::NDArrayTypeIndex< T >::typenum
static

Definition at line 26 of file NDArrayTypeIndex.h.


The documentation for this struct was generated from the following files: