casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
 For temporary backward namespace compatibility, use casa as alias for casacore.
 
 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...
 
template<>
Char casacore::python::numpy::getScalar (const ValueHolder &vh)
 Templated helper function to get a value from a ValueHolder. More...
 
template<>
uChar casacore::python::numpy::getScalar (const ValueHolder &vh)
 Templated helper function to get a value from a ValueHolder. More...
 
template<>
Short casacore::python::numpy::getScalar (const ValueHolder &vh)
 Templated helper function to get a value from a ValueHolder. More...
 
template<>
uShort casacore::python::numpy::getScalar (const ValueHolder &vh)
 Templated helper function to get a value from a ValueHolder. More...
 
template<>
Int casacore::python::numpy::getScalar (const ValueHolder &vh)
 Templated helper function to get a value from a ValueHolder. More...
 
template<>
uInt casacore::python::numpy::getScalar (const ValueHolder &vh)
 Templated helper function to get a value from a ValueHolder. More...
 
template<>
Long casacore::python::numpy::getScalar (const ValueHolder &vh)
 Templated helper function to get a value from a ValueHolder. More...
 
template<>
uLong casacore::python::numpy::getScalar (const ValueHolder &vh)
 Templated helper function to get a value from a ValueHolder. More...
 
template<>
Int64 casacore::python::numpy::getScalar (const ValueHolder &vh)
 Templated helper function to get a value from a ValueHolder. More...
 
template<>
uInt64 casacore::python::numpy::getScalar (const ValueHolder &vh)
 Templated helper function to get a value from a ValueHolder. More...
 
template<>
Float casacore::python::numpy::getScalar (const ValueHolder &vh)
 Templated helper function to get a value from a ValueHolder. More...
 
template<>
Double casacore::python::numpy::getScalar (const ValueHolder &vh)
 Templated helper function to get a value from a ValueHolder. More...
 
template<>
Complex casacore::python::numpy::getScalar (const ValueHolder &vh)
 Templated helper function to get a value from a ValueHolder. More...
 
template<>
DComplex casacore::python::numpy::getScalar (const ValueHolder &vh)
 Templated helper function to get a value from a ValueHolder. More...
 

Macro Definition Documentation

#define PYC_USE_PYARRAY

Definition at line 41 of file PycArrayNP.h.

Referenced by isImported(), and loadAPI().