Export (0) Print
Expand All

ConstReverseBidirectionalIterator<TValue> Class

Defines an iterator that accesses elements in a container in the reverse direction. Elements can be accessed in the forward direction by using the decrement operator and in the backward direction by using the increment operator. The element that the iterator points to cannot be modified. Constant reverse bidirectional iterators can be used anywhere that a constant reverse input or constant reverse output iterator is required.

System.Object
  Microsoft.VisualC.StlClr.Generic.ConstReverseBidirectionalIterator<TValue>

Namespace:  Microsoft.VisualC.StlClr.Generic
Assembly:  Microsoft.VisualC.STLCLR (in Microsoft.VisualC.STLCLR.dll)

public class ConstReverseBidirectionalIterator<TValue> : IBidirectionalIterator<TValue>

Type Parameters

TValue

The type of an element in the controlled sequence.

The ConstReverseBidirectionalIterator<TValue> type exposes the following members.

  NameDescription
Public methodConstReverseBidirectionalIterator<TValue>()Allocates and initializes a new ConstReverseBidirectionalIterator<TValue> object.
Public methodConstReverseBidirectionalIterator<TValue>(ConstReverseBidirectionalIterator<TValue>)Allocates and initializes a new ConstReverseBidirectionalIterator<TValue> object from an existing ConstReverseBidirectionalIterator<TValue> object.
Public methodConstReverseBidirectionalIterator<TValue>(IBidirectionalIterator<TValue>)Allocates and initializes a new ConstReverseBidirectionalIterator<TValue> object from an existing IBidirectionalIterator<TValue> object.
Public methodConstReverseBidirectionalIterator<TValue>(ReverseBidirectionalIterator<TValue>)Allocates and initializes a new ConstReverseBidirectionalIterator<TValue> object from an existing ReverseBidirectionalIterator<TValue> object.
Top

  NameDescription
Public methodbaseGets the underlying base iterator for the ConstReverseBidirectionalIterator<TValue> object.
Public methodCloneReturns a copy of the current ConstReverseBidirectionalIterator<TValue> object.
Public methodcontainerGets the container that the iterator is traversing.
Public methodequal_to(ConstReverseBidirectionalIterator<TValue>)Determines whether the given ConstReverseBidirectionalIterator<TValue> object is the same as the current ConstReverseBidirectionalIterator<TValue> object.
Public methodequal_to(IInputIterator<TValue>)Determines whether the given IInputIterator<TValue> object is the same as the current ConstReverseBidirectionalIterator<TValue> object.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodget_biasGets the bias of the iterator. The bias is the offset of the iterator from element zero.
Public methodget_crefReturns a constant reference to the element that the iterator is currently pointing to.
Public methodget_nodeGets the node, or element, that the iterator is pointing to.
Public methodget_refReturns a reference to the element that the iterator is currently pointing to.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodnextDecrements the iterator to the previous position in the underlying container, or to the first position in front of the beginning of container if the container has been completely traversed.
Public methodprevIncrements 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.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodvalidDetermines whether the iterator is valid and can be safely used to traverse the underlying container.
Top

  NameDescription
Public operatorAssign(ConstReverseBidirectionalIterator<TValue>)Assigns the given ConstReverseBidirectionalIterator<TValue> object to the current object.
Public operatorAssign(ReverseBidirectionalIterator<TValue>)Assigns the given ReverseBidirectionalIterator<TValue> object to the current object.
Public operatorDecrement(ConstReverseBidirectionalIterator<TValue>)Decrements the iterator by one element. Decrementing a reverse iterator is the same as incrementing a regular iterator. This is the prefix version of the decrement operator.
Public operatorDecrement(ConstReverseBidirectionalIterator<TValue>, Int32)Decrements the iterator by one element. Decrementing a reverse iterator is the same as incrementing a regular iterator. This is the postfix version of the decrement operator.
Public operatorEquality(ConstReverseBidirectionalIterator<TValue>)Determines whether the given ConstReverseBidirectionalIterator<TValue> object is the same as the current ConstReverseBidirectionalIterator<TValue> object.
Public operatorEquality(IInputIterator<TValue>)Determines whether the given IInputIterator<TValue> object is the same as the current ConstReverseBidirectionalIterator<TValue> object.
Public operatorImplicit(IBidirectionalIterator<TValue>)Converts a ConstReverseBidirectionalIterator<TValue> to an IBidirectionalIterator<TValue>.
Public operatorIncrement(ConstReverseBidirectionalIterator<TValue>)Increments the iterator by one element. Incrementing a reverse iterator is the same as decrementing a regular iterator. This is the prefix version of the increment operator.
Public operatorIncrement(ConstReverseBidirectionalIterator<TValue>, Int32)Increments the iterator by one element. Incrementing a reverse iterator is the same as decrementing a regular iterator. This is the postfix version of the increment operator.
Public operatorInequality(ConstReverseBidirectionalIterator<TValue>)Determines whether the given ConstReverseBidirectionalIterator<TValue> object differs from the current ConstReverseBidirectionalIterator<TValue> object.
Public operatorInequality(IInputIterator<TValue>)Determines whether the given IInputIterator<TValue> object differs from the current ConstReverseBidirectionalIterator<TValue> object.
Public operatorStatic memberMemberSelectionReturns the element that the iterator is currently pointing to.
Public operatorStatic memberPointerDereferenceReturns the element that the iterator is currently pointing to.
Top

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.

.NET Framework

Supported in: 4.5, 4, 3.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft