μHAL (v2.8.17)
Part of the IPbus software repository
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Static Public Member Functions | List of all members
tuple_item Struct Reference

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

Public Types

using key_type = size_t
 
using key_type = size_t
 

Static Public Member Functions

template<typename IdxType , detail::enable_if_t< std::is_integral< IdxType >::value, int > = 0>
static object get (handle obj, const IdxType &index)
 
template<typename IdxType , detail::enable_if_t< std::is_integral< IdxType >::value, int > = 0>
static void set (handle obj, const IdxType &index, handle val)
 
template<typename IdxType , detail::enable_if_t< std::is_integral< IdxType >::value, int > = 0>
static object get (handle obj, const IdxType &index)
 
template<typename IdxType , detail::enable_if_t< std::is_integral< IdxType >::value, int > = 0>
static void set (handle obj, const IdxType &index, handle val)
 

Detailed Description

Definition at line 795 of file pytypes.h.

Member Typedef Documentation

◆ key_type [1/2]

Definition at line 796 of file pytypes.h.

◆ key_type [2/2]

Definition at line 1061 of file pytypes.h.

Member Function Documentation

◆ get() [1/2]

template<typename IdxType , detail::enable_if_t< std::is_integral< IdxType >::value, int > = 0>
static object tuple_item::get ( handle  obj,
const IdxType &  index 
)
inlinestatic

Definition at line 799 of file pytypes.h.

References handle::ptr(), and ssize_t_cast().

◆ get() [2/2]

template<typename IdxType , detail::enable_if_t< std::is_integral< IdxType >::value, int > = 0>
static object tuple_item::get ( handle  obj,
const IdxType &  index 
)
inlinestatic

Definition at line 1064 of file pytypes.h.

References handle::ptr(), and ssize_t_cast().

◆ set() [1/2]

template<typename IdxType , detail::enable_if_t< std::is_integral< IdxType >::value, int > = 0>
static void tuple_item::set ( handle  obj,
const IdxType &  index,
handle  val 
)
inlinestatic

Definition at line 808 of file pytypes.h.

References handle::inc_ref(), handle::ptr(), and ssize_t_cast().

◆ set() [2/2]

template<typename IdxType , detail::enable_if_t< std::is_integral< IdxType >::value, int > = 0>
static void tuple_item::set ( handle  obj,
const IdxType &  index,
handle  val 
)
inlinestatic

Definition at line 1073 of file pytypes.h.

References handle::inc_ref(), handle::ptr(), and ssize_t_cast().


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