IOutputIterator<TValue> 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于将序列写入容器的迭代器的接口,该迭代器仅向向前方向写入容器。 迭代器指向的元素只能写入一次。
generic <typename TValue>
public interface class IOutputIterator : Microsoft::VisualC::StlClr::Generic::IBaseIterator<TValue>
public interface IOutputIterator<TValue> : Microsoft.VisualC.StlClr.Generic.IBaseIterator<TValue>
type IOutputIterator<'Value> = interface
interface IBaseIterator<'Value>
Public Interface IOutputIterator(Of TValue)
Implements IBaseIterator(Of TValue)
类型参数
- TValue
受控序列中的元素的类型。
- 派生
- 实现
方法
| 名称 | 说明 |
|---|---|
| Clone() |
创建一个新对象,该对象是当前实例的副本。 (继承自 ICloneable) |
| container() |
获取迭代器遍历的容器。 (继承自 IBaseIterator<TValue>) |
| get_bias() |
获取迭代器的偏差。 偏差是迭代器与元素零的偏移量。 (继承自 IBaseIterator<TValue>) |
| get_node() |
获取迭代器指向的节点或元素。 (继承自 IBaseIterator<TValue>) |
| get_ref() |
返回对迭代器当前指向的元素的引用。 |
| next() |
将迭代器递增到基础容器中的下一个位置,或者在容器完全遍历后的第一个位置。 (继承自 IBaseIterator<TValue>) |
| valid() |
确定迭代器是否有效,并可以安全地用于遍历基础容器。 (继承自 IBaseIterator<TValue>) |