Common Library
0.9.5
|
添字演算用関数オブジェクト(indexer)を利用した反復子 (indexer_iterator::Base_からの派生) [詳解]
公開メンバ関数 | |
Normal () | |
デフォルト・コンストラクタ [詳解] | |
Normal (Container &container, Indexer indexer) | |
対象のコンテナ Container と添字計算用関数オブジェクト Indexer を指定して構築 [詳解] | |
Normal (const Base< Value, Container, Value *, Value &, Indexer > &it) | |
indexer_iterator::Base からのコピー・コンストラクタ [詳解] | |
Normal | end () const |
末尾の次の反復子を返す [詳解] | |
Normal & | operator++ () |
インクリメント演算子(前置演算子) [詳解] | |
Normal | operator++ (int) |
インクリメント演算子(後置演算子) [詳解] | |
Normal & | operator-- () |
デクリメント演算子(前置演算子) [詳解] | |
Normal | operator-- (int) |
デクリメント演算子(後置演算子) [詳解] | |
Normal & | operator+= (typename base_iterator::difference_type i) |
加算・代入演算子 [詳解] | |
Normal & | operator-= (typename base_iterator::difference_type i) |
減算・代入演算子 [詳解] | |
![]() | |
Base () | |
デフォルト・コンストラクタ [詳解] | |
Base (Container &container, Indexer indexer) | |
対象のコンテナ Container と添字計算用関数オブジェクト Indexer を指定して構築 [詳解] | |
reference | operator[] (difference_type i) |
指定した添字の値への参照を返す(添字演算子) [詳解] | |
reference | at (difference_type i) |
指定した添字の値への参照を返す(範囲チェック付き) [詳解] | |
reference | at () const |
現在位置の値への参照を返す(範囲チェック付き) [詳解] | |
reference | operator* () const |
現在位置の値への参照を返す(参照演算子) [詳解] | |
pointer | operator-> () const |
ポインタ演算子 [詳解] | |
pointer | pointTo () const |
ポインタ演算子(範囲チェック付き) [詳解] | |
bool | operator== (const Base &p) const |
等号演算子 [詳解] | |
bool | operator!= (const Base &p) const |
不等号演算子 [詳解] | |
bool | operator< (const Base &p) const |
比較演算子(より小さい) [詳解] | |
bool | operator> (const Base &p) const |
比較演算子(より大きい) [詳解] | |
bool | operator<= (const Base &p) const |
比較演算子(以下) [詳解] | |
bool | operator>= (const Base &p) const |
比較演算子(以上) [詳解] | |
difference_type | operator- (const Base &p) const |
二つの反復子間の距離を返す [詳解] | |
その他の継承メンバ | |
![]() | |
using | value_type = typename Container::value_type |
要素の値の型 | |
using | difference_type = std::ptrdiff_t |
反復子どうしの距離の型 | |
using | size_type = size_t |
サイズの型 | |
using | pointer = typename Container::value_type * |
ポインタの型 | |
using | reference = typename Container::value_type & |
参照の型 | |
![]() | |
~Base () | |
デストラクタ [詳解] | |
![]() | |
Container * | container_ |
対象のコンテナ | |
Indexer | indexer_ |
添字計算用関数オブジェクト | |
difference_type | ci_ |
現在位置 | |
添字演算用関数オブジェクト(indexer)を利用した反復子 (indexer_iterator::Base_からの派生)
コンテナやランダム・アクセス反復子の添字演算子を利用して反復処理を行うための反復子。 コンテナはランダム・アクセス反復子を持つことを前提としている( コンテナの添字反復子 ( operator[] ) を利用する )。
実体は indexer_iterator::Base のテンプレート引数 Pointer と Reference を、 コンテナの要素に対するポインタ・参照としたものである。
Indexer として indexer::Slice または indexer::SymMat の利用を想定している。
|
inline |
デフォルト・コンストラクタ
コンテナへの参照はないため、このまま利用することはできない。
|
inline |
対象のコンテナ Container と添字計算用関数オブジェクト Indexer を指定して構築
container | 対象のコンテナへの参照(Container) |
indexer | 添字計算用関数オブジェクト(Indexer) |
|
inlineexplicit |
indexer_iterator::Base からのコピー・コンストラクタ
it | 対象の base_indexer_iterator |
|
inline |
末尾の次の反復子を返す
|
inline |
インクリメント演算子(前置演算子)
|
inline |
インクリメント演算子(後置演算子)
|
inline |
デクリメント演算子(前置演算子)
|
inline |
デクリメント演算子(後置演算子)
|
inline |
加算・代入演算子
i | 加算数 |
|
inline |
減算・代入演算子
i | 減算数 |