CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PythonProcessDesc.h
Go to the documentation of this file.
1 #ifndef FWCore_PythonParameterSet_PythonProcessDesc_h
2 #define FWCore_PythonParameterSet_PythonProcessDesc_h
3 
6 
7 #include "boost/shared_ptr.hpp"
8 
9 #include <string>
10 #include <vector>
11 
12 namespace edm {
13  class ParameterSet;
14  class ProcessDesc;
15 }
16 
18 public:
28 
29  PythonProcessDesc(std::string const& config, int argc, char * argv[]);
30 
32 
33  std::string dump() const;
34 
35  // makes a new (copy) of the ParameterSet
36  boost::shared_ptr<edm::ParameterSet> parameterSet();
37 
38  // makes a new (copy) of a ProcessDesc
39  // For backward compatibility only. Remove when no longer needed.
40  boost::shared_ptr<edm::ProcessDesc> processDesc();
41 
42 private:
43  void prepareToRead();
44  void read(std::string const& config);
45  void readFile(std::string const& fileName);
46  void readString(std::string const& pyConfig);
47 
51 };
52 
53 #endif
boost::python::object theMainModule
PythonParameterSet theProcessPSet
void readFile(std::string const &fileName)
boost::shared_ptr< edm::ParameterSet > parameterSet()
void read(std::string const &config)
boost::python::object theMainNamespace
std::string dump() const
boost::shared_ptr< edm::ProcessDesc > processDesc()
tuple argc
Definition: dir2webdir.py:38
list object
Definition: dbtoconf.py:77
void readString(std::string const &pyConfig)
PythonParameterSet newPSet() const