ampsci
c++ program for high-precision atomic structure calculations of single-valence systems
Public Member Functions | Protected Attributes | List of all members
qip::ConstStrideIterator< T >

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

#include <Array.hpp>

Inherits qip::Comparison< 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: