μHAL (v2.8.17)
Part of the IPbus software repository
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Static Public Member Functions | Static Public Attributes | Static Private Member Functions | List of all members
npy_format_descriptor< T, SFINAE > Struct Template Reference

#include </builds/ipbus/ipbus-software/uhal/python/pybind11-python2/include/pybind11/numpy.h>

Static Public Member Functions

static pybind11::dtype dtype ()
 
static std::string format ()
 
static void register_dtype (any_container< field_descriptor > fields)
 
static pybind11::dtype dtype ()
 
static std::string format ()
 
static void register_dtype (any_container< field_descriptor > fields)
 

Static Public Attributes

static constexpr auto name = make_caster<T>::name
 

Static Private Member Functions

static PyObject * dtype_ptr ()
 
static bool direct_converter (PyObject *obj, void *&value)
 
static PyObject * dtype_ptr ()
 
static bool direct_converter (PyObject *obj, void *&value)
 

Detailed Description

template<typename T, typename SFINAE>
struct npy_format_descriptor< T, SFINAE >

Definition at line 1419 of file numpy.h.

Member Function Documentation

◆ direct_converter() [1/2]

template<typename T , typename SFINAE >
static bool npy_format_descriptor< T, SFINAE >::direct_converter ( PyObject *  obj,
void *&  value 
)
inlinestaticprivate

◆ direct_converter() [2/2]

template<typename T , typename SFINAE >
static bool npy_format_descriptor< T, SFINAE >::direct_converter ( PyObject *  obj,
void *&  value 
)
inlinestaticprivate

Definition at line 1445 of file numpy.h.

References npy_format_descriptor< T, SFINAE >::dtype_ptr(), and npy_api::get().

◆ dtype() [1/2]

template<typename T , typename SFINAE >
static pybind11::dtype npy_format_descriptor< T, SFINAE >::dtype ( )
inlinestatic

Definition at line 1397 of file numpy.h.

References npy_format_descriptor< T, SFINAE >::dtype_ptr().

◆ dtype() [2/2]

template<typename T , typename SFINAE >
static pybind11::dtype npy_format_descriptor< T, SFINAE >::dtype ( )
inlinestatic

Definition at line 1425 of file numpy.h.

References npy_format_descriptor< T, SFINAE >::dtype_ptr().

◆ dtype_ptr() [1/2]

template<typename T , typename SFINAE >
static PyObject * npy_format_descriptor< T, SFINAE >::dtype_ptr ( )
inlinestaticprivate

◆ dtype_ptr() [2/2]

template<typename T , typename SFINAE >
static PyObject * npy_format_descriptor< T, SFINAE >::dtype_ptr ( )
inlinestaticprivate

◆ format() [1/2]

template<typename T , typename SFINAE >
static std::string npy_format_descriptor< T, SFINAE >::format ( )
inlinestatic

Definition at line 1399 of file numpy.h.

References get_numpy_internals(), and numpy_internals::get_type_info().

◆ format() [2/2]

template<typename T , typename SFINAE >
static std::string npy_format_descriptor< T, SFINAE >::format ( )
inlinestatic

Definition at line 1427 of file numpy.h.

References get_numpy_internals(), and numpy_internals::get_type_info().

◆ register_dtype() [1/2]

template<typename T , typename SFINAE >
static void npy_format_descriptor< T, SFINAE >::register_dtype ( any_container< field_descriptor fields)
inlinestatic

◆ register_dtype() [2/2]

template<typename T , typename SFINAE >
static void npy_format_descriptor< T, SFINAE >::register_dtype ( any_container< field_descriptor fields)
inlinestatic

Member Data Documentation

◆ name

template<typename T , typename SFINAE >
static constexpr auto npy_format_descriptor< T, SFINAE >::name = make_caster<T>::name
staticconstexpr

Definition at line 1395 of file numpy.h.


The documentation for this struct was generated from the following files: