| LSSTApplications
    20.0.0
    LSSTDataManagementBasePackage | 
 
 
 
Go to the documentation of this file.
   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) {
 
   62                                  cls.def(
"getTable", &ColumnViewT<Record>::getTable);
 
   63                                  cls.def_property_readonly(
"table", &ColumnViewT<Record>::getTable);
 
  
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...
Column-wise view into a sequence of records that have been allocated contiguously.
pybind11::class_< ColumnViewT< Record >, std::shared_ptr< ColumnViewT< Record > >, BaseColumnView > PyColumnView
PyType wrapType(PyType cls, ClassWrapperCallback function, bool setModuleName=true)
Add a type (class or enum) wrapper, deferring method and other attribute definitions until finish() i...
A helper class for subdividing pybind11 module across multiple translation units (i....
A base class for image defects.
pybind11::module module
The module object passed to the PYBIND11_MODULE block that contains this WrapperCollection.