23 #ifndef AFW_TABLE_PYBIND11_COLUMNVIEW_H_INCLUDED 24 #define AFW_TABLE_PYBIND11_COLUMNVIEW_H_INCLUDED 26 #include "pybind11/pybind11.h" 37 template <
typename Record>
51 template <
typename Record>
53 bool isBase =
false) {
56 fullName =
"_" + name +
"ColumnViewBase";
58 fullName = name +
"ColumnView";
61 [](
auto& mod,
auto&
cls) {
pybind11::class_< ColumnViewT< Record >, std::shared_ptr< ColumnViewT< Record > >, BaseColumnView > PyColumnView
Column-wise view into a sequence of records that have been allocated contiguously.
PyColumnView< Record > declareColumnView(utils::python::WrapperCollection &wrappers, std::string const &name, bool isBase=false)
Declare member and static functions for a given instantiation of lsst::afw::table::ColumnViewT<Record...
A base class for image defects.
PyType wrapType(PyType cls, ClassWrapperCallback function, bool setModuleName=true)