首页 / base / oaDualInt

oaDualInt

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

概览

oaDualIntoapy 中可用,可通过 _base 模块访问。

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

详细说明

The oaDualInt object specifies an ordered pair of oaInt4 values。

构造函数

_base.oaDualInt(firstValue=0, secondValue=0)

obj = _base.oaDualInt(firstValue=0, secondValue=0)

方法总览

状态 Python 调用
obj.getFirst()
obj.getSecond()
obj.setFirst(value)
obj.setSecond(value)
obj.operator==(right)
obj.operator!=(right)
obj.operator==(right)
obj.operator!=(right)

方法说明

obj.getFirst()

绑定状态: 已绑定

Python 调用: obj.getFirst()

This function returns the first value in the pair。

Python 示例

from oapy._oa import _base

# assume obj is a oaDualInt
obj.getFirst()

obj.getSecond()

绑定状态: 已绑定

Python 调用: obj.getSecond()

This function returns the second value in the pair。

Python 示例

from oapy._oa import _base

# assume obj is a oaDualInt
obj.getSecond()

obj.setFirst(value)

绑定状态: 已绑定

Python 调用: obj.setFirst(value)

This function sets the first value in the pair。

参数

  • value: The value to be set as the first value of this pair。

Python 示例

from oapy._oa import _base

# assume obj is a oaDualInt
obj.setFirst(value)

obj.setSecond(value)

绑定状态: 已绑定

Python 调用: obj.setSecond(value)

This function sets the second value in the pair。 friend class oaChecker < oaDualInt > [friend]。

参数

  • value: The value to be set as the second value of this pair。

Python 示例

from oapy._oa import _base

# assume obj is a oaDualInt
obj.setSecond(value)

obj.operator==(right)

绑定状态: 已绑定

Python 调用: obj.operator==(right)

Python 示例

from oapy._oa import _base

# assume obj is a oaDualInt
obj.operator==(right)

obj.operator!=(right)

绑定状态: 已绑定

Python 调用: obj.operator!=(right)

Python 示例

from oapy._oa import _base

# assume obj is a oaDualInt
obj.operator!=(right)

obj.operator==(right)

绑定状态: 已绑定

Python 调用: obj.operator==(right)

Python 示例

from oapy._oa import _base

# assume obj is a oaDualInt
obj.operator==(right)

obj.operator!=(right)

绑定状态: 已绑定

Python 调用: obj.operator!=(right)

Python 示例

from oapy._oa import _base

# assume obj is a oaDualInt
obj.operator!=(right)