CMS 3D CMS Logo

Macros
Payload2XMLModule.h File Reference
#include <string>
#include <memory>
#include <pybind11/pybind11.h>
#include "CondFormats/Serialization/interface/Archive.h"

Go to the source code of this file.

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

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<>()) \

Definition at line 17 of file Payload2XMLModule.h.

◆ 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.

XML_CONVERTER_NAME
#define XML_CONVERTER_NAME(CLASS_NAME)
Definition: Payload2XMLModule.h:13
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:78
writeEcalDQMStatus.write
write
Definition: writeEcalDQMStatus.py:48
spu::def
int def(FILE *, FILE *, int)
Definition: SherpackUtilities.cc:14