Export (0) Print
Expand All

ContainerBidirectionalIterator<TValue> Members

.NET Framework 3.5

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 can be both written to and read from any number of times. Bidirectional iterators can be used anywhere that an input or output iterator is required.

The ContainerBidirectionalIterator<TValue> type exposes the following members.

  NameDescription
Public method ContainerBidirectionalIterator<TValue> Overloaded. Allocates and initializes a new ContainerBidirectionalIterator<TValue> object.
Top

  NameDescription
Public method Clone Returns a copy of the current ContainerBidirectionalIterator<TValue> object.
Public method container Gets the container that the iterator is traversing.
Public method equal_to Overloaded. Determines if two iterators are the same object.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method get_bias Gets the bias of the iterator. The bias is the offset of the iterator from element zero.
Public method get_cref Returns a constant reference to the element that the iterator is currently pointing to.
Public method get_node Gets the node, or element, that the iterator is pointing to.
Public method get_ref Returns a reference to the element that the iterator is currently pointing to.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method 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.
Public method prev Positions the iterator to the element immediately before the current element.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method valid Determines whether the iterator is valid and can be safely used to traverse the underlying container.
Top

  NameDescription
Public operator Assign Assigns the given ContainerBidirectionalIterator<TValue> object to the current object.
Public operator Decrement Overloaded. Decrements the iterator by one element.
Public operator Equality Overloaded. Determines whether two iterators are the same object.
Public operator Implicit Converts a ContainerBidirectionalIterator<TValue> to an IBidirectionalIterator<TValue>.
Public operator Increment Overloaded. Increments the iterator by one element.
Public operator Inequality Overloaded. Determines whether two iterators are not the same object.
Public operator Static member MemberSelection Returns the element that the iterator is currently pointing to.
Public operator Static member PointerDereference Returns the element that the iterator is currently pointing to.
Top

Community Additions

ADD
Show:
© 2014 Microsoft