CMS 3D CMS Logo

Classes | Namespaces | Macros
Payload2XMLModule.h File Reference
#include <string>
#include <memory>
#include <boost/python.hpp>
#include "boost/archive/xml_oarchive.hpp"
#include "CondFormats/Serialization/interface/Archive.h"
#include <boost/version.hpp>

Go to the source code of this file.

Classes

struct  cond::BoostVersion
 

Namespaces

 cond
 

Macros

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

Macro Definition Documentation

#define PAYLOAD_2XML_CLASS (   CLASS_NAME)
Value:
boost::python::class_<Payload2xml<CLASS_NAME> >(XML_CONVERTER_NAME(CLASS_NAME), boost::python::init<>()) \
def write(self, setup)
#define XML_CONVERTER_NAME(CLASS_NAME)

Definition at line 16 of file Payload2XMLModule.h.

Referenced by BOOST_PYTHON_MODULE().

#define PAYLOAD_2XML_MODULE (   MODULE_NAME)    BOOST_PYTHON_MODULE(MODULE_NAME)

Definition at line 14 of file Payload2XMLModule.h.

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

Definition at line 12 of file Payload2XMLModule.h.