lsst.daf.base
14.0
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
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
Persistable.h
Interface for Persistable base class.
lsst::daf::base::PYBIND11_PLUGIN
PYBIND11_PLUGIN(citizen)
Definition:
citizen.cc:12
Generated on Tue Oct 24 2017 03:13:27 for lsst.daf.base by
1.8.5