ConstContainerBidirectionalIterator<TValue> ConstContainerBidirectionalIterator<TValue> ConstContainerBidirectionalIterator<TValue> ConstContainerBidirectionalIterator<TValue> Class

Definition

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

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

Type Parameters

TValue

The type of an element in the controlled sequence.

Inheritance
ConstContainerBidirectionalIterator<TValue>ConstContainerBidirectionalIterator<TValue>ConstContainerBidirectionalIterator<TValue>ConstContainerBidirectionalIterator<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

ConstContainerBidirectionalIterator<TValue>() ConstContainerBidirectionalIterator<TValue>() ConstContainerBidirectionalIterator<TValue>() ConstContainerBidirectionalIterator<TValue>()

Allocates and initializes a new ConstContainerBidirectionalIterator<TValue> object.

ConstContainerBidirectionalIterator<TValue>(ConstContainerBidirectionalIterator<TValue>) ConstContainerBidirectionalIterator<TValue>(ConstContainerBidirectionalIterator<TValue>) ConstContainerBidirectionalIterator<TValue>(ConstContainerBidirectionalIterator<TValue>) ConstContainerBidirectionalIterator<TValue>(ConstContainerBidirectionalIterator<TValue>)

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

ConstContainerBidirectionalIterator<TValue>(ContainerBidirectionalIterator<TValue>) ConstContainerBidirectionalIterator<TValue>(ContainerBidirectionalIterator<TValue>) ConstContainerBidirectionalIterator<TValue>(ContainerBidirectionalIterator<TValue>) ConstContainerBidirectionalIterator<TValue>(ContainerBidirectionalIterator<TValue>)

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

ConstContainerBidirectionalIterator<TValue>(INode<TValue>) ConstContainerBidirectionalIterator<TValue>(INode<TValue>) ConstContainerBidirectionalIterator<TValue>(INode<TValue>) ConstContainerBidirectionalIterator<TValue>(INode<TValue>)

Allocates and initializes a new ConstContainerBidirectionalIterator<TValue> object that points to the given node.

Methods

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

Returns a copy of the current ConstContainerBidirectionalIterator<TValue> object.

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

Gets the container that the iterator is traversing.

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

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

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

Determines whether the given ConstContainerBidirectionalIterator<TValue> object is the same as the current ConstContainerBidirectionalIterator<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 ConstContainerBidirectionalIterator<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.

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

Creates a shallow copy of the current Object.

(Inherited from Object)
next() next() next() 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.

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

Positions the iterator to the element immediately before 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

Assign(ConstContainerBidirectionalIterator<TValue>) Assign(ConstContainerBidirectionalIterator<TValue>) Assign(ConstContainerBidirectionalIterator<TValue>) Assign(ConstContainerBidirectionalIterator<TValue>)

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

Assign(ContainerBidirectionalIterator<TValue>) Assign(ContainerBidirectionalIterator<TValue>) Assign(ContainerBidirectionalIterator<TValue>) Assign(ContainerBidirectionalIterator<TValue>)

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

Decrement(ConstContainerBidirectionalIterator<TValue>) Decrement(ConstContainerBidirectionalIterator<TValue>) Decrement(ConstContainerBidirectionalIterator<TValue>) Decrement(ConstContainerBidirectionalIterator<TValue>)

Decrements the 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 iterator by one element. This is the postfix version of the decrement operator.

Equality(ConstContainerBidirectionalIterator<TValue>) Equality(ConstContainerBidirectionalIterator<TValue>) Equality(ConstContainerBidirectionalIterator<TValue>) Equality(ConstContainerBidirectionalIterator<TValue>)

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

Equality(IInputIterator<TValue>) Equality(IInputIterator<TValue>) Equality(IInputIterator<TValue>) Equality(IInputIterator<TValue>)

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

Implicit Implicit Implicit Implicit

Converts a ConstContainerBidirectionalIterator<TValue> to an IBidirectionalIterator<TValue>.

Increment(ConstContainerBidirectionalIterator<TValue>) Increment(ConstContainerBidirectionalIterator<TValue>) Increment(ConstContainerBidirectionalIterator<TValue>) Increment(ConstContainerBidirectionalIterator<TValue>)

Increments the 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 iterator by one element. This is the postfix version of the increment operator.

Inequality(ConstContainerBidirectionalIterator<TValue>) Inequality(ConstContainerBidirectionalIterator<TValue>) Inequality(ConstContainerBidirectionalIterator<TValue>) Inequality(ConstContainerBidirectionalIterator<TValue>)

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

Inequality(IInputIterator<TValue>) Inequality(IInputIterator<TValue>) Inequality(IInputIterator<TValue>) Inequality(IInputIterator<TValue>)

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

MemberSelection(ConstContainerBidirectionalIterator<TValue>) MemberSelection(ConstContainerBidirectionalIterator<TValue>) MemberSelection(ConstContainerBidirectionalIterator<TValue>) MemberSelection(ConstContainerBidirectionalIterator<TValue>)

Returns the element that the iterator is currently pointing to.

PointerDereference(ConstContainerBidirectionalIterator<TValue>) PointerDereference(ConstContainerBidirectionalIterator<TValue>) PointerDereference(ConstContainerBidirectionalIterator<TValue>) PointerDereference(ConstContainerBidirectionalIterator<TValue>)

Returns the element that the iterator is currently pointing to.

Applies to