CMS 3D CMS Logo

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

◆ PAYLOAD_2XML_CLASS

#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().

◆ PAYLOAD_2XML_MODULE

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

Definition at line 15 of file Payload2XMLModule.h.

◆ XML_CONVERTER_NAME

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

Definition at line 13 of file Payload2XMLModule.h.