Structure collecting all the types registers in Numpy via EigenPy. More...
#include <register.hpp>
Classes | |
struct | Compare_PyTypeObject |
struct | Compare_TypeInfo |
Static Public Member Functions | |
static PyArray_Descr * | getPyArrayDescr (PyTypeObject *py_type_ptr) |
template<typename Scalar > | |
static PyTypeObject * | getPyType () |
static int | getTypeCode (PyTypeObject *py_type_ptr) |
template<typename Scalar > | |
static int | getTypeCode () |
static Register & | instance () |
template<typename Scalar > | |
static bool | isRegistered () |
static bool | isRegistered (PyTypeObject *py_type_ptr) |
static int | registerNewType (PyTypeObject *py_type_ptr, const std::type_info *type_info_ptr, const int type_size, PyArray_GetItemFunc *getitem, PyArray_SetItemFunc *setitem, PyArray_NonzeroFunc *nonzero, PyArray_CopySwapFunc *copyswap, PyArray_CopySwapNFunc *copyswapn, PyArray_DotFunc *dotfunc) |
Private Types | |
typedef std::map< PyTypeObject *, int, Compare_PyTypeObject > | MapCode |
typedef std::map< PyTypeObject *, PyArray_Descr *, Compare_PyTypeObject > | MapDescr |
typedef std::map< const std::type_info *, PyTypeObject *, Compare_TypeInfo > | MapInfo |
Private Member Functions | |
Register () | |
Private Attributes | |
MapCode | py_array_code_bindings |
MapDescr | py_array_descr_bindings |
MapInfo | type_to_py_type_bindings |
Structure collecting all the types registers in Numpy via EigenPy.
Definition at line 21 of file register.hpp.
|
private |
Definition at line 116 of file register.hpp.
|
private |
Definition at line 113 of file register.hpp.
|
private |
Definition at line 110 of file register.hpp.
|
inlineprivate |
Definition at line 92 of file register.hpp.
|
static |
Definition at line 10 of file register.cpp.
|
inlinestatic |
Definition at line 37 of file register.hpp.
|
static |
Definition at line 27 of file register.cpp.
|
inlinestatic |
Definition at line 59 of file register.hpp.
|
static |
Definition at line 80 of file register.cpp.
|
inlinestatic |
Definition at line 27 of file register.hpp.
|
static |
Definition at line 19 of file register.cpp.
|
static |
Definition at line 36 of file register.cpp.
|
private |
Definition at line 117 of file register.hpp.
|
private |
Definition at line 114 of file register.hpp.
|
private |
Definition at line 111 of file register.hpp.