CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 ( pluginCondDBV2PyInterface  )

Definition at line 29 of file CondDBPyWrappers.cc.

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

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 }
int def(FILE *, FILE *, int)
Time_t since
Definition: Types.h:53
Hash payloadId
Definition: Types.h:55
Iov_t makeIov(cond::Time_t since, const Hash &payloadId)