CMS 3D CMS Logo

MakePyBind11ParameterSets.h
Go to the documentation of this file.
1 #ifndef FWCore_PyDevParameterSet_MakePyBind11ParameterSets_h
2 #define FWCore_PyDevParameterSet_MakePyBind11ParameterSets_h
3 
4 //----------------------------------------------------------------------
5 // Declare functions used to create ParameterSets.
6 //----------------------------------------------------------------------
7 
8 #include <memory>
9 
10 #include <string>
11 #include <vector>
12 
13 namespace edm {
14  class ParameterSet;
15  namespace cmspybind11_p3 {
16  // input can either be a python file name or a python config string
17  std::unique_ptr<ParameterSet> readConfig(std::string const& config);
18 
20  std::unique_ptr<ParameterSet> readConfig(std::string const& config, int argc, char* argv[]);
21 
23  void makeParameterSets(std::string const& configtext, std::unique_ptr<ParameterSet>& main);
24 
28  std::unique_ptr<ParameterSet> readPSetsFrom(std::string const& fileOrString);
29  } // namespace cmspybind11_p3
30 } // namespace edm
31 #endif
cmsBatch.argv
argv
Definition: cmsBatch.py:279
edm::cmspybind11_p3::makeParameterSets
void makeParameterSets(std::string const &configtext, std::unique_ptr< ParameterSet > &main)
essentially the same as the previous method
Definition: MakePyBind11ParameterSets.cc:36
dir2webdir.argc
argc
Definition: dir2webdir.py:39
edm::cmspybind11_p3::readConfig
std::unique_ptr< ParameterSet > readConfig(std::string const &config)
Definition: MakePyBind11ParameterSets.cc:26
edm
HLT enums.
Definition: AlignableModifier.h:19
config
Definition: config.py:1
edm::cmspybind11_p3::readPSetsFrom
std::unique_ptr< ParameterSet > readPSetsFrom(std::string const &fileOrString)
Definition: MakePyBind11ParameterSets.cc:41
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ParameterSet
Definition: Functions.h:16
main
Definition: main.py:1