lsst.daf.base  13.0-2-g167564e+10
persistable.cc
Go to the documentation of this file.
1 #include "pybind11/pybind11.h"
2 
3 #include <string>
4 
6 
7 namespace py = pybind11;
8 using namespace pybind11::literals;
9 
10 namespace lsst {
11 namespace daf {
12 namespace base {
13 
14 PYBIND11_PLUGIN(persistable) {
15  py::module mod("persistable", "Access to the classes from the daf_base persistable library");
16 
17  py::class_<Persistable, std::shared_ptr<Persistable>> cls(mod, "Persistable");
18 
19  return mod.ptr();
20 }
21 
22 } // base
23 } // daf
24 } // lsst
Definition: Citizen.h:35
Interface for Persistable base class.
PYBIND11_PLUGIN(persistable)
Definition: persistable.cc:14