diff --git a/python/src/pyHepMC3_16.cpp b/python/src/pyHepMC3_16.cpp index eb52771253338597a041aedca37845ad11ec37f5..1a0cd7e2e59fd6117cd76a9eb19f29cf49187723 100644 --- a/python/src/pyHepMC3_16.cpp +++ b/python/src/pyHepMC3_16.cpp @@ -45,8 +45,11 @@ void bind_pyHepMC3_16(std::function< pybind11::module &(std::string const &names cl.def_readwrite("dirpath", &LHEF::Reader::dirpath); cl.def("readEvent", (bool (LHEF::Reader::*)()) &LHEF::Reader::readEvent, "Read an event from the file and store it in the hepeup\n object. Optional comment lines are stored i the eventComments\n member variable.\n \n\n true if the read sas successful.\n\nC++: LHEF::Reader::readEvent() --> bool"); cl.def("openeventfile", (void (LHEF::Reader::*)(int)) &LHEF::Reader::openeventfile, "Open the efentfile with index ifile. If another eventfile is\n being read, its remaining contents is discarded. This is a noop\n if current read session is not a multi-file run.\n\nC++: LHEF::Reader::openeventfile(int) --> void", pybind11::arg("ifile")); +/*Because of an issue in binder one should comment those lines manually.*/ +/* cl.def("initfile_rdstate", (enum std::_Ios_Iostate (LHEF::Reader::*)() const) &LHEF::Reader::initfile_rdstate, "initfile rdstate \n\nC++: LHEF::Reader::initfile_rdstate() const --> enum std::_Ios_Iostate"); cl.def("file_rdstate", (enum std::_Ios_Iostate (LHEF::Reader::*)() const) &LHEF::Reader::file_rdstate, "file rdstate \n\nC++: LHEF::Reader::file_rdstate() const --> enum std::_Ios_Iostate"); +*/ } { // LHEF::Writer file:HepMC3/LHEF.h line:3099 pybind11::class_<LHEF::Writer, std::shared_ptr<LHEF::Writer>> cl(M("LHEF"), "Writer", "The Writer class is initialized with a stream to which to write a\n version 1.0 Les Houches Accord event file. In the constructor of\n the Writer object the main XML tag is written out, with the\n corresponding end tag is written in the destructor. After a Writer\n object has been created, it is possible to assign standard init\n information in the heprup member variable. In addition any XML\n formatted information can be added to the headerBlock member\n variable (directly or via the addHeader() function). Further\n comment line (beginning with a # character) can be\n added to the initComments variable (directly or with the\n addInitComment() function). After this information is set, it\n should be written out to the file with the init() function.\n\n Before each event is written out with the writeEvent() function,\n the standard event information can then be assigned to the hepeup\n variable and optional comment lines (beginning with a\n # character) may be given to the eventComments\n variable (directly or with the addEventComment() function).\n\n ");