lsst.daf.base
13.0-2-g167564e+10
python
lsst
daf
base
persistable.cc
Go to the documentation of this file.
1
#include "pybind11/pybind11.h"
2
3
#include <string>
4
5
#include "
lsst/daf/base/Persistable.h
"
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
lsst
Definition:
Citizen.h:35
Persistable.h
Interface for Persistable base class.
lsst::daf::base::PYBIND11_PLUGIN
PYBIND11_PLUGIN(persistable)
Definition:
persistable.cc:14
literals
Generated on Fri Oct 6 2017 22:18:20 for lsst.daf.base by
1.8.13