FUNCTION acyclic_mapped_representation

(* SCHEMA step_merged_ap_schema; *)
-- DIFF IN AP214
-- DIFF IN AP203e2
-- DIFF IN AP238 STEP-NC
-- DIFF IN AP224
-- DIFF IN AP232
FUNCTION acyclic_mapped_representation
      (mi : mapped_item ) : BOOLEAN;
   LOCAL
      rms : SET OF representation_map;
      mis : SET OF mapped_item;
      rs1 : SET OF representation;
      rs2 : SET OF representation;
   END_LOCAL;
      rs1 := using_representations(mi);
      rs2 := [];
      REPEAT WHILE SIZEOF(rs1) > 0;
         REPEAT i := 1 TO HIINDEX(rs1) BY 1;
            rms := bag_to_set(USEDIN(rs1[i], 'STEP_MERGED_AP_SCHEMA.REPRESENTATION_MAP.' + 'MAPPED_REPRESENTATION'));
            IF SIZEOF(rms) > 0 THEN
               REPEAT j := 1 TO HIINDEX(rms) BY 1;
                  mis := bag_to_set(USEDIN(rms[i], 'STEP_MERGED_AP_SCHEMA.MAPPED_ITEM.MAPPING_SOURCE'));
                  IF SIZEOF(mis) > 0 THEN
                     REPEAT j := 1 TO HIINDEX(mis) BY 1;
                        IF mis[i] :=: mi THEN
                           RETURN (FALSE);
                        END_IF;
                        rs2 := rs2 + using_representations(mis[i]);
                     END_REPEAT;
                  END_IF;
               END_REPEAT;
            END_IF;
         END_REPEAT;
         rs1 := rs2;
         rs2 := [];
      END_REPEAT;
      RETURN (TRUE);
END_FUNCTION;

Referenced By

Defintion acyclic_mapped_representation is references by the following definitions:
DefinitionType
 mapped_item ENTITY


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2017-01-19T11:17:24-05:00