首页 / dm / oaVCVersionIter

oaVCVersionIter

模块: oapy._oa._dm 导入: from oapy._oa import _dm

概览

oaVCVersionIteroapy 中可用,可通过 _dm 模块访问。

本页汇总 oaVCVersionIter 当前在 oapy 中可用的 Python 接口。

详细说明

The oaVCVersionIter is used to iterate a collection of oaVCVersions。

构造函数

_dm.oaVCVersionIter(iter)

obj = _dm.oaVCVersionIter(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 oaVCVersionIter
obj.operator=(iter)

obj.getNext()

绑定状态: 已绑定

Python 调用: obj.getNext()

This function returns the next oaVCVersion object of this iterator。 If there are no more objects, a NULL oaVCVersion (with a NULL IVersion interface) is returned。 To determine if the iteration is terminated, do one of the following: Compare the returned object to a NULL oaVCVersion object。 Check the referenced version of the returned object by calling oaVCVersion::getRaw() to see if a NULL pointer is returned。

Python 示例

from oapy._oa import _dm

# assume obj is a oaVCVersionIter
obj.getNext()

obj.reset()

绑定状态: 已绑定

Python 调用: obj.reset()

This function resets the iterator such that a subsequent getNext() will get the first entry in the set。

Python 示例

from oapy._oa import _dm

# assume obj is a oaVCVersionIter
obj.reset()