Export (0) Print
Expand All

ContainerRandomAccessIterator<TValue> Members

.NET Framework 3.5

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 ContainerRandomAccessIterator<TValue> type exposes the following members.

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

  NameDescription
Public method Clone Creates a copy of the current ContainerRandomAccessIterator<TValue> object.
Public method container Gets the container that the iterator is traversing.
Public method distance Overloaded. Determines the distance between the element that the current iterator is pointing to and the element that the given iterator is pointing to.
Public method equal_to Overloaded. Determines whether 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.)
Public method less_than Overloaded. Determines whether the current iterator is pointing to an element in the container that is before the element that a given iterator points to.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method move Moves the iterator by the given number of elements.
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 Static member Addition Overloaded. Increments the iterator by the given number of elements.
Public operator Assign Assigns the given ContainerRandomAccessIterator<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 Static member GreaterThan Overloaded. Determines whether the position of an iterator is greater than the position of another iterator.
Public operator GreaterThanOrEqual Overloaded. Determines whether the position of an iterator is greater than or equal to the position of another iterator.
Public operator Implicit Converts a ContainerRandomAccessIterator<TValue> to an IRandomAccessIterator<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 LessThan Overloaded. Determines whether the position of an iterator is less than the position of another iterator.
Public operator Static member LessThanOrEqual Overloaded. Determines whether the position of an iterator is less than or equal to the position of another iterator.
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.
Public operator Subtraction Overloaded. Decrements the iterator by the given number of elements, or determines the difference between two iterators.
Top

  NameDescription
Public property Item Accesses the element at the given position in the container.
Top

Community Additions

ADD
Show:
© 2015 Microsoft