CMS 3D CMS Logo

Namespaces | Functions
CondDBPyWrappers.cc File Reference
#include "CondCore/CondDB/interface/Types.h"
#include "FWCore/PluginManager/interface/PluginManager.h"
#include "FWCore/PluginManager/interface/standard.h"
#include <boost/python.hpp>

Go to the source code of this file.

Namespaces

 cond
 

Functions

 BOOST_PYTHON_MODULE (pluginCondDBV2PyInterface)
 
Iov_t cond::makeIov (cond::Time_t since, const Hash &payloadId)
 

Function Documentation

◆ BOOST_PYTHON_MODULE()

BOOST_PYTHON_MODULE ( pluginCondDBV2PyInterface  )

Definition at line 29 of file CondDBPyWrappers.cc.

29  {
30  def("CMSSWInit", &CMSSWInit);
31 
32  def("makeIov", &cond::makeIov);
33 
34  class_<cond::Iov_t>("Iov", init<>())
35  .def_readwrite("since", &cond::Iov_t::since)
36  .def_readwrite("payloadId", &cond::Iov_t::payloadId);
37 }

References spu::def(), cond::makeIov(), cond::Iov_t::payloadId, and cond::Iov_t::since.

cond::makeIov
Iov_t makeIov(cond::Time_t since, const Hash &payloadId)
Definition: CondDBPyWrappers.cc:20
cond::Iov_t::payloadId
Hash payloadId
Definition: Types.h:55
cond::Iov_t::since
Time_t since
Definition: Types.h:53
spu::def
int def(FILE *, FILE *, int)
Definition: SherpackUtilities.cc:14