27#ifndef PYRAP_PYCRECORD_H
28#define PYRAP_PYCRECORD_H
32#include <boost/python.hpp>
33#include <boost/python/dict.hpp>
34#include <casacore/casa/Containers/Record.h>
36namespace casacore {
namespace python {
55 return boost::python::incref(
makeobject(rec).ptr());
64 boost::python::converter::registry::push_back(
67 boost::python::type_id<Record>());
76 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 void * convertible(PyObject *obj_ptr)
Check if it is a type we can convert.
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 boost::python::dict makeobject(Record const &rec)
static PyObject * convert(Record const &rec)
Register the Record conversion.