oaCMStringTbl
模块: oapy._oa._cms
导入: from oapy._oa import _cms
概览
oaCMStringTbl 在 oapy 中可用,可通过 _cms 模块访问。
本页汇总 oaCMStringTbl 当前在 oapy 中可用的 Python 接口。
详细说明
The oaCMStringTbl class contains a collection of string entry objects that are used in change sets。 The oaCMStringTbl supports look-up by string。
构造函数
_cms.oaCMStringTbl()
obj = _cms.oaCMStringTbl()
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.begin() |
| ✅ | obj.end() |
| ✅ | obj.find(str) |
| ✅ | obj.cleanup(timeStamp) |
方法说明
obj.begin()
绑定状态: 已绑定
Python 调用: obj.begin()
This function returns a constant iterator that points to the first string in the table。
Python 示例
from oapy._oa import _cms
# assume obj is a oaCMStringTbl
obj.begin()
obj.end()
绑定状态: 已绑定
Python 调用: obj.end()
This function returns a constant iterator that points to the last string in the table。
Python 示例
from oapy._oa import _cms
# assume obj is a oaCMStringTbl
obj.end()
obj.find(str)
绑定状态: 已绑定
Python 调用: obj.find(str)
This function returns a smart pointer to the oaCMStringEntry for str。
参数
str: The string for which to return the oaCMStringEntry smart pointer。
Python 示例
from oapy._oa import _cms
# assume obj is a oaCMStringTbl
obj.find(str)
obj.cleanup(timeStamp)
绑定状态: 已绑定
Python 调用: obj.cleanup(timeStamp)
This function removes out-of-date string entries contained in this table。
参数
timeStamp: The timestamp indicating the point at which to begin the clean-up。
Python 示例
from oapy._oa import _cms
# assume obj is a oaCMStringTbl
obj.cleanup(timeStamp)