ConstReverseBidirectionalIterator<TValue> クラス

定義

方向を反転してコンテナーの要素にアクセスできる反復子を定義します。 前方の要素にアクセスする場合はデクリメント演算子を使用し、後方の要素にアクセスする場合はインクリメント演算子を使用します。 反復子が指す要素は変更できません。 定数反転双方向反復子は、定数反転入力反復子または定数反転出力反復子が必要な場所であればどこででも使用できます。

generic <typename TValue>
public ref class ConstReverseBidirectionalIterator : Microsoft::VisualC::StlClr::Generic::IBidirectionalIterator<TValue>
public class ConstReverseBidirectionalIterator<TValue> : Microsoft.VisualC.StlClr.Generic.IBidirectionalIterator<TValue>
type ConstReverseBidirectionalIterator<'Value> = class
    interface IBidirectionalIterator<'Value>
Public Class ConstReverseBidirectionalIterator(Of TValue)
Implements IBidirectionalIterator(Of TValue)

型パラメーター

TValue

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

継承
ConstReverseBidirectionalIterator<TValue>
実装

注釈

いくつかのメソッド (特に演算子など) では、パラメーター名を特定せずに、パラメーターの型を宣言します。 このようなパラメーターを、無名パラメーターと呼びます。 これらのメソッドのドキュメントでは、 A_0 プレースホルダーは名前のないパラメーターを表します。

コンストラクター

ConstReverseBidirectionalIterator<TValue>()

新しい ConstReverseBidirectionalIterator<TValue> オブジェクトを割り当て、初期化します。

ConstReverseBidirectionalIterator<TValue>(ConstReverseBidirectionalIterator<TValue>)

既存の ConstReverseBidirectionalIterator<TValue> オブジェクトから、新しい ConstReverseBidirectionalIterator<TValue> オブジェクトを割り当て、初期化します。

ConstReverseBidirectionalIterator<TValue>(IBidirectionalIterator<TValue>)

既存の ConstReverseBidirectionalIterator<TValue> オブジェクトから、新しい IBidirectionalIterator<TValue> オブジェクトを割り当て、初期化します。

ConstReverseBidirectionalIterator<TValue>(ReverseBidirectionalIterator<TValue>)

既存の ConstReverseBidirectionalIterator<TValue> オブジェクトから、新しい ReverseBidirectionalIterator<TValue> オブジェクトを割り当て、初期化します。

メソッド

base()

ConstReverseBidirectionalIterator<TValue> オブジェクトの基になる基本反復子を取得します。

Clone()

現在の ConstReverseBidirectionalIterator<TValue> オブジェクトのコピーを返します。

container()

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

equal_to(ConstReverseBidirectionalIterator<TValue>)

指定の ConstReverseBidirectionalIterator<TValue> オブジェクトが現在の ConstReverseBidirectionalIterator<TValue> オブジェクトと同じかどうかを判断します。

equal_to(IInputIterator<TValue>)

指定の IInputIterator<TValue> オブジェクトが現在の ConstReverseBidirectionalIterator<TValue> オブジェクトと同じかどうかを判断します。

Equals(Object)

指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
get_bias()

反復子のバイアスを取得します。 バイアスとは、要素ゼロを基準とした反復子のオフセットです。

get_cref()

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

get_node()

反復子が指しているノード、つまり要素を取得します。

get_ref()

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

GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
MemberwiseClone()

現在の Object の簡易コピーを作成します。

(継承元 Object)
next()

基になるコンテナー内の前の位置に反復子をデクリメントします。コンテナーの走査が完了した場合は、コンテナーの先頭の前にある最初の位置にデクリメントします。

prev()

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

ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)
valid()

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

演算子

Assign(ConstReverseBidirectionalIterator<TValue>)

指定の ConstReverseBidirectionalIterator<TValue> オブジェクトを現在のオブジェクトに代入します。

Assign(ReverseBidirectionalIterator<TValue>)

指定の ReverseBidirectionalIterator<TValue> オブジェクトを現在のオブジェクトに代入します。

Decrement(ConstReverseBidirectionalIterator<TValue>)

1 要素ずつ反復子をデクリメントします。 逆順反復子をデクリメントする操作は、通常の反復子をインクリメントする操作と同じです。 これは前置バージョンのデクリメント演算子です。

Decrement(Int32, Int32)

1 要素ずつ反復子をデクリメントします。 逆順反復子をデクリメントする操作は、通常の反復子をインクリメントする操作と同じです。 これは、後置バージョンのデクリメント演算子です。

Equality(ConstReverseBidirectionalIterator<TValue>)

指定の ConstReverseBidirectionalIterator<TValue> オブジェクトが現在の ConstReverseBidirectionalIterator<TValue> オブジェクトと同じかどうかを判断します。

Equality(IInputIterator<TValue>)

指定の IInputIterator<TValue> オブジェクトが現在の ConstReverseBidirectionalIterator<TValue> オブジェクトと同じかどうかを判断します。

Implicit

ConstReverseBidirectionalIterator<TValue>IBidirectionalIterator<TValue> に変換します。

Increment(ConstReverseBidirectionalIterator<TValue>)

1 要素ずつ反復子をインクリメントします。 逆順反復子をインクリメントする操作は、通常の反復子をデクリメントする操作と同じです。 これは前置バージョンのインクリメント演算子です。

Increment(Int32, Int32)

1 要素ずつ反復子をインクリメントします。 逆順反復子をインクリメントする操作は、通常の反復子をデクリメントする操作と同じです。 これは、後置バージョンのインクリメント演算子です。

Inequality(ConstReverseBidirectionalIterator<TValue>)

指定の ConstReverseBidirectionalIterator<TValue> オブジェクトが現在の ConstReverseBidirectionalIterator<TValue> オブジェクトと異なるかどうかを判断します。

Inequality(IInputIterator<TValue>)

指定の IInputIterator<TValue> オブジェクトが現在の ConstReverseBidirectionalIterator<TValue> オブジェクトと異なるかどうかを判断します。

MemberSelection(ConstReverseBidirectionalIterator<TValue>)

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

PointerDereference(ConstReverseBidirectionalIterator<TValue>)

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

適用対象