FUNCTION get_descendant_occurrences

(* SCHEMA step_merged_ap_schema; *)
-- IN AP238 STEP-NC/AP242
FUNCTION get_descendant_occurrences
      (input : product_definition_occurrence ) : SET [0:?] OF product_definition_specified_occurrence;
   LOCAL
      result : SET OF product_definition_specified_occurrence := input.child_occurrences;
   END_LOCAL;
      REPEAT i := 1 TO HIINDEX(input.child_occurrences) BY 1;
         result := result + get_descendant_occurrences(input.child_occurrences[i]);
      END_REPEAT;
      RETURN (result);
END_FUNCTION;

Referenced By

Defintion get_descendant_occurrences is references by the following definitions:
DefinitionType
 product_definition_occurrence ENTITY


[Top Level Definitions] [Exit]

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