Mantid
Loading...
Searching...
No Matches
Namespaces | Macros
NDArrayToVector.cpp File Reference
#include "MantidPythonInterface/core/Converters/NDArrayToVector.h"
#include "MantidPythonInterface/core/Converters/NDArrayTypeIndex.h"
#include "MantidPythonInterface/core/Converters/NumpyFunctions.h"
#include <boost/python/extract.hpp>
#include <boost/python/stl_iterator.hpp>
#include <boost/python/str.hpp>
#include <numpy/arrayobject.h>

Go to the source code of this file.

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::PythonInterface
 
namespace  Mantid::PythonInterface::Converters
 

Macros

#define DECLARE_EXTERN(HeldType)
 Macro to declare template instantiations as extern; those are defined in NDArrayTypeIndex.cpp. More...
 
#define INSTANTIATE_TOVECTOR(ElementType)   template struct DLLExport NDArrayToVector<ElementType>;
 
#define NO_IMPORT_ARRAY
 
#define PY_ARRAY_UNIQUE_SYMBOL   CORE_ARRAY_API
 

Macro Definition Documentation

◆ DECLARE_EXTERN

#define DECLARE_EXTERN (   HeldType)
Value:
extern template int NDArrayTypeIndex<HeldType>::typenum; \
extern template char NDArrayTypeIndex<HeldType>::typecode;

Macro to declare template instantiations as extern; those are defined in NDArrayTypeIndex.cpp.

Definition at line 32 of file NDArrayToVector.cpp.

◆ INSTANTIATE_TOVECTOR

#define INSTANTIATE_TOVECTOR (   ElementType)    template struct DLLExport NDArrayToVector<ElementType>;

Definition at line 164 of file NDArrayToVector.cpp.

◆ NO_IMPORT_ARRAY

#define NO_IMPORT_ARRAY

Definition at line 19 of file NDArrayToVector.cpp.

◆ PY_ARRAY_UNIQUE_SYMBOL

#define PY_ARRAY_UNIQUE_SYMBOL   CORE_ARRAY_API

Definition at line 18 of file NDArrayToVector.cpp.