casa
5.7.0-16
|
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. More... | |
static void | construct (PyObject *obj_ptr, boost::python::converter::rvalue_from_python_stage1_data *data) |
Constructs a T from a Python array scalar object. More... | |
Struct with static functions to convert a numpy array scalar to the templated type (e.g.
Int).
Definition at line 101 of file PycArrayNP.h.
|
inline |
Definition at line 103 of file PycArrayNP.h.
References casacore::python::numpy::array_scalar_from_python< T >::construct(), and casacore::python::numpy::array_scalar_from_python< T >::convertible().
|
inlinestatic |
Constructs a T from a Python array scalar object.
Definition at line 122 of file PycArrayNP.h.
References casacore::python::numpy::makeScalar(), casacore::python::numpy::PycArrayScalarCheck(), and type().
Referenced by casacore::python::numpy::array_scalar_from_python< T >::array_scalar_from_python().
|
inlinestatic |
Check if it is a type we can convert.
Definition at line 112 of file PycArrayNP.h.
References casacore::python::numpy::PycArrayScalarCheck(), and type().
Referenced by casacore::python::numpy::array_scalar_from_python< T >::array_scalar_from_python().