LSSTApplications  20.0.0
LSSTDataManagementBasePackage
persistence.cc
Go to the documentation of this file.
1 #include "pybind11/pybind11.h"
2 
5 
6 namespace py = pybind11;
7 
8 namespace lsst {
9 namespace daf {
10 namespace persistence {
11 
12 PYBIND11_MODULE(persistence, mod) {
13  py::module::import("lsst.daf.base");
14 
15  py::class_<python::ReadProxyBase, std::shared_ptr<python::ReadProxyBase>>(mod, "ReadProxyBase")
16  .def(py::init<>())
17  .def_readwrite("subject", &python::ReadProxyBase::subject);
18 
19 }
20 
21 } // persistence
22 } // daf
23 } // lsst
lsst::daf::persistence::PYBIND11_MODULE
PYBIND11_MODULE(dbAuth, mod)
Definition: dbAuth.cc:11
readProxy.h
lsst
A base class for image defects.
Definition: imageAlgorithm.dox:1
lsst::daf::persistence::python::ReadProxyBase::subject
pybind11::object subject
Definition: readProxy.h:45
LogicalLocation.h
Interface for LogicalLocation class.
pybind11
Definition: _GenericMap.cc:40