HepMC3 event record library
Protected Types | Protected Member Functions | Private Attributes
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 value_type = handle
 
using reference = const handle
 
using pointer = arrow_proxy< const handle >
 

Protected Member Functions

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

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.


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