19 using return_copy = return_value_policy<copy_const_reference>;
21 class_<Citation, boost::noncopyable>(
"Citation",
22 init<optional<
const std::string &,
const std::string &,
const std::string &,
23 const std::string &,
const std::string &>>())
24 .def(init<Mantid::Nexus::File *, const std::string &>())
26 "Returns the description on the citation object")
27 .def(
"url", &
Citation::url, arg(
"self"), return_copy(),
"Returns the url on the citation object")
28 .def(
"doi", &
Citation::doi, arg(
"self"), return_copy(),
"Returns the doi on the citation object")
30 "Returns the bibtex formatted citation from the citation object")
32 "Returns the endnote formatted citation from the citation object")
33 .def(
"saveNexus", &
Citation::saveNexus, (arg(
"self"), arg(
"file"), arg(
"group")), return_copy(),
34 "Save data from this object to a NeXus file")
35 .def(
"__eq__", &Citation::operator==);