#include <PyBind11ProcessDesc.h>
Public Member Functions | |
std::string | dump () const |
Python11ParameterSet | newPSet () const |
std::unique_ptr< edm::ParameterSet > | parameterSet () const |
std::unique_ptr< edm::ProcessDesc > | processDesc () const |
Python11ParameterSet & | pset () |
PyBind11ProcessDesc () | |
PyBind11ProcessDesc (std::string const &config) | |
PyBind11ProcessDesc (std::string const &config, int argc, char *argv[]) | |
~PyBind11ProcessDesc () | |
Private Member Functions | |
void | prepareToRead () |
void | read (std::string const &config) |
void | readFile (std::string const &fileName) |
void | readString (std::string const &pyConfig) |
Private Attributes | |
pybind11::object | theMainModule |
bool | theOwnsInterpreter |
Python11ParameterSet | theProcessPSet |
Definition at line 18 of file PyBind11ProcessDesc.h.
PyBind11ProcessDesc::PyBind11ProcessDesc | ( | ) |
Definition at line 13 of file PyBind11ProcessDesc.cc.
PyBind11ProcessDesc::PyBind11ProcessDesc | ( | std::string const & | config | ) |
This constructor will parse the given file or string and create two objects in python-land: a PythonProcessDesc named 'processDesc' a PythonParameterSet named 'processPSet' It decides whether it's a file or string by seeing if it ends in '.py'
Definition at line 15 of file PyBind11ProcessDesc.cc.
References edm::python3::initializePyBind11Module(), prepareToRead(), and read().
PyBind11ProcessDesc::PyBind11ProcessDesc | ( | std::string const & | config, |
int | argc, | ||
char * | argv[] | ||
) |
Definition at line 23 of file PyBind11ProcessDesc.cc.
References dir2webdir::argc, cmsBatch::argv, mps_fire::i, edm::python3::initializePyBind11Module(), prepareToRead(), and read().
PyBind11ProcessDesc::~PyBind11ProcessDesc | ( | ) |
Definition at line 54 of file PyBind11ProcessDesc.cc.
References resolutioncreator_cfi::object, theMainModule, and theOwnsInterpreter.
std::string PyBind11ProcessDesc::dump | ( | void | ) | const |
Definition at line 97 of file PyBind11ProcessDesc.cc.
References cmspython3::Python11ParameterSet::dump(), and theProcessPSet.
Referenced by PYBIND11_MODULE().
|
inline |
std::unique_ptr< edm::ParameterSet > PyBind11ProcessDesc::parameterSet | ( | ) | const |
Definition at line 93 of file PyBind11ProcessDesc.cc.
References cmspython3::Python11ParameterSet::pset(), and theProcessPSet.
Referenced by edm::cmspybind11_p3::makeParameterSets(), processDesc(), and edm::cmspybind11_p3::readConfig().
|
private |
Definition at line 61 of file PyBind11ProcessDesc.cc.
References cond::persistency::import(), theMainModule, and theProcessPSet.
Referenced by PyBind11ProcessDesc().
std::unique_ptr< edm::ProcessDesc > PyBind11ProcessDesc::processDesc | ( | ) | const |
Definition at line 104 of file PyBind11ProcessDesc.cc.
References parameterSet().
|
inline |
Definition at line 36 of file PyBind11ProcessDesc.h.
References theProcessPSet.
Referenced by PYBIND11_MODULE().
|
private |
Definition at line 68 of file PyBind11ProcessDesc.cc.
References MillePedeFileConverter_cfg::e, cmspython3::pythonToCppException(), readFile(), and readString().
Referenced by edmIntegrityCheck.PublishToFileSystem::get(), and PyBind11ProcessDesc().
|
private |
Definition at line 81 of file PyBind11ProcessDesc.cc.
References mps_check::command, MillePedeFileConverter_cfg::fileName, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by read().
|
private |
Definition at line 87 of file PyBind11ProcessDesc.cc.
References mps_check::command, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by read().
|
private |
Definition at line 54 of file PyBind11ProcessDesc.h.
Referenced by prepareToRead(), and ~PyBind11ProcessDesc().
|
private |
Definition at line 55 of file PyBind11ProcessDesc.h.
Referenced by ~PyBind11ProcessDesc().
|
private |
Definition at line 53 of file PyBind11ProcessDesc.h.
Referenced by dump(), parameterSet(), prepareToRead(), and pset().