Nektar++
Public Types | Public Member Functions | List of all members
boost::python::detail::registry_to_python_value< T > Struct Template Reference

#include <ShPtrFixes.hpp>

Public Types

typedef value_arg< T >::type argument_type
 

Public Member Functions

PyObject * operator() (argument_type) const
 
PyTypeObject const * get_pytype () const
 
 BOOST_STATIC_CONSTANT (bool, uses_registry=true)
 

Detailed Description

template<class T>
struct boost::python::detail::registry_to_python_value< T >

Definition at line 346 of file ShPtrFixes.hpp.

Member Typedef Documentation

◆ argument_type

template<class T >
typedef value_arg<T>::type boost::python::detail::registry_to_python_value< T >::argument_type

Definition at line 348 of file ShPtrFixes.hpp.

Member Function Documentation

◆ BOOST_STATIC_CONSTANT()

template<class T >
boost::python::detail::registry_to_python_value< T >::BOOST_STATIC_CONSTANT ( bool  ,
uses_registry  = true 
)

◆ get_pytype()

template<class T >
PyTypeObject const * boost::python::detail::registry_to_python_value< T >::get_pytype ( ) const
inline

Definition at line 352 of file ShPtrFixes.hpp.

353 {
354 return converter::registered<T>::converters.to_python_target_type();
355 }

◆ operator()()

template<class T >
PyObject * boost::python::detail::registry_to_python_value< T >::operator() ( argument_type  x) const
inline

Definition at line 427 of file ShPtrFixes.hpp.

428{
429 return converter::registered<argument_type>::converters.to_python(&x);
430}