FUNCTION bag_to_set

(* SCHEMA plant_spatial_configuration; *)
   FUNCTION bag_to_set
      (the_bag : BAG OF GENERIC : intype ) : SET OF GENERIC : intype;
   LOCAL
      the_set : SET OF GENERIC : intype := [];
      i : INTEGER;
   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;

Referenced By

Defintion bag_to_set is references by the following definitions:
DefinitionType
 acyclic_mapped_representation FUNCTION
 acyclic_presentation_representation_relationship FUNCTION
 acyclic_product_definition_relationship FUNCTION
 acyclic_symbol_representation_relationship FUNCTION
 material_property ENTITY
 plant_item_connector ENTITY
 using_items FUNCTION
 version2_p41_uninstantiable_basic_attributes RULE


[Top Level Definitions] [Exit]

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