CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Macros | Functions
Payload2XMLModule.h File Reference
#include <string>
#include <memory>
#include <pybind11/pybind11.h>
#include "CondFormats/Serialization/interface/Archive.h"
#include <boost/version.hpp>

Go to the source code of this file.

Namespaces

 cond
 

Macros

#define PAYLOAD_2XML_CLASS(CLASS_NAME)
 
#define PAYLOAD_2XML_MODULE(MODULE_NAME)   PYBIND11_MODULE(MODULE_NAME, m)
 
#define XML_CONVERTER_NAME(CLASS_NAME)   (std::string(#CLASS_NAME) + "2xml").c_str()
 

Functions

std::string cond::boost_version_label ()
 

Macro Definition Documentation

#define PAYLOAD_2XML_CLASS (   CLASS_NAME)
Value:
py::class_<Payload2xml<CLASS_NAME> >(m, XML_CONVERTER_NAME(CLASS_NAME)) \
.def(py::init<>()) \
int def(FILE *, FILE *, int)
#define XML_CONVERTER_NAME(CLASS_NAME)

Definition at line 17 of file Payload2XMLModule.h.

Referenced by PYBIND11_MODULE().

#define PAYLOAD_2XML_MODULE (   MODULE_NAME)    PYBIND11_MODULE(MODULE_NAME, m)

Definition at line 15 of file Payload2XMLModule.h.

#define XML_CONVERTER_NAME (   CLASS_NAME)    (std::string(#CLASS_NAME) + "2xml").c_str()

Definition at line 13 of file Payload2XMLModule.h.