5.1.4.3 IfcUniquePropertyTemplateNames

The function gets the set of IfcPropertyTemplate's. It iterates through the Name attibute of the IfcPropertyTemplate's and verifies that no Name appears twice.

HISTORY  New function in IFC2x4

EXPRESS Specification

FUNCTION IfcUniquePropertyTemplateNames
(Properties : SET [1:?] OF IfcPropertyTemplate)
: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;

Link to this page  Link to this page