|
casacore
|
Struct with static functions to convert a numpy array scalar to the templated type (e.g. More...
#include <PycArrayNP.h>
Public Member Functions | |
| array_scalar_from_python () | |
Static Public Member Functions | |
| static void * | convertible (PyObject *obj_ptr) |
| Check if it is a type we can convert. | |
| static void | construct (PyObject *obj_ptr, boost::python::converter::rvalue_from_python_stage1_data *data) |
| Constructs a T from a Python array scalar object. | |
Struct with static functions to convert a numpy array scalar to the templated type (e.g.
Int).
Definition at line 99 of file PycArrayNP.h.
|
inline |
Definition at line 101 of file PycArrayNP.h.
References construct(), and convertible().
|
inlinestatic |
Constructs a T from a Python array scalar object.
Definition at line 120 of file PycArrayNP.h.
References casacore::python::numpy::getScalar(), casacore::python::numpy::makeScalar(), and casacore::python::numpy::PycArrayScalarCheck().
Referenced by array_scalar_from_python().
|
inlinestatic |
Check if it is a type we can convert.
Definition at line 110 of file PycArrayNP.h.
References casacore::python::numpy::PycArrayScalarCheck().
Referenced by array_scalar_from_python().