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

Member Typedef Documentation

using sequence_fast_readonly::iterator_category = std::random_access_iterator_tag
protected

Definition at line 670 of file pytypes.h.

Definition at line 673 of file pytypes.h.

using sequence_fast_readonly::reference = const handle
protected

Definition at line 672 of file pytypes.h.

Definition at line 671 of file pytypes.h.

Constructor & Destructor Documentation

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

Definition at line 675 of file pytypes.h.

Member Function Documentation

void sequence_fast_readonly::advance ( ssize_t  n)
inlineprotected

Definition at line 680 of file pytypes.h.

void sequence_fast_readonly::decrement ( )
inlineprotected

Definition at line 679 of file pytypes.h.

reference sequence_fast_readonly::dereference ( ) const
inlineprotected

Definition at line 677 of file pytypes.h.

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

Definition at line 682 of file pytypes.h.

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

Definition at line 681 of file pytypes.h.

void sequence_fast_readonly::increment ( )
inlineprotected

Definition at line 678 of file pytypes.h.

Member Data Documentation

PyObject** sequence_fast_readonly::ptr
private

Definition at line 685 of file pytypes.h.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:54