blitz Version 0.9
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes
VectorIterConst< P_numtype > Class Template Reference

#include <veciter.h>

List of all members.

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_

template<typename P_numtype>
class VectorIterConst< P_numtype >


Member Typedef Documentation

template<typename P_numtype>
typedef P_numtype VectorIterConst< P_numtype >::T_numtype

Constructor & Destructor Documentation

template<typename P_numtype>
VectorIterConst< P_numtype >::VectorIterConst ( const Vector< P_numtype > &  x) [inline, explicit]

Member Function Documentation

template<typename P_numtype>
P_numtype VectorIterConst< P_numtype >::_bz_fastAccess ( int  i) const [inline]
template<typename P_numtype>
bool VectorIterConst< P_numtype >::_bz_hasFastAccess ( ) const [inline]
template<typename P_numtype>
int VectorIterConst< P_numtype >::_bz_suggestLength ( ) const [inline]
template<typename P_numtype>
bool VectorIterConst< P_numtype >::isUnitStride ( ) const [inline]
template<typename P_numtype>
int VectorIterConst< P_numtype >::length ( int  ) const [inline]
template<typename P_numtype>
P_numtype VectorIterConst< P_numtype >::operator() ( int  i) const [inline]
template<typename P_numtype>
P_numtype VectorIterConst< P_numtype >::operator[] ( int  i) const [inline]

Member Data Documentation

template<typename P_numtype>
const int VectorIterConst< P_numtype >::_bz_dynamicLengthCount = 1
template<typename P_numtype>
const int VectorIterConst< P_numtype >::_bz_staticLength = 0
template<typename P_numtype>
const int VectorIterConst< P_numtype >::_bz_staticLengthCount = 0 [static]
template<typename P_numtype>
const P_numtype* restrict VectorIterConst< P_numtype >::data_ [private]
template<typename P_numtype>
int VectorIterConst< P_numtype >::length_ [private]
template<typename P_numtype>
int VectorIterConst< P_numtype >::stride_ [private]

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines