#include <array2d.h>
shttl::array2d< T, Allocator >::iteratorに対する継承グラフ
Public メソッド | |
iterator (this_type *const a, const size_type r, const size_type c) | |
T & | operator * () |
iterator | operator+ (const size_type c) const |
iterator & | operator++ (int) |
iterator & | operator++ () |
iterator & | operator+= (const size_type c) |
iterator | operator- (const size_type c) const |
iterator & | operator-- (int) |
iterator & | operator-- () |
iterator & | operator-= (const size_type c) |
T & | operator[] (const size_type c) |
shttl::array2d< T, Allocator >::iterator::iterator | ( | this_type *const | a, | |
const size_type | r, | |||
const size_type | c | |||
) | [inline] |
T& shttl::array2d< T, Allocator >::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().
00307 { 00308 #ifdef SHTTL_DEBUG 00309 if (_r < 0 || _a->rows() < _r || 00310 _c < 0 || _a->cols() < _c 00311 ){ 00312 throw std::out_of_range("array2d::const_iterator::operator T*"); 00313 } 00314 #endif 00315 00316 return _a->_ptr[(_r << _a->_col_bit) + _c]; 00317 }
関数の呼び出しグラフ:
iterator shttl::array2d< T, Allocator >::iterator::operator+ | ( | const size_type | c | ) | const [inline] |
iterator& shttl::array2d< T, Allocator >::iterator::operator++ | ( | int | ) | [inline] |
iterator& shttl::array2d< T, Allocator >::iterator::operator++ | ( | ) | [inline] |
iterator& shttl::array2d< T, Allocator >::iterator::operator+= | ( | const size_type | c | ) | [inline] |
shttl::array2d< T, Allocator >::_iterator_baseを再定義しています。
参照先 shttl::array2d< T, Allocator >::_iterator_base::operator+=().
00253 { 00254 this->_iterator_base::operator+=(c); 00255 return *this; 00256 }
関数の呼び出しグラフ:
iterator shttl::array2d< T, Allocator >::iterator::operator- | ( | const size_type | c | ) | const [inline] |
iterator& shttl::array2d< T, Allocator >::iterator::operator-- | ( | int | ) | [inline] |
iterator& shttl::array2d< T, Allocator >::iterator::operator-- | ( | ) | [inline] |
iterator& shttl::array2d< T, Allocator >::iterator::operator-= | ( | const size_type | c | ) | [inline] |
shttl::array2d< T, Allocator >::_iterator_baseを再定義しています。
参照先 shttl::array2d< T, Allocator >::_iterator_base::operator-=().
00259 { 00260 this->_iterator_base::operator-=(c); 00261 return *this; 00262 }
関数の呼び出しグラフ:
T& shttl::array2d< T, Allocator >::iterator::operator[] | ( | const size_type | c | ) | [inline] |