FUNCTION bag_to_set

(* SCHEMA Ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf; *)
FUNCTION bag_to_set
	(the_bag: BAG [0:?] OF GENERIC: intype) : SET [0:?] OF GENERIC: intype;
    LOCAL
      the_set : SET OF GENERIC:intype := [];
    END_LOCAL;

    IF SIZEOF(the_bag) > 0 THEN
      REPEAT i := 1 TO HIINDEX(the_bag);
        the_set := the_set + the_bag[i];
      END_REPEAT;
    END_IF;
    RETURN (the_set);
END_FUNCTION;

Referenced By

Defintion bag_to_set is references by the following definitions:
DefinitionType
 acyclic_mapped_representation FUNCTION
 acyclic_product_definition_relationship FUNCTION
 acyclic_representation_relationship FUNCTION
 acyclic_shape_aspect_relationship FUNCTION
 apeaid_is_base FUNCTION
 get_shape_aspect_property_definition_representations FUNCTION
 material_property ENTITY
 using_items FUNCTION
 valid_selected_instance_representation FUNCTION


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2012-03-27T17:15:33-04:00