Protected Types | Protected Member Functions | Private Attributes | List of all members
sequence_fast_readonly Class Reference

Lightweight iterator policy using just a simple pointer: see PySequence_Fast_ITEMS More...

#include <pytypes.h>

Protected Types

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

Protected Member Functions

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

Private Attributes

PyObject ** ptr
 

Detailed Description

Lightweight iterator policy using just a simple pointer: see PySequence_Fast_ITEMS

Definition at line 1254 of file pytypes.h.

Member Typedef Documentation

◆ iterator_category

using sequence_fast_readonly::iterator_category = std::random_access_iterator_tag
protected

Definition at line 1256 of file pytypes.h.

◆ pointer

Definition at line 1259 of file pytypes.h.

◆ reference

using sequence_fast_readonly::reference = const handle
protected

Definition at line 1258 of file pytypes.h.

◆ value_type

Definition at line 1257 of file pytypes.h.

Constructor & Destructor Documentation

◆ sequence_fast_readonly()

sequence_fast_readonly::sequence_fast_readonly ( handle  obj,
ssize_t  n 
)
inlineprotected

Definition at line 1261 of file pytypes.h.

Member Function Documentation

◆ advance()

void sequence_fast_readonly::advance ( ssize_t  n)
inlineprotected

Definition at line 1267 of file pytypes.h.

◆ decrement()

void sequence_fast_readonly::decrement ( )
inlineprotected

Definition at line 1266 of file pytypes.h.

◆ dereference()

reference sequence_fast_readonly::dereference ( ) const
inlineprotected

Definition at line 1264 of file pytypes.h.

◆ distance_to()

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

Definition at line 1269 of file pytypes.h.

◆ equal()

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

Definition at line 1268 of file pytypes.h.

◆ increment()

void sequence_fast_readonly::increment ( )
inlineprotected

Definition at line 1265 of file pytypes.h.

Member Data Documentation

◆ ptr

PyObject** sequence_fast_readonly::ptr
private

Definition at line 1272 of file pytypes.h.


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


gtsam
Author(s):
autogenerated on Thu Dec 19 2024 04:08:57