IForwardIterator<TValue> インターフェイス

定義

インクリメント演算子を使用して、前方方向でのみコンテナー内の要素にアクセスできる反復子のインターフェイス。 反復子が指す要素は、書き込みと読み取りの両方を何度でも実行できます。 前方反復子は、入力反復子または出力反復子が必要な任意の場所で使用できます。

generic <typename TValue>
public interface class IForwardIterator : Microsoft::VisualC::StlClr::Generic::IInputIterator<TValue>, Microsoft::VisualC::StlClr::Generic::IOutputIterator<TValue>
public interface IForwardIterator<TValue> : Microsoft.VisualC.StlClr.Generic.IInputIterator<TValue>, Microsoft.VisualC.StlClr.Generic.IOutputIterator<TValue>
type IForwardIterator<'Value> = interface
    interface IInputIterator<'Value>
    interface IOutputIterator<'Value>
Public Interface IForwardIterator(Of TValue)
Implements IInputIterator(Of TValue), IOutputIterator(Of TValue)

型パラメーター

TValue

被制御シーケンス内の要素の型。

派生
実装

メソッド

名前 説明
Clone()

現在のインスタンスのコピーである新しいオブジェクトを作成します。

(継承元 ICloneable)
container()

反復子が走査しているコンテナーを取得します。

(継承元 IBaseIterator<TValue>)
equal_to(IInputIterator<TValue>)

2 つの IInputIterator<TValue> オブジェクトが等しいかどうかを判断します。

(継承元 IInputIterator<TValue>)
get_bias()

反復子のバイアスを取得します。 バイアスは、要素 0 からの反復子のオフセットです。

(継承元 IBaseIterator<TValue>)
get_cref()

反復子が現在指している要素への定数参照を返します。

(継承元 IInputIterator<TValue>)
get_node()

反復子が指しているノード (または要素) を取得します。

(継承元 IBaseIterator<TValue>)
get_ref()

反復子が現在指している要素への参照を返します。

(継承元 IOutputIterator<TValue>)
next()

基になるコンテナー内の次の位置、またはコンテナーが完全に走査されている場合は、コンテナーの末尾を超える最初の位置まで反復子をインクリメントします。

(継承元 IBaseIterator<TValue>)
valid()

反復子が有効であり、基になるコンテナーを走査するために安全に使用できるかどうかを判断します。

(継承元 IBaseIterator<TValue>)

適用対象