FUNCTION inspected_product_definition

(* SCHEMA step_merged_ap_schema; *)
-- IN AP242
FUNCTION inspected_product_definition
      (dqir : data_quality_inspection_result_representation ) : BAG OF product_definition;
   LOCAL
      dqdr : BAG OF data_quality_definition_representation_relationship := [];
      pdqdr : BAG OF product_data_and_data_quality_relationship := [];
      pd : BAG OF product_definition := [];
   END_LOCAL;
      dqdr := USEDIN(dqir, 'STEP_MERGED_AP_SCHEMA.DATA_QUALITY_DEFINITION_REPRESENTATION_RELATIONSHIP.USED_REPRESENTATION');
      REPEAT i := 1 TO SIZEOF(dqdr);
         pdqdr := USEDIN(dqdr[i].definition, 'STEP_MERGED_AP_SCHEMA.PRODUCT_DATA_AND_DATA_QUALITY_RELATIONSHIP.DATA_QUALITY');
         REPEAT j := 1 TO SIZEOF(pdqdr);
            pd := pd + pdqdr[j].product_data;
         END_REPEAT;
      END_REPEAT;
      RETURN (pd);
END_FUNCTION;

Referenced By

Defintion inspected_product_definition is references by the following definitions:
DefinitionType
 data_quality_inspection_result_representation ENTITY
 shape_data_quality_inspected_shape_and_result_relationship ENTITY


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2020-07-28T17:02:20-04:00