ampsci
High-precision calculations for one- and two-valence atomic systems
Loading...
Searching...
No Matches
qip::ConstStrideIterator< T >

A constant iterator accounting for a stride. More...

#include <Array.hpp>

+ Inheritance diagram for qip::ConstStrideIterator< T >:

Public Member Functions

 ConstStrideIterator (T *ptr, long stride)
 
const T & operator* () const
 
bool operator== (const ConstStrideIterator &other) const
 
bool operator< (const ConstStrideIterator &other) const
 
ConstStrideIteratoroperator++ ()
 
ConstStrideIteratoroperator-- ()
 
ConstStrideIterator operator++ (int)
 
ConstStrideIterator operator-- (int)
 
ConstStrideIteratoroperator+= (long n)
 
ConstStrideIteratoroperator-= (long n)
 
ConstStrideIterator operator+ (long n) const
 
ConstStrideIterator operator- (long n) const
 

Protected Attributes

T * m_ptr
 
long m_stride
 

Detailed Description

template<typename T>
class qip::ConstStrideIterator< T >

A constant iterator accounting for a stride.


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