oaCMStringEntry
模块: oapy._oa._cms
导入: from oapy._oa import _cms
概览
oaCMStringEntry 在 oapy 中可用,可通过 _cms 模块访问。
本页汇总 oaCMStringEntry 当前在 oapy 中可用的 Python 接口。
详细说明
The oaCMStringEntry class represents an entry in the object string table for an oaChangeSet 。 Each entry object contains an object state and a reference count。
构造函数
_cms.oaCMStringEntry(string, tbl, timeStamp)
obj = _cms.oaCMStringEntry(string, tbl, timeStamp)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getString() |
| ✅ | obj.getTimeStamp() |
| ✅ | obj.accept(visitor) |
方法说明
obj.getString()
绑定状态: 已绑定
Python 调用: obj.getString()
This function returns a pointer to the string in this oaCMStringEntry object。
Python 示例
from oapy._oa import _cms
# assume obj is a oaCMStringEntry
obj.getString()
obj.getTimeStamp()
绑定状态: 已绑定
Python 调用: obj.getTimeStamp()
This function returns the timestamp of this object。
Python 示例
from oapy._oa import _cms
# assume obj is a oaCMStringEntry
obj.getTimeStamp()
obj.accept(visitor)
绑定状态: 已绑定
Python 调用: obj.accept(visitor)
This function accepts an srVisitorMgr 。 It calls the visit function of the specified visitor on this object。
参数
visitor: The srVisitorMgr to call on this object。
Python 示例
from oapy._oa import _cms
# assume obj is a oaCMStringEntry
obj.accept(visitor)