首页 / common / ISequence

ISequence

模块: oapy._oa._common 导入: from oapy._oa import _common

概览

ISequenceoapy 中可用,可通过 _common 模块访问。

本页汇总 ISequence 当前在 oapy 中可用的 Python 接口。

详细说明

template class ISequence< T, SeqId, IterId > This is a templated abstract class that extends the functionality found on IIter to add the ability to modify the underlying collection。 These functions all operate relative to the current element。 The partial specialization of ISequence is purely an optimization so that sequences of pointers (such as interface pointers, which likely represent the bulk of usage) are passed in as Type * rather than const Type *& 。 The template considerations work identically to those for IIter 。

方法总览

状态 Python 调用
obj.count()
obj.insert(objIn)
obj.append(objIn)
obj.remove()
obj.replace(objIn)

方法说明

obj.count()

绑定状态: 已绑定

Python 调用: obj.count()

Python 示例

from oapy._oa import _common

# assume obj is a ISequence
obj.count()

obj.insert(objIn)

绑定状态: 已绑定

Python 调用: obj.insert(objIn)

Python 示例

from oapy._oa import _common

# assume obj is a ISequence
obj.insert(objIn)

obj.append(objIn)

绑定状态: 已绑定

Python 调用: obj.append(objIn)

Python 示例

from oapy._oa import _common

# assume obj is a ISequence
obj.append(objIn)

obj.remove()

绑定状态: 已绑定

Python 调用: obj.remove()

Python 示例

from oapy._oa import _common

# assume obj is a ISequence
obj.remove()

obj.replace(objIn)

绑定状态: 已绑定

Python 调用: obj.replace(objIn)

Python 示例

from oapy._oa import _common

# assume obj is a ISequence
obj.replace(objIn)