μ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
list_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 774 of file pytypes.h.

Member Typedef Documentation

◆ key_type [1/2]

Definition at line 775 of file pytypes.h.

◆ key_type [2/2]

Definition at line 1040 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 list_item::get ( handle  obj,
const IdxType &  index 
)
inlinestatic

Definition at line 778 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 list_item::get ( handle  obj,
const IdxType &  index 
)
inlinestatic

Definition at line 1043 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 list_item::set ( handle  obj,
const IdxType &  index,
handle  val 
)
inlinestatic

Definition at line 787 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 list_item::set ( handle  obj,
const IdxType &  index,
handle  val 
)
inlinestatic

Definition at line 1052 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: