oaTermAttrType
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaTermAttrType 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaTermAttrType 当前在 oapy 中可用的 Python 接口。
详细说明
The oaTermAttrType class encapsulates the enumerated values that represent the different attributes of an oaTerm object。 enum oaTermAttrTypeEnum Enumeration values: oacNameTermAttrType "name" oacHasPinsTermAttrType "hasPins" oacNumBitsTermAttrType "numBits"。
构造函数
_design.oaTermAttrType(valueIn)
obj = _design.oaTermAttrType(valueIn)
_design.oaTermAttrType(name)
obj = _design.oaTermAttrType(name)
_design.oaTermAttrType(attr)
obj = _design.oaTermAttrType(attr)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getName() |
| ✅ | obj.getValue() |
方法说明
obj.getName()
绑定状态: 已绑定
Python 调用: obj.getName()
This function returns the name string associated with the encapsulated oaTermAttrTypeEnum object。
Python 示例
from oapy._oa import _design
# assume obj is a oaTermAttrType
obj.getName()
obj.getValue()
绑定状态: 已绑定
Python 调用: obj.getValue()
This operator casts this oaTermAttrType object into the corresponding oaTermAttrTypeEnum value。
Python 示例
from oapy._oa import _design
# assume obj is a oaTermAttrType
obj.getValue()