μHAL (v2.8.17)
Part of the IPbus software repository
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Protected Types | Protected Member Functions | Private Attributes | List of all members
sequence_slow_readwrite Class Reference

Full read and write access using the sequence protocol: see detail::sequence_accessor More...

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

Collaboration diagram for sequence_slow_readwrite:
[legend]

Protected Types

using iterator_category = std::random_access_iterator_tag
 
using value_type = object
 
using reference = sequence_accessor
 
using pointer = arrow_proxy< const sequence_accessor >
 
using iterator_category = std::random_access_iterator_tag
 
using value_type = object
 
using reference = sequence_accessor
 
using pointer = arrow_proxy< const sequence_accessor >
 

Protected Member Functions

 sequence_slow_readwrite (handle obj, ssize_t index)
 
reference dereference () const
 
void increment ()
 
void decrement ()
 
void advance (ssize_t n)
 
bool equal (const sequence_slow_readwrite &b) const
 
ssize_t distance_to (const sequence_slow_readwrite &b) const
 
 sequence_slow_readwrite (handle obj, ssize_t index)
 
reference dereference () const
 
void increment ()
 
void decrement ()
 
void advance (ssize_t n)
 
bool equal (const sequence_slow_readwrite &b) const
 
ssize_t distance_to (const sequence_slow_readwrite &b) const
 

Private Attributes

handle obj
 
ssize_t index
 

Detailed Description

Full read and write access using the sequence protocol: see detail::sequence_accessor

Definition at line 918 of file pytypes.h.

Member Typedef Documentation

◆ iterator_category [1/2]

using sequence_slow_readwrite::iterator_category = std::random_access_iterator_tag
protected

Definition at line 920 of file pytypes.h.

◆ iterator_category [2/2]

using sequence_slow_readwrite::iterator_category = std::random_access_iterator_tag
protected

Definition at line 1185 of file pytypes.h.

◆ pointer [1/2]

Definition at line 923 of file pytypes.h.

◆ pointer [2/2]

Definition at line 1188 of file pytypes.h.

◆ reference [1/2]

Definition at line 922 of file pytypes.h.

◆ reference [2/2]

Definition at line 1187 of file pytypes.h.

◆ value_type [1/2]

Definition at line 921 of file pytypes.h.

◆ value_type [2/2]

Definition at line 1186 of file pytypes.h.

Constructor & Destructor Documentation

◆ sequence_slow_readwrite() [1/2]

sequence_slow_readwrite::sequence_slow_readwrite ( handle  obj,
ssize_t  index 
)
inlineprotected

Definition at line 925 of file pytypes.h.

◆ sequence_slow_readwrite() [2/2]

sequence_slow_readwrite::sequence_slow_readwrite ( handle  obj,
ssize_t  index 
)
inlineprotected

Definition at line 1190 of file pytypes.h.

Member Function Documentation

◆ advance() [1/2]

void sequence_slow_readwrite::advance ( ssize_t  n)
inlineprotected

Definition at line 930 of file pytypes.h.

References index.

◆ advance() [2/2]

void sequence_slow_readwrite::advance ( ssize_t  n)
inlineprotected

Definition at line 1195 of file pytypes.h.

References index.

◆ decrement() [1/2]

void sequence_slow_readwrite::decrement ( )
inlineprotected

Definition at line 929 of file pytypes.h.

References index.

◆ decrement() [2/2]

void sequence_slow_readwrite::decrement ( )
inlineprotected

Definition at line 1194 of file pytypes.h.

References index.

◆ dereference() [1/2]

reference sequence_slow_readwrite::dereference ( ) const
inlineprotected

Definition at line 927 of file pytypes.h.

References index, and obj.

◆ dereference() [2/2]

reference sequence_slow_readwrite::dereference ( ) const
inlineprotected

Definition at line 1192 of file pytypes.h.

References index, and obj.

◆ distance_to() [1/2]

ssize_t sequence_slow_readwrite::distance_to ( const sequence_slow_readwrite b) const
inlineprotected

Definition at line 932 of file pytypes.h.

References index.

◆ distance_to() [2/2]

ssize_t sequence_slow_readwrite::distance_to ( const sequence_slow_readwrite b) const
inlineprotected

Definition at line 1197 of file pytypes.h.

References index.

◆ equal() [1/2]

bool sequence_slow_readwrite::equal ( const sequence_slow_readwrite b) const
inlineprotected

Definition at line 931 of file pytypes.h.

References index.

◆ equal() [2/2]

bool sequence_slow_readwrite::equal ( const sequence_slow_readwrite b) const
inlineprotected

Definition at line 1196 of file pytypes.h.

References index.

◆ increment() [1/2]

void sequence_slow_readwrite::increment ( )
inlineprotected

Definition at line 928 of file pytypes.h.

References index.

◆ increment() [2/2]

void sequence_slow_readwrite::increment ( )
inlineprotected

Definition at line 1193 of file pytypes.h.

References index.

Member Data Documentation

◆ index

ssize_t sequence_slow_readwrite::index
private

Definition at line 936 of file pytypes.h.

Referenced by advance(), decrement(), dereference(), distance_to(), equal(), and increment().

◆ obj

handle sequence_slow_readwrite::obj
private

Definition at line 935 of file pytypes.h.

Referenced by dereference().


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