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

An iterator accounting for a stride. More...

#include <Array.hpp>

Inherits qip::Comparison< StrideIterator< T > >.

Public Member Functions

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

Protected Attributes

T * m_ptr
 
long m_stride
 

Detailed Description

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

An iterator accounting for a stride.


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