如何检测 ImplementationDataTypeElement 是否是其中包含数组(甚至通过 typedef)的数组?
我可以通过检测类别是否为“ARRAY”来检测一维数组,但如何获得进一步的“定义”?
如何检测 ImplementationDataTypeElement 是否是其中包含数组(甚至通过 typedef)的数组?
我可以通过检测类别是否为“ARRAY”来检测一维数组,但如何获得进一步的“定义”?
如果ImplementationDataTypeElement由ImplementationDataTypeof拥有的category ARRAY又是 of ,则category ARRAY您可以清楚地指示二维数组。
如果ImplementationDataTypeElement是,category TYPE_REFERENCE那么您必须查看通过ImplementationDataType引用的ImplementationDataTypeElement。swDataDefProps. implementationDataType.
如果引用ImplementationDataType的是,category ARRAY那么这也是二维数组定义的指示。