Convert for Array<OneD, T> to Python list of objects for numeric types, self-array types and shared_ptr types.
More...
|
| | PYBIND11_TYPE_CASTER (Type, const_name("Array<OneD, ")+handle_type_name< T >::name+const_name(">")) |
| |
| bool | load (handle src, bool enable) |
| |
| template<typename U = T, std::enable_if_t< std::is_arithmetic_v< U >, bool > = true> |
| bool | load_impl (handle src, bool) |
| |
| template<typename U = T, std::enable_if_t< is_shared_ptr< typename std::remove_const< U >::type >::value||is_nekarray_oned< U >::value, bool > = true> |
| bool | load_impl (handle src, bool) |
| |
|
| static handle | cast (Nektar::Array< Nektar::OneD, T > const &arr, return_value_policy policy, handle parent) |
| |
| static void | decrement (void *objPtr) |
| |
| template<typename U = T, std::enable_if_t< std::is_arithmetic_v< U >, bool > = true> |
| static handle | cast_impl (Nektar::Array< Nektar::OneD, T > const &arr, return_value_policy, handle) |
| |
| template<typename U = T, std::enable_if_t< is_shared_ptr< typename std::remove_const< U >::type >::value||is_nekarray_oned< U >::value, bool > = true> |
| static handle | cast_impl (Nektar::Array< Nektar::OneD, U > const &arr, return_value_policy, handle) |
| |
template<typename Type, typename T>
struct pybind11::detail::nekarray_caster< Type, T >
Convert for Array<OneD, T> to Python list of objects for numeric types, self-array types and shared_ptr types.
- Template Parameters
-
| Type | The overall type Array<OneD, T> |
| T | The data type T |
Definition at line 69 of file Python/BasicUtils/SharedArray.hpp.
template<typename Type , typename T >
template<typename U = T, std::enable_if_t< std::is_arithmetic_v< U >, bool > = true>