首页 / base / oaNameType

oaNameType

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

概览

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

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

详细说明

The oaNameType class is an enum wrapper class that describes the different uses of an oaName object。 The nameType is important when determining the syntactic rules for mapping the name object into different nameSpaces。 See oaName::getType to see where this is used。 See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers。 enum oaNameTypeEnum Enumeration values: oacEmptyNameType "empty" There is no name stored oacScalarNameType "scalarName" This name has no index oacVectorNameType "vectorName" This name contains an index range oacVectorBitNameType "vectorBitName" This name has a single index number oacBundleNameType "bundleName" This name has a list of name components or a repeat count。

构造函数

_base.oaNameType(valueIn)

obj = _base.oaNameType(valueIn)

_base.oaNameType(name)

obj = _base.oaNameType(name)

方法总览

状态 Python 调用
obj.getName()

方法说明

obj.getName()

绑定状态: 已绑定

Python 调用: obj.getName()

This function returns the name string associated with the encapsulated oaNameTypeEnum object。

Python 示例

from oapy._oa import _base

# assume obj is a oaNameType
obj.getName()