7 namespace pointmatchersupport
11 py::bind_vector<pms::StringVector>(p_module,
"StringVector");
13 py::bind_map<pms::Bibliography>(p_module,
"Bibliography")
14 .def(
"clear", &pms::Bibliography::clear,
"Remove all items from D.");
16 py::bind_map<pms::BibIndices>(p_module,
"BibIndices")
17 .def(
"clear", &pms::BibIndices::clear,
"Remove all items from D.");
20 py::class_<pms::CurrentBibliography> pyCurrentBibliography(p_module,
"CurrentBibliography");
23 py::enum_<Mode>(pyCurrentBibliography,
"Mode").value(
"NORMAL", Mode::NORMAL).value(
"ROSWIKI", Mode::ROSWIKI)
24 .value(
"BIBTEX", Mode::BIBTEX);
30 .def(py::init<Mode>(), py::arg(
"mode") = Mode::NORMAL).def(
"dump", [](
const CurrentBibliography&
self)
32 std::ostringstream oss;