27#ifndef PYRAP_PYCARRAY_H 
   28#define PYRAP_PYCARRAY_H 
   32#include <boost/python.hpp> 
   33#include <boost/python/object.hpp> 
   34#include <casacore/casa/Arrays/Array.h> 
   35#include <casacore/casa/Containers/ValueHolder.h> 
   36#include <casacore/casa/Utilities/DataType.h> 
   37#include <casacore/casa/Exceptions/Error.h> 
   98      { 
return boost::python::incref(
makeobject(c).ptr()); }
 
 
 
 
Bool PycArrayCheck(PyObject *obj_ptr)
 
DataType PycArrayScalarType(PyObject *obj_ptr)
Get the data type of the array scalar object.
 
Bool PycArrayScalarCheck(PyObject *obj_ptr)
Check if the PyObject is an array scalar object.
 
boost::python::object makePyArrayObject(casacore::Array< T > const &arr)
Do the actual making of the PyArrayObject.
 
this file contains all the compiler specific defines
 
bool Bool
Define the standard types used by Casacore.
 
static ValueHolder makeArray(PyObject *obj_ptr, Bool copyData=False)
Constructs an Array from a Python object.
 
static ValueHolder makeScalar(PyObject *obj_ptr)
Construct a scalar from an array scalar (i.e.
 
static ValueHolder makeArrayFromDict(PyObject *obj_ptr)
Construct an Array<String> from a special Python dict object.
 
static PyObject * convert(Array< T > const &c)
 
static boost::python::object makeobject(Array< T > const &arr)