oaCMAttrArray
模块: oapy._oa._cms
导入: from oapy._oa import _cms
概览
oaCMAttrArray 在 oapy 中可用,可通过 _cms 模块访问。
本页汇总 oaCMAttrArray 当前在 oapy 中可用的 Python 接口。
详细说明
The oaCMAttrArray is an array of oaCMAttrs。 The oaCMAttrArray class is used in the definition of the oaCMProtocol class and is part of the OpenAccess change management system (CMS) 。
构造函数
_cms.oaCMAttrArray(sizeIn=0)
obj = _cms.oaCMAttrArray(sizeIn=0)
_cms.oaCMAttrArray(arrayIn)
obj = _cms.oaCMAttrArray(arrayIn)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.hasUnsetAttrs() |
| ✅ | obj.findByName(nameIn) |
| ✅ | obj.operator=(rhs) |
方法说明
obj.hasUnsetAttrs()
绑定状态: 已绑定
Python 调用: obj.hasUnsetAttrs()
This function returns true if at least one of the attributes in the attribute array does not have its value set。
Python 示例
from oapy._oa import _cms
# assume obj is a oaCMAttrArray
obj.hasUnsetAttrs()
obj.findByName(nameIn)
绑定状态: 已绑定
Python 调用: obj.findByName(nameIn)
This function returns the index of the attribute with the matching name。 If an attribute with the same name is not found, oacNullIndex is returned。
参数
nameIn: The attribute name to find。
Python 示例
from oapy._oa import _cms
# assume obj is a oaCMAttrArray
obj.findByName(nameIn)
obj.operator=(rhs)
绑定状态: 已绑定
Python 调用: obj.operator=(rhs)
Python 示例
from oapy._oa import _cms
# assume obj is a oaCMAttrArray
obj.operator=(rhs)