IForwardIterator<TValue> Interface

Definição

Interface para um iterador que pode acessar elementos em um contêiner somente na direção para a frente usando o operador de incremento.Interface for an iterator that can access elements in a container only in the forward direction by using the increment operator. O elemento para o qual o iterador aponta pode ser gravado e lido qualquer número de vezes.The element that the iterator points to can be both written to and read from any number of times. Iteradores para a frente podem ser usados em qualquer lugar em que um iterador de entrada ou de saída é necessário.Forward iterators can be used anywhere an input or output iterator is required.

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

Parâmetros de tipo

TValue

O tipo de um elemento na sequência controlada.The type of an element in the controlled sequence.

Derivado
Implementações

Métodos

Clone()

Cria um novo objeto que é uma cópia da instância atual.Creates a new object that is a copy of the current instance.

(Herdado de ICloneable)
container()

Obtém o contêiner que o iterador está atravessando.Gets the container that the iterator is traversing.

(Herdado de IBaseIterator<TValue>)
equal_to(IInputIterator<TValue>)

Determina se dois objetos IInputIterator<TValue> são iguais.Determines whether two IInputIterator<TValue> objects are equal.

(Herdado de IInputIterator<TValue>)
get_bias()

Obtém o desvio do iterador.Gets the bias of the iterator. O desvio é o deslocamento do iterador do elemento zero.The bias is the offset of the iterator from element zero.

(Herdado de IBaseIterator<TValue>)
get_cref()

Retorna uma referência constante ao elemento para o qual o iterador está apontando no momento.Returns a constant reference to the element that the iterator is currently pointing to.

(Herdado de IInputIterator<TValue>)
get_node()

Obtém o nó, ou elemento, para o qual o iterador está apontando.Gets the node, or element, that the iterator is pointing to.

(Herdado de IBaseIterator<TValue>)
get_ref()

Retorna uma referência ao elemento para o qual o iterador está apontando no momento.Returns a reference to the element that the iterator is currently pointing to.

(Herdado de IOutputIterator<TValue>)
next()

Incrementa o iterador para a próxima posição no contêiner subjacente ou para a primeira posição além do fim do contêiner se o contêiner foi atravessado completamente.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.

(Herdado de IBaseIterator<TValue>)
valid()

Determina se o iterador é válido e pode ser usado com segurança para atravessar o contêiner subjacente.Determines whether the iterator is valid and can be safely used to traverse the underlying container.

(Herdado de IBaseIterator<TValue>)

Aplica-se a