Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
FWCore
PythonParameterSet
src
initializePyBind11Module.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: PyBind11ParameterSet
4
// Class : initializePyBind11Module
5
//
6
7
#include "
FWCore/PythonParameterSet/src/initializePyBind11Module.h
"
8
#include "
PyBind11Module.h
"
9
#include <pybind11/embed.h>
10
#include <iostream>
11
12
namespace
edm {
13
namespace
python {
14
void
initializePyBind11Module
() {
15
char
*libFWCoreParameterSet =
const_cast<
char
*
>
(
"libFWCorePythonParameterSet"
);
16
pybind11::module::import
(libFWCoreParameterSet);
17
}
18
}
// namespace python
19
}
// namespace edm
initializePyBind11Module.h
edm::python::initializePyBind11Module
void initializePyBind11Module()
Definition:
initializePyBind11Module.cc:14
cond::persistency::import
cond::Hash import(Session &source, const cond::Hash &sourcePayloadId, const std::string &inputTypeName, const void *inputPtr, Session &destination)
Definition:
CondDBImport.cc:39
PyBind11Module.h
Generated for CMSSW Reference Manual by
1.8.5