Belle II Software development
convertToPythonObjectVisitor Class Reference

Helper function object to unpack a value from a variant to a python object. More...

#include <PyObjConvUtils.h>

Inheritance diagram for convertToPythonObjectVisitor:

Public Member Functions

template<class T>
boost::python::object operator() (const T &value) const
 actually convert a value.
 

Detailed Description

Helper function object to unpack a value from a variant to a python object.

Definition at line 452 of file PyObjConvUtils.h.

Member Function Documentation

◆ operator()()

template<class T>
boost::python::object operator() ( const T & value) const
inline

actually convert a value.

Definition at line 456 of file PyObjConvUtils.h.

457 {
458 return convertToPythonObject(value);
459 }
boost::python::object convertToPythonObject(const Scalar &value)
------------— From C++ TO Python Converter ---------------------—

The documentation for this class was generated from the following file: