oaDMObjectIter
模块: oapy._oa._dm
导入: from oapy._oa import _dm
概览
oaDMObjectIter 在 oapy 中可用,可通过 _dm 模块访问。
本页汇总 oaDMObjectIter 当前在 oapy 中可用的 Python 接口。
详细说明
The oaDMObjectIter is used to iterate a collection of oaDMObjects。
构造函数
_dm.oaDMObjectIter(iter)
obj = _dm.oaDMObjectIter(iter)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.operator=(iter) |
| ✅ | obj.getNext() |
| ✅ | obj.reset() |
方法说明
obj.operator=(iter)
绑定状态: 已绑定
Python 调用: obj.operator=(iter)
Python 示例
from oapy._oa import _dm
# assume obj is a oaDMObjectIter
obj.operator=(iter)
obj.getNext()
绑定状态: 已绑定
Python 调用: obj.getNext()
This function gets the next (oaDMObject, status) pair。 If there is no more data, the oaDMObject will be NULL。
Python 示例
from oapy._oa import _dm
# assume obj is a oaDMObjectIter
obj.getNext()
obj.reset()
绑定状态: 已绑定
Python 调用: obj.reset()
This function resets the iterator so that a subsequent getNext() will get the first entry in the set。
Python 示例
from oapy._oa import _dm
# assume obj is a oaDMObjectIter
obj.reset()