Mantid
|
Register ndarray as a type that manages a PyObject* internally. More...
#include <NDArray.h>
Public Member Functions | |
BOOST_STATIC_CONSTANT (bool, is_specialized=true) | |
Static Public Member Functions | |
static python::detail::new_reference | adopt (PyObject *obj) |
Create a boost::python object handle from the raw PyObject if it is a matching type. More... | |
static bool | check (PyObject *obj) |
Check if the given object is an instance of the array type. More... | |
static PyTypeObject const * | get_pytype () |
Return the PyTypeObject for this type. More... | |
Register ndarray as a type that manages a PyObject* internally.
|
static |
Create a boost::python object handle from the raw PyObject if it is a matching type.
obj | A python object instance |
Definition at line 121 of file NDArray.cpp.
References obj.
boost::python::converter::object_manager_traits< Mantid::PythonInterface::NDArray >::BOOST_STATIC_CONSTANT | ( | bool | , |
is_specialized | = true |
||
) |
|
static |
Check if the given object is an instance of the array type.
obj | A python object instance |
Definition at line 110 of file NDArray.cpp.
References obj.
|
static |
Return the PyTypeObject for this type.
Definition at line 129 of file NDArray.cpp.