CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros
PayloadInspectorModule.h File Reference
#include <boost/python/class.hpp>
#include <boost/python/module.hpp>
#include <boost/python/def.hpp>
#include <boost/python/init.hpp>
#include <boost/python/list.hpp>

Go to the source code of this file.

Macros

#define PAYLOAD_INSPECTOR_CLASS(CLASS_NAME)
 
#define PAYLOAD_INSPECTOR_FUNCTION(FUNCTION_NAME)
 
#define PAYLOAD_INSPECTOR_MODULE(PAYLOAD_TYPENAME)   BOOST_PYTHON_MODULE( plugin ## PAYLOAD_TYPENAME ## _PayloadInspector )
 
#define PPCAT(A, B)   PPCAT_NX(A, B)
 
#define PPCAT_NX(A, B)   A ## B
 
#define STRINGIZE(A)   STRINGIZE_NX(A)
 
#define STRINGIZE_NX(A)   #A
 

Macro Definition Documentation

#define PAYLOAD_INSPECTOR_CLASS (   CLASS_NAME)
Value:
using namespace boost::python; \
class_< CLASS_NAME >( STRINGIZE(PPCAT(plot_,CLASS_NAME)), init<>()) \
.def("objectType",&CLASS_NAME::objectType ) \
.def("title",&CLASS_NAME::title ) \
.def("info",&CLASS_NAME::info ) \
.def("data",&CLASS_NAME::data ) \
;
static const TGPicture * info(bool iBackgroundIsBlack)
#define STRINGIZE(A)
#define PPCAT(A, B)

Definition at line 14 of file PayloadInspectorModule.h.

Referenced by BOOST_PYTHON_MODULE().

#define PAYLOAD_INSPECTOR_FUNCTION (   FUNCTION_NAME)
Value:
using namespace boost::python; \
def (STRINGIZE(PPCAT(plot_,FUNCTION_NAME)), FUNCTION_NAME)
#define STRINGIZE(A)
#define PPCAT(A, B)
JetCorrectorParameters::Definitions def
Definition: classes.h:6

Definition at line 22 of file PayloadInspectorModule.h.

#define PAYLOAD_INSPECTOR_MODULE (   PAYLOAD_TYPENAME)    BOOST_PYTHON_MODULE( plugin ## PAYLOAD_TYPENAME ## _PayloadInspector )

Definition at line 12 of file PayloadInspectorModule.h.

#define PPCAT (   A,
  B 
)    PPCAT_NX(A, B)

Definition at line 8 of file PayloadInspectorModule.h.

#define PPCAT_NX (   A,
  B 
)    A ## B

Definition at line 7 of file PayloadInspectorModule.h.

#define STRINGIZE (   A)    STRINGIZE_NX(A)

Definition at line 10 of file PayloadInspectorModule.h.

#define STRINGIZE_NX (   A)    #A

Definition at line 9 of file PayloadInspectorModule.h.