25#ifndef PDI_PYTHON_REF_WRAPPER
26#define PDI_PYTHON_REF_WRAPPER
31#include <pybind11/pybind11.h>
33#include <pdi/ref_any.h>
58 void setattribute(std::string member_name,
const pybind11::object value);
pybind11::object getattribute(std::string member_name)
Gets a member if ref has a record datatype.
pybind11::object getitem(size_t index)
Gets element of the array if ref has a array datatype.
Python_ref_wrapper(Ref ref)
Creates python reference wrapper.
void setattribute(std::string member_name, const pybind11::object value)
Sets a member value if ref has a record datatype.
Definition array_datatype.h:38
Ref_any< false, false > Ref
Definition pdi_fwd.h:94