ArrayIter
模块: oapy._oa._common
导入: from oapy._oa import _common
概览
ArrayIter 在 oapy 中可用,可通过 _common 模块访问。
本页汇总 ArrayIter 当前在 oapy 中可用的 Python 接口。
详细说明
template
构造函数
_common.ArrayIter(initialCap=0)
obj = _common.ArrayIter(initialCap=0)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.next(objOut) |
| ✅ | obj.reset() |
| ✅ | obj.add(elem) |
方法说明
obj.next(objOut)
绑定状态: 已绑定
Python 调用: obj.next(objOut)
Python 示例
from oapy._oa import _common
# assume obj is a ArrayIter
obj.next(objOut)
obj.reset()
绑定状态: 已绑定
Python 调用: obj.reset()
Python 示例
from oapy._oa import _common
# assume obj is a ArrayIter
obj.reset()
obj.add(elem)
绑定状态: 已绑定
Python 调用: obj.add(elem)
Python 示例
from oapy._oa import _common
# assume obj is a ArrayIter
obj.add(elem)