#include <array2d.h>
shttl::array2d< T, Allocator >::const_iteratorに対する継承グラフ
Public メソッド | |
const_iterator (const this_type *const a, const size_type r, const size_type c) | |
const_reference | operator * () |
bool | operator!= (const const_iterator &rhs) const |
const_iterator | operator+ (const size_type c) const |
const_iterator | operator- (const size_type c) const |
bool | operator== (const const_iterator &rhs) const |
const T & | operator[] (const size_type c) const |
shttl::array2d< T, Allocator >::const_iterator::const_iterator | ( | const this_type *const | a, | |
const size_type | r, | |||
const size_type | c | |||
) | [inline] |
const_reference shttl::array2d< T, Allocator >::const_iterator::operator * | ( | ) | [inline] |
参照先 shttl::array2d< T, Allocator >::_iterator_base::_c・shttl::array2d< T, Allocator >::_col_bit・shttl::array2d< T, Allocator >::_ptr・shttl::array2d< T, Allocator >::_iterator_base::_r・shttl::array2d< T, Allocator >::cols()・shttl::array2d< T, Allocator >::rows().
00201 { 00202 #ifdef SHTTL_DEBUG 00203 if (_r < 0 || _a->rows() < _r || 00204 _c < 0 || _a->cols() < _c 00205 ){ 00206 throw std::out_of_range("array2d::const_iterator::operator T*"); 00207 } 00208 #endif 00209 00210 return _a->_ptr[(_r << _a->_col_bit) + _c]; 00211 }
関数の呼び出しグラフ:
bool shttl::array2d< T, Allocator >::const_iterator::operator!= | ( | const const_iterator & | rhs | ) | const [inline] |
参照先 shttl::array2d< T, Allocator >::const_iterator::_a・Onikiri::operator!=().
00168 { 00169 return _iterator_base::operator!=(rhs) || _a != rhs._a; 00170 }
関数の呼び出しグラフ:
const_iterator shttl::array2d< T, Allocator >::const_iterator::operator+ | ( | const size_type | c | ) | const [inline] |
参照先 shttl::array2d< T, Allocator >::_iterator_base::_iterator_base().
00173 { 00174 const_iterator r = *this; 00175 return r._iterator_base.operator+=(c); 00176 }
関数の呼び出しグラフ:
const_iterator shttl::array2d< T, Allocator >::const_iterator::operator- | ( | const size_type | c | ) | const [inline] |
bool shttl::array2d< T, Allocator >::const_iterator::operator== | ( | const const_iterator & | rhs | ) | const [inline] |
参照先 shttl::array2d< T, Allocator >::const_iterator::_a・Onikiri::operator==().
00163 { 00164 return _iterator_base::operator==(rhs) && _a == rhs._a; 00165 }
関数の呼び出しグラフ:
const T& shttl::array2d< T, Allocator >::const_iterator::operator[] | ( | const size_type | c | ) | const [inline] |