blitz Version 0.9
|
#include <veciter.h>
Public Types | |
typedef P_numtype | T_numtype |
Public Member Functions | |
VectorIterConst (const Vector< P_numtype > &x) | |
P_numtype | operator[] (int i) const |
P_numtype | operator() (int i) const |
int | length (int) const |
bool | isUnitStride () const |
bool | _bz_hasFastAccess () const |
P_numtype | _bz_fastAccess (int i) const |
int | _bz_suggestLength () const |
Public Attributes | |
static const int | _bz_dynamicLengthCount = 1 |
static const int | _bz_staticLength = 0 |
Static Public Attributes | |
static const int | _bz_staticLengthCount = 0 |
Private Attributes | |
const P_numtype *restrict | data_ |
int | stride_ |
int | length_ |
typedef P_numtype VectorIterConst< P_numtype >::T_numtype |
VectorIterConst< P_numtype >::VectorIterConst | ( | const Vector< P_numtype > & | x | ) | [inline, explicit] |
P_numtype VectorIterConst< P_numtype >::_bz_fastAccess | ( | int | i | ) | const [inline] |
References VectorIterConst< P_numtype >::data_, and i.
bool VectorIterConst< P_numtype >::_bz_hasFastAccess | ( | ) | const [inline] |
References VectorIterConst< P_numtype >::isUnitStride().
int VectorIterConst< P_numtype >::_bz_suggestLength | ( | ) | const [inline] |
References VectorIterConst< P_numtype >::length_.
bool VectorIterConst< P_numtype >::isUnitStride | ( | ) | const [inline] |
References VectorIterConst< P_numtype >::stride_.
Referenced by VectorIterConst< P_numtype >::_bz_hasFastAccess().
int VectorIterConst< P_numtype >::length | ( | int | ) | const [inline] |
References VectorIterConst< P_numtype >::length_.
P_numtype VectorIterConst< P_numtype >::operator() | ( | int | i | ) | const [inline] |
P_numtype VectorIterConst< P_numtype >::operator[] | ( | int | i | ) | const [inline] |
const int VectorIterConst< P_numtype >::_bz_dynamicLengthCount = 1 |
const int VectorIterConst< P_numtype >::_bz_staticLength = 0 |
const int VectorIterConst< P_numtype >::_bz_staticLengthCount = 0 [static] |
const P_numtype* restrict VectorIterConst< P_numtype >::data_ [private] |
int VectorIterConst< P_numtype >::length_ [private] |
int VectorIterConst< P_numtype >::stride_ [private] |