Belle II Software light-2607-kasei
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:
Collaboration 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 460 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 464 of file PyObjConvUtils.h.

465 {
466 return convertToPythonObject(value);
467 }
boost::python::object convertToPythonObject(const Scalar &value)
------------— From C++ TO Python Converter ---------------------—

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