FUNCTION bag_to_set

(* SCHEMA feature_based_process_planning; *)
  FUNCTION bag_to_set(
               the_bag: BAG OF GENERIC:intype
      ): SET 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) BY 1;
        the_set := the_set + the_bag[i];
      END_REPEAT;
    END_IF;
    RETURN(the_set);

  END_FUNCTION; -- bag_to_set

Referenced By

Defintion bag_to_set is references by the following definitions:
DefinitionType
 acyclic_mapped_representation FUNCTION
 acyclic_product_definition_relationship FUNCTION
 datum_feature ENTITY
 datum_target ENTITY
 get_property_definition_representations FUNCTION
 material_property ENTITY
 using_items FUNCTION


[Top Level Definitions] [Exit]

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