casacore
Classes | Namespaces | Macros | Functions
PycArrayNP.h File Reference
#include <boost/python.hpp>
#include <boost/python/object.hpp>
#include <casacore/casa/Containers/ValueHolder.h>
#include <casacore/casa/Arrays/Array.h>
#include <numpy/arrayobject.h>
#include <casacore/python/Converters/PycArrayComH.h>

Go to the source code of this file.

Classes

struct  casacore::python::numpy::array_scalar_from_python< T >
 Struct with static functions to convert a numpy array scalar to the templated type (e.g. More...
 

Namespaces

 casacore
 this file contains all the compiler specific defines
 
 casacore::python
 
 casacore::python::numpy
 

Macros

#define PYC_USE_PYARRAY
 

Functions

bool casacore::python::numpy::PycArrayScalarCheck (PyObject *obj, int &type)
 Check if it is an array scalar object. More...
 
DataType casacore::python::numpy::PycArrayScalarType (PyObject *obj_ptr)
 Get the data type of the array scalar object. More...
 
ValueHolder casacore::python::numpy::makeScalar (PyObject *obj, int type)
 Make a scalar object. More...
 
void casacore::python::numpy::register_convert_arrayscalars ()
 Register all array scalar converters. More...
 
template<typename T >
casacore::python::numpy::getScalar (const ValueHolder &)
 Templated helper function to get a value from a ValueHolder. More...
 
template<>
Bool casacore::python::numpy::getScalar (const ValueHolder &vh)
 Templated helper function to get a value from a ValueHolder. More...
 

Macro Definition Documentation

◆ PYC_USE_PYARRAY

#define PYC_USE_PYARRAY

Definition at line 41 of file PycArrayNP.h.