IBaseIterator<TValue> インターフェイス
定義
すべての STL/CLR 反復子のための基本インターフェイスを定義します。Defines the base interface for all STL/CLR iterators.
generic <typename TValue>
public interface class IBaseIterator : ICloneable
public interface IBaseIterator<TValue> : ICloneable
type IBaseIterator<'Value> = interface
interface ICloneable
Public Interface IBaseIterator(Of TValue)
Implements ICloneable
型パラメーター
- TValue
被制御シーケンス内の要素の型。The type of an element in the controlled sequence.
- 派生
- 実装
メソッド
Clone() |
現在のインスタンスのコピーである新しいオブジェクトを作成します。Creates a new object that is a copy of the current instance. (継承元 ICloneable) |
container() |
反復子が走査するコンテナーを取得します。Gets the container that the iterator is traversing. |
get_bias() |
反復子のバイアスを取得します。Gets the bias of the iterator. バイアスとは、要素ゼロを基準とした反復子のオフセットです。The bias is the offset of the iterator from element zero. |
get_node() |
反復子が指しているノード、つまり要素を取得します。Gets the node, or element, that the iterator is pointing to. |
next() |
基になるコンテナー内の次の位置に反復子をインクリメントします。コンテナーの走査が完了した場合は、コンテナーの末尾を越えた最初の位置にインクリメントします。Increments the iterator to the next position in the underlying container, or to the first position beyond the end of container if the container has been completely traversed. |
valid() |
反復子が有効で、基になるコンテナーの走査のために安全に使用できるかどうかを判断します。Determines whether the iterator is valid and can be safely used to traverse the underlying container. |