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 449 of file PyObjConvUtils.h.

Member Function Documentation

◆ operator()()

boost::python::object operator() ( const T &  value) const
inline

actually convert a value.

Definition at line 453 of file PyObjConvUtils.h.

454 {
455 return convertToPythonObject(value);
456 }
boost::python::object convertToPythonObject(const Scalar &value)
------------— From C++ TO Python Converter ---------------------—

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