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 <pytypes.h>

Protected Types

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

Protected Member Functions

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

Private Attributes

ssize_t index
 
handle obj
 

Detailed Description

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

Definition at line 1121 of file pytypes.h.

Member Typedef Documentation

◆ iterator_category

using sequence_slow_readwrite::iterator_category = std::random_access_iterator_tag
protected

Definition at line 1123 of file pytypes.h.

◆ pointer

Definition at line 1126 of file pytypes.h.

◆ reference

Definition at line 1125 of file pytypes.h.

◆ value_type

Definition at line 1124 of file pytypes.h.

Constructor & Destructor Documentation

◆ sequence_slow_readwrite()

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

Definition at line 1128 of file pytypes.h.

Member Function Documentation

◆ advance()

void sequence_slow_readwrite::advance ( ssize_t  n)
inlineprotected

Definition at line 1133 of file pytypes.h.

◆ decrement()

void sequence_slow_readwrite::decrement ( )
inlineprotected

Definition at line 1132 of file pytypes.h.

◆ dereference()

reference sequence_slow_readwrite::dereference ( ) const
inlineprotected

Definition at line 1130 of file pytypes.h.

◆ distance_to()

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

Definition at line 1135 of file pytypes.h.

◆ equal()

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

Definition at line 1134 of file pytypes.h.

◆ increment()

void sequence_slow_readwrite::increment ( )
inlineprotected

Definition at line 1131 of file pytypes.h.

Member Data Documentation

◆ index

ssize_t sequence_slow_readwrite::index
private

Definition at line 1139 of file pytypes.h.

◆ obj

handle sequence_slow_readwrite::obj
private

Definition at line 1138 of file pytypes.h.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:41:06