oaSpfNS
模块: oapy._oa._base
导入: from oapy._oa import _base
概览
oaSpfNS 在 oapy 中可用,可通过 _base 模块访问。
本页汇总 oaSpfNS 当前在 oapy 中可用的 Python 接口。
详细说明
The oaSpfNS class implements the SPF nameSpace used in name mapping。 The SPF name space reflects the rules for specifying legal names of objects in SPF files。 In conjunction with the oaName object, the oaSpfNS class facilitates mapping names to and from SPF。 See the Name Mapping Section of the Programmers Guide for more information。 The SPF nameSpace is case sensitive, with programmable bus and hierarchy characters。 This nameSpace does not support vectored, stepped, or bundled names though it allows vector bits。 See the SPF Name Space Section of the Programmers Guide for a more detailed description of the characteristics of the SPF name space。
构造函数
_base.oaSpfNS()
obj = _base.oaSpfNS()
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.setOpenBusChar(c) |
| ✅ | obj.setCloseBusChar(c) |
| ✅ | obj.setHierDelimiter(c) |
| ✅ | obj.setPinDelimiter(c) |
| ✅ | obj.getHierDelimiter() |
| ✅ | obj.getOpenBusChar() |
| ✅ | obj.getCloseBusChar() |
| ✅ | obj.getPinDelimiter() |
方法说明
obj.setOpenBusChar(c)
绑定状态: 已绑定
Python 调用: obj.setOpenBusChar(c)
This function sets the value of the open bus character for this nameSpace。
参数
c: The value of the open bus character。
异常
oacProgrammableCharTaken。
Python 示例
from oapy._oa import _base
# assume obj is a oaSpfNS
obj.setOpenBusChar(c)
obj.setCloseBusChar(c)
绑定状态: 已绑定
Python 调用: obj.setCloseBusChar(c)
This function sets the value of the close bus character for this nameSpace。
异常
oacProgrammableCharTaken。
Python 示例
from oapy._oa import _base
# assume obj is a oaSpfNS
obj.setCloseBusChar(c)
obj.setHierDelimiter(c)
绑定状态: 已绑定
Python 调用: obj.setHierDelimiter(c)
This function sets the value of the hierarchy delimiter character for this nameSpace。
参数
c: The value of the open bus character。
异常
oacProgrammableCharTaken。
Python 示例
from oapy._oa import _base
# assume obj is a oaSpfNS
obj.setHierDelimiter(c)
obj.setPinDelimiter(c)
绑定状态: 已绑定
Python 调用: obj.setPinDelimiter(c)
This function sets the value of the pin delimiter for this nameSpace。
参数
c: The value of the pin delimiter。
异常
oacProgrammableCharTaken。
Python 示例
from oapy._oa import _base
# assume obj is a oaSpfNS
obj.setPinDelimiter(c)
obj.getHierDelimiter()
绑定状态: 已绑定
Python 调用: obj.getHierDelimiter()
This function returns the hierarchy character for this nameSpace。
Python 示例
from oapy._oa import _base
# assume obj is a oaSpfNS
obj.getHierDelimiter()
obj.getOpenBusChar()
绑定状态: 已绑定
Python 调用: obj.getOpenBusChar()
This function returns the open bus character for this nameSpace。
Python 示例
from oapy._oa import _base
# assume obj is a oaSpfNS
obj.getOpenBusChar()
obj.getCloseBusChar()
绑定状态: 已绑定
Python 调用: obj.getCloseBusChar()
This function returns the close bus character for this nameSpace。
Python 示例
from oapy._oa import _base
# assume obj is a oaSpfNS
obj.getCloseBusChar()
obj.getPinDelimiter()
绑定状态: 已绑定
Python 调用: obj.getPinDelimiter()
This function returns the pin delimiter for this nameSpace。
Python 示例
from oapy._oa import _base
# assume obj is a oaSpfNS
obj.getPinDelimiter()