μ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
sequence_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 753 of file pytypes.h.

Member Typedef Documentation

◆ key_type [1/2]

Definition at line 754 of file pytypes.h.

◆ key_type [2/2]

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

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

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

Definition at line 766 of file pytypes.h.

References 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 sequence_item::set ( handle  obj,
const IdxType &  index,
handle  val 
)
inlinestatic

Definition at line 1031 of file pytypes.h.

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


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