FUNCTION item_correlation

(* SCHEMA step_merged_ap_schema; *)
-- IN AP214
FUNCTION item_correlation
      (items : SET OF GENERIC;
       c_items : SET OF STRING ) : LOGICAL;
   LOCAL
      c_types : SET OF STRING := [];
      c_hit : INTEGER := 0;
   END_LOCAL;
      REPEAT i := 1 TO HIINDEX(c_items);
         c_types := c_types + [ 'STEP_MERGED_AP_SCHEMA.' + c_items[i] ];
      END_REPEAT;
      REPEAT i := 1 TO HIINDEX(items);
         IF SIZEOF(c_types * TYPEOF(items[i])) = 1 THEN
            c_hit := c_hit + 1;
         END_IF;
      END_REPEAT;
      IF SIZEOF(items) = c_hit THEN
         RETURN (TRUE);
      ELSE
         RETURN (FALSE);
      END_IF;
END_FUNCTION;

Referenced By

Defintion item_correlation is references by the following definitions:
DefinitionType
 restrict_applied_action_assignment RULE
 restrict_applied_organizational_project_assignment RULE


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2024-09-06T14:00:33-04:00