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 1276 of file pytypes.h.

Member Typedef Documentation

◆ iterator_category

using sequence_slow_readwrite::iterator_category = std::random_access_iterator_tag
protected

Definition at line 1278 of file pytypes.h.

◆ pointer

Definition at line 1281 of file pytypes.h.

◆ reference

Definition at line 1280 of file pytypes.h.

◆ value_type

Definition at line 1279 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 1283 of file pytypes.h.

Member Function Documentation

◆ advance()

void sequence_slow_readwrite::advance ( ssize_t  n)
inlineprotected

Definition at line 1288 of file pytypes.h.

◆ decrement()

void sequence_slow_readwrite::decrement ( )
inlineprotected

Definition at line 1287 of file pytypes.h.

◆ dereference()

reference sequence_slow_readwrite::dereference ( ) const
inlineprotected

Definition at line 1285 of file pytypes.h.

◆ distance_to()

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

Definition at line 1290 of file pytypes.h.

◆ equal()

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

Definition at line 1289 of file pytypes.h.

◆ increment()

void sequence_slow_readwrite::increment ( )
inlineprotected

Definition at line 1286 of file pytypes.h.

Member Data Documentation

◆ index

ssize_t sequence_slow_readwrite::index
private

Definition at line 1294 of file pytypes.h.

◆ obj

handle sequence_slow_readwrite::obj
private

Definition at line 1293 of file pytypes.h.


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


gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:43:43