ConstReverseRandomAccessIterator<TValue> ConstReverseRandomAccessIterator<TValue> ConstReverseRandomAccessIterator<TValue> ConstReverseRandomAccessIterator<TValue> Class

Definition

Provides an iterator that supports the following operations: moving forward one position by calling operator--, moving backward one position by calling operator++, accessing an element by using operator[], and accessing an element by using pointer arithmetic. The element accessed by the iterator cannot be modified.

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

Type Parameters

TValue

The type of an element in the controlled sequence.

Inheritance
ConstReverseRandomAccessIterator<TValue>ConstReverseRandomAccessIterator<TValue>ConstReverseRandomAccessIterator<TValue>ConstReverseRandomAccessIterator<TValue>
Implements

Remarks

Some methods, especially operators, declare a type for a parameter but do not specify a parameter name. Such a parameter is known as an unnamed parameter. In the documentation for these methods, the __unnamed0 placeholder represents the unnamed parameter.

Constructors

ConstReverseRandomAccessIterator<TValue>() ConstReverseRandomAccessIterator<TValue>() ConstReverseRandomAccessIterator<TValue>() ConstReverseRandomAccessIterator<TValue>()

Allocates and initializes a new ConstReverseRandomAccessIterator<TValue> object.

ConstReverseRandomAccessIterator<TValue>(ConstReverseRandomAccessIterator<TValue>) ConstReverseRandomAccessIterator<TValue>(ConstReverseRandomAccessIterator<TValue>) ConstReverseRandomAccessIterator<TValue>(ConstReverseRandomAccessIterator<TValue>) ConstReverseRandomAccessIterator<TValue>(ConstReverseRandomAccessIterator<TValue>)

Allocates and initializes a new ConstReverseRandomAccessIterator<TValue> object from an existing ConstReverseRandomAccessIterator<TValue> object.

ConstReverseRandomAccessIterator<TValue>(IRandomAccessIterator<TValue>) ConstReverseRandomAccessIterator<TValue>(IRandomAccessIterator<TValue>) ConstReverseRandomAccessIterator<TValue>(IRandomAccessIterator<TValue>) ConstReverseRandomAccessIterator<TValue>(IRandomAccessIterator<TValue>)

Allocates and initializes a new ConstReverseRandomAccessIterator<TValue> object from an existing IRandomAccessIterator<TValue> object.

ConstReverseRandomAccessIterator<TValue>(ReverseRandomAccessIterator<TValue>) ConstReverseRandomAccessIterator<TValue>(ReverseRandomAccessIterator<TValue>) ConstReverseRandomAccessIterator<TValue>(ReverseRandomAccessIterator<TValue>) ConstReverseRandomAccessIterator<TValue>(ReverseRandomAccessIterator<TValue>)

Allocates and initializes a new ConstReverseRandomAccessIterator<TValue> object from an existing ReverseRandomAccessIterator<TValue> object.

Properties

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Accesses the element at the given position in the container.

Methods

base() base() base() base()

Gets the underlying base iterator for the ConstReverseRandomAccessIterator<TValue> object.

Clone() Clone() Clone() Clone()

Creates a copy of the current ConstReverseRandomAccessIterator<TValue> object.

container() container() container() container()

Gets the container that the iterator is traversing.

distance(ConstReverseRandomAccessIterator<TValue>) distance(ConstReverseRandomAccessIterator<TValue>) distance(ConstReverseRandomAccessIterator<TValue>) distance(ConstReverseRandomAccessIterator<TValue>)

Determines the distance between the element that the current iterator is pointing to and the element that the given iterator is pointing to.

distance(IRandomAccessIterator<TValue>) distance(IRandomAccessIterator<TValue>) distance(IRandomAccessIterator<TValue>) distance(IRandomAccessIterator<TValue>)

Determines the distance between the element that the current iterator is pointing to and the element that the given iterator is pointing to.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
equal_to(ConstReverseRandomAccessIterator<TValue>) equal_to(ConstReverseRandomAccessIterator<TValue>) equal_to(ConstReverseRandomAccessIterator<TValue>) equal_to(ConstReverseRandomAccessIterator<TValue>)

Determines whether the given ConstReverseRandomAccessIterator<TValue> object is the same as the current ConstReverseRandomAccessIterator<TValue> object.

equal_to(IInputIterator<TValue>) equal_to(IInputIterator<TValue>) equal_to(IInputIterator<TValue>) equal_to(IInputIterator<TValue>)

Determines whether the given IInputIterator<TValue> object is the same as the current ConstReverseRandomAccessIterator<TValue> object.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
get_bias() get_bias() get_bias() get_bias()

Gets the bias of the iterator. The bias is the offset of the iterator from element zero.

get_cref() get_cref() get_cref() get_cref()

Returns a constant reference to the element that the iterator is currently pointing to.

get_node() get_node() get_node() get_node()

Gets the node, or element, that the iterator is pointing to.

get_ref() get_ref() get_ref() get_ref()

Returns a reference to the element that the iterator is currently pointing to.

less_than(ConstReverseRandomAccessIterator<TValue>) less_than(ConstReverseRandomAccessIterator<TValue>) less_than(ConstReverseRandomAccessIterator<TValue>) less_than(ConstReverseRandomAccessIterator<TValue>)

Determines whether the current iterator is pointing to an element in the container that is before the element that the given iterator points to.

less_than(IRandomAccessIterator<TValue>) less_than(IRandomAccessIterator<TValue>) less_than(IRandomAccessIterator<TValue>) less_than(IRandomAccessIterator<TValue>)

Determines whether the current iterator is pointing to an element in the container that is before the element that the given iterator points to.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
move(Int32) move(Int32) move(Int32) move(Int32)

Moves the iterator by the given number of elements.

next() next() next() next()

Increments the reverse iterator to the next position in the underlying container, or to the first position in front of the beginning of container if the container has been completely traversed.

prev() prev() prev() prev()

Positions the iterator to the element immediately after the current element.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
valid() valid() valid() valid()

Determines whether the iterator is valid and can be safely used to traverse the underlying container.

Operators

Addition(ConstReverseRandomAccessIterator<TValue>, Int32) Addition(ConstReverseRandomAccessIterator<TValue>, Int32) Addition(ConstReverseRandomAccessIterator<TValue>, Int32) Addition(ConstReverseRandomAccessIterator<TValue>, Int32)

Increments the reverse iterator by the given number of elements. The integer parameter is specified on the right side of the addition operator.

Addition(ConstReverseRandomAccessIterator<TValue>, Int32, ConstReverseRandomAccessIterator<TValue>) Addition(ConstReverseRandomAccessIterator<TValue>, Int32, ConstReverseRandomAccessIterator<TValue>) Addition(ConstReverseRandomAccessIterator<TValue>, Int32, ConstReverseRandomAccessIterator<TValue>) Addition(ConstReverseRandomAccessIterator<TValue>, Int32, ConstReverseRandomAccessIterator<TValue>)

Increments the reverse iterator by the given number of elements. The integer parameter is specified on the left side of the addition operator.

Assign(ConstReverseRandomAccessIterator<TValue>) Assign(ConstReverseRandomAccessIterator<TValue>) Assign(ConstReverseRandomAccessIterator<TValue>) Assign(ConstReverseRandomAccessIterator<TValue>)

Assigns the given ConstReverseRandomAccessIterator<TValue> object to the current object.

Assign(ReverseRandomAccessIterator<TValue>) Assign(ReverseRandomAccessIterator<TValue>) Assign(ReverseRandomAccessIterator<TValue>) Assign(ReverseRandomAccessIterator<TValue>)

Assigns the given ReverseRandomAccessIterator<TValue> object to the current object.

Decrement(ConstReverseRandomAccessIterator<TValue>) Decrement(ConstReverseRandomAccessIterator<TValue>) Decrement(ConstReverseRandomAccessIterator<TValue>) Decrement(ConstReverseRandomAccessIterator<TValue>)

Decrements the reverse iterator by one element. This is the prefix version of the decrement operator.

Decrement(Int32, Int32) Decrement(Int32, Int32) Decrement(Int32, Int32) Decrement(Int32, Int32)

Decrements the reverse iterator by one element. This is the postfix version of the decrement operator.

Equality(ConstReverseRandomAccessIterator<TValue>) Equality(ConstReverseRandomAccessIterator<TValue>) Equality(ConstReverseRandomAccessIterator<TValue>) Equality(ConstReverseRandomAccessIterator<TValue>)

Determines whether two iterators are the same object.

GreaterThan(ConstReverseRandomAccessIterator<TValue>) GreaterThan(ConstReverseRandomAccessIterator<TValue>) GreaterThan(ConstReverseRandomAccessIterator<TValue>) GreaterThan(ConstReverseRandomAccessIterator<TValue>)

Determines whether the position of the left-side iterator is greater than the position of the given right-side iterator.

GreaterThanOrEqual(ConstReverseRandomAccessIterator<TValue>) GreaterThanOrEqual(ConstReverseRandomAccessIterator<TValue>) GreaterThanOrEqual(ConstReverseRandomAccessIterator<TValue>) GreaterThanOrEqual(ConstReverseRandomAccessIterator<TValue>)

Determines whether the position of the left-side iterator is greater than or equal to the position of the given right-side iterator.

Implicit Implicit Implicit Implicit

Converts a ConstReverseRandomAccessIterator<TValue> to an IRandomAccessIterator<TValue>.

Increment(ConstReverseRandomAccessIterator<TValue>) Increment(ConstReverseRandomAccessIterator<TValue>) Increment(ConstReverseRandomAccessIterator<TValue>) Increment(ConstReverseRandomAccessIterator<TValue>)

Increments the reverse iterator by one element. This is the prefix version of the increment operator.

Increment(Int32, Int32) Increment(Int32, Int32) Increment(Int32, Int32) Increment(Int32, Int32)

Increments the reverse iterator by one element. This is the postfix version of the increment operator.

Inequality(ConstReverseRandomAccessIterator<TValue>) Inequality(ConstReverseRandomAccessIterator<TValue>) Inequality(ConstReverseRandomAccessIterator<TValue>) Inequality(ConstReverseRandomAccessIterator<TValue>)

Determines whether the given ConstReverseRandomAccessIterator<TValue> object differs from the current ConstReverseRandomAccessIterator<TValue> object.

LessThan(ConstReverseRandomAccessIterator<TValue>) LessThan(ConstReverseRandomAccessIterator<TValue>) LessThan(ConstReverseRandomAccessIterator<TValue>) LessThan(ConstReverseRandomAccessIterator<TValue>)

Determines whether the position of the left-side iterator is less than the position of the given right-side iterator.

LessThanOrEqual(ConstReverseRandomAccessIterator<TValue>) LessThanOrEqual(ConstReverseRandomAccessIterator<TValue>) LessThanOrEqual(ConstReverseRandomAccessIterator<TValue>) LessThanOrEqual(ConstReverseRandomAccessIterator<TValue>)

Determines whether the position of the left-side iterator is less than or equal to the position of the given right-side iterator.

MemberSelection(ConstReverseRandomAccessIterator<TValue>) MemberSelection(ConstReverseRandomAccessIterator<TValue>) MemberSelection(ConstReverseRandomAccessIterator<TValue>) MemberSelection(ConstReverseRandomAccessIterator<TValue>)

Returns the element that the iterator is currently pointing to.

PointerDereference(ConstReverseRandomAccessIterator<TValue>) PointerDereference(ConstReverseRandomAccessIterator<TValue>) PointerDereference(ConstReverseRandomAccessIterator<TValue>) PointerDereference(ConstReverseRandomAccessIterator<TValue>)

Returns the element that the iterator is currently pointing to.

Subtraction(ConstReverseRandomAccessIterator<TValue>, Int32) Subtraction(ConstReverseRandomAccessIterator<TValue>, Int32) Subtraction(ConstReverseRandomAccessIterator<TValue>, Int32) Subtraction(ConstReverseRandomAccessIterator<TValue>, Int32)

Decrements the iterator by the given number of elements. The integer parameter is specified on the right side of the subtraction operator.

Subtraction(IRandomAccessIterator<TValue>) Subtraction(IRandomAccessIterator<TValue>) Subtraction(IRandomAccessIterator<TValue>) Subtraction(IRandomAccessIterator<TValue>)

Determines the difference between two iterators.

Applies to