该页全部中文内容仅供20252453-T-424 项目组内部使用

20252453-T-424 项目

5.1.6.2 IfcUniquePropertyName (唯一属性名称)

5.1.6.2.1 语义定义(Semantic definition)

该函数获取 IfcProperty 的集合。

它遍历 IfcPropertyName 特性, 并验证没有 Name 重复出现。

5.1.6.2.2 形式化表示(Formal representation)

FUNCTION IfcUniquePropertyName
(Properties : SET [1:?] OF IfcProperty)
 :LOGICAL;

 LOCAL
   Names : SET OF IfcIdentifier := [];
 END_LOCAL;

 REPEAT i:=1 TO HIINDEX(Properties);
   Names := Names + Properties[i].Name;
 END_REPEAT;

 RETURN (SIZEOF(Names) = SIZEOF(Properties));

END_FUNCTION;

5.1.6.2.3 参考(References)