23 #include "pybind11/pybind11.h"
28 namespace py = pybind11;
35 py::module mod(
"policyStringDestination");
37 py::class_<PolicyStringDestination> cls(mod,
"PolicyStringDestination");
39 cls.def(py::init<>());
40 cls.def(py::init<const std::string&>());
definition of the PolicySource class
std::string getData()
return the data written so far as a string
PYBIND11_PLUGIN(defaultPolicyFile)
definition of the PolicyStringDestination class