首页 / base / oaIntRangeValue

oaIntRangeValue

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

概览

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

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

详细说明

This class implements oaValue functionality for the instantiation of the oaRange template class with an oaInt4 type。

方法总览

状态 Python 调用
obj.get(value)
obj.set(value)
_base.oaIntRangeValue.create(database, value)

方法说明

obj.get(value)

绑定状态: 已绑定

Python 调用: obj.get(value)

This function returns the range value of this object。

参数

  • value: The range of this object。

Python 示例

from oapy._oa import _base

# assume obj is a oaIntRangeValue
obj.get(value)

obj.set(value)

绑定状态: 已绑定

Python 调用: obj.set(value)

This function sets the value of this object to the specified range。

参数

  • value: The range that is set on this object。

Python 示例

from oapy._oa import _base

# assume obj is a oaIntRangeValue
obj.set(value)

_base.oaIntRangeValue.create(database, value)

绑定状态: 已绑定

Python 调用: _base.oaIntRangeValue.create(database, value)

This function creates an integer range value in the specified database。

参数

  • database: The database in which the intValue is created。
  • value: The range to create the range value with。

Python 示例

from oapy._oa import _base

_base.oaIntRangeValue.create(database, value)