29 #ifndef PYRAP_PYCRECORD_H
30 #define PYRAP_PYCRECORD_H
34 #include <boost/python.hpp>
35 #include <boost/python/dict.hpp>
36 #include <casacore/casa/Containers/Record.h>
38 namespace casacore {
namespace python {
57 return boost::python::incref(
makeobject(rec).ptr());
66 boost::python::converter::registry::push_back(
69 boost::python::type_id<Record>());
78 boost::python::converter::rvalue_from_python_stage1_data* data);
void register_convert_casa_record()
this file contains all the compiler specific defines
casa_record_from_python()
static Record makeRecord(PyObject *obj_ptr)
static void construct(PyObject *obj_ptr, boost::python::converter::rvalue_from_python_stage1_data *data)
Constructs a Record from a Python object.
static void * convertible(PyObject *obj_ptr)
Check if it is a type we can convert.
static boost::python::dict makeobject(Record const &rec)
static PyObject * convert(Record const &rec)
Register the Record conversion.