gsl::vector_iterator Class Reference

#include <mia/core/gsl_iterator.hh>

Public Types

typedef size_t difference_type
 
typedef double * pointer
 
typedef double & reference
 
typedef double value_type
 

Public Member Functions

bool operator!= (const vector_iterator &other) const
 
double & operator* ()
 
vector_iteratoroperator++ ()
 
vector_iterator operator++ (int)
 
vector_iteratoroperator+= (int dist)
 
difference_type operator- (const vector_iterator &other)
 
vector_iteratoroperator-- ()
 
vector_iterator operator-- (int)
 
vector_iteratoroperator-= (int dist)
 
double * operator-> ()
 
bool operator< (const vector_iterator &other) const
 
bool operator<= (const vector_iterator &other) const
 
bool operator== (const vector_iterator &other) const
 
bool operator> (const vector_iterator &other) const
 
bool operator>= (const vector_iterator &other) const
 
double & operator[] (int idx)
 
 vector_iterator (double *base, int stride)
 
 vector_iterator (const vector_iterator &other)=default
 
 vector_iterator ()
 

Friends

class const_vector_iterator
 

Detailed Description

Definition at line 30 of file gsl_iterator.hh.

Member Typedef Documentation

◆ difference_type

Definition at line 35 of file gsl_iterator.hh.

◆ pointer

Definition at line 33 of file gsl_iterator.hh.

◆ reference

Definition at line 34 of file gsl_iterator.hh.

◆ value_type

Definition at line 32 of file gsl_iterator.hh.

Constructor & Destructor Documentation

◆ vector_iterator() [1/3]

gsl::vector_iterator::vector_iterator ( double *  base,
int  stride 
)
inline

Definition at line 37 of file gsl_iterator.hh.

References vector_iterator().

◆ vector_iterator() [2/3]

gsl::vector_iterator::vector_iterator ( const vector_iterator other)
default

◆ vector_iterator() [3/3]

gsl::vector_iterator::vector_iterator ( )
inline

Definition at line 41 of file gsl_iterator.hh.

Referenced by vector_iterator().

Member Function Documentation

◆ operator!=()

bool gsl::vector_iterator::operator!= ( const vector_iterator other) const
inline

Definition at line 98 of file gsl_iterator.hh.

◆ operator*()

double& gsl::vector_iterator::operator* ( )
inline

Definition at line 43 of file gsl_iterator.hh.

◆ operator++() [1/2]

vector_iterator& gsl::vector_iterator::operator++ ( )
inline

Definition at line 51 of file gsl_iterator.hh.

◆ operator++() [2/2]

vector_iterator gsl::vector_iterator::operator++ ( int  )
inline

Definition at line 56 of file gsl_iterator.hh.

◆ operator+=()

vector_iterator& gsl::vector_iterator::operator+= ( int  dist)
inline

Definition at line 74 of file gsl_iterator.hh.

◆ operator-()

difference_type gsl::vector_iterator::operator- ( const vector_iterator other)
inline

Definition at line 88 of file gsl_iterator.hh.

◆ operator--() [1/2]

vector_iterator& gsl::vector_iterator::operator-- ( )
inline

Definition at line 63 of file gsl_iterator.hh.

◆ operator--() [2/2]

vector_iterator gsl::vector_iterator::operator-- ( int  )
inline

Definition at line 68 of file gsl_iterator.hh.

◆ operator-=()

vector_iterator& gsl::vector_iterator::operator-= ( int  dist)
inline

Definition at line 79 of file gsl_iterator.hh.

◆ operator->()

double* gsl::vector_iterator::operator-> ( )
inline

Definition at line 47 of file gsl_iterator.hh.

◆ operator<()

bool gsl::vector_iterator::operator< ( const vector_iterator other) const
inline

Definition at line 103 of file gsl_iterator.hh.

◆ operator<=()

bool gsl::vector_iterator::operator<= ( const vector_iterator other) const
inline

Definition at line 108 of file gsl_iterator.hh.

◆ operator==()

bool gsl::vector_iterator::operator== ( const vector_iterator other) const
inline

Definition at line 93 of file gsl_iterator.hh.

◆ operator>()

bool gsl::vector_iterator::operator> ( const vector_iterator other) const
inline

Definition at line 113 of file gsl_iterator.hh.

◆ operator>=()

bool gsl::vector_iterator::operator>= ( const vector_iterator other) const
inline

Definition at line 118 of file gsl_iterator.hh.

◆ operator[]()

double& gsl::vector_iterator::operator[] ( int  idx)
inline

Definition at line 84 of file gsl_iterator.hh.

Friends And Related Function Documentation

◆ const_vector_iterator

friend class const_vector_iterator
friend

Definition at line 124 of file gsl_iterator.hh.

Referenced by gsl::const_vector_iterator::const_vector_iterator().


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