แก้ไข

แชร์ผ่าน


IInputIterator<TValue> Interface

Definition

Interface for an iterator that is used to read a sequence from a container only in the forward direction. The element that the iterator points to can be read only one time, and it cannot be modified.

generic <typename TValue>
public interface class IInputIterator : Microsoft::VisualC::StlClr::Generic::IBaseIterator<TValue>
public interface IInputIterator<TValue> : Microsoft.VisualC.StlClr.Generic.IBaseIterator<TValue>
type IInputIterator<'Value> = interface
    interface IBaseIterator<'Value>
Public Interface IInputIterator(Of TValue)
Implements IBaseIterator(Of TValue)

Type Parameters

TValue

The type of an element in the controlled sequence.

Derived
Implements

Methods

Clone()

Creates a new object that is a copy of the current instance.

(Inherited from ICloneable)
container()

Gets the container that the iterator is traversing.

(Inherited from IBaseIterator<TValue>)
equal_to(IInputIterator<TValue>)

Determines whether two IInputIterator<TValue> objects are equal.

get_bias()

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

(Inherited from IBaseIterator<TValue>)
get_cref()

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

get_node()

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

(Inherited from IBaseIterator<TValue>)
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.

(Inherited from IBaseIterator<TValue>)
valid()

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

(Inherited from IBaseIterator<TValue>)

Applies to