FUNCTION bag_to_set

(* SCHEMA STRUCTURAL_FRAME_SCHEMA; *)

(* Modified for LPM/6 *)
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);
      the_set := the_set + the_bag [i];
    END_REPEAT;
  END_IF;
  RETURN (the_set);
END_FUNCTION; (* STEP Part 41 2nd edition *)

Referenced By

Defintion bag_to_set is references by the following definitions:
DefinitionType
 acyclic_document_relationship FUNCTION
 acyclic_group_relationship FUNCTION
 acyclic_mapped_representation FUNCTION
 acyclic_organization_relationship FUNCTION
 assembly ENTITY
 assembly_design_structural_member ENTITY
 document_standard ENTITY
 element_curve ENTITY
 element_surface ENTITY
 element_volume ENTITY
 feature ENTITY
 grid ENTITY
 joint_system ENTITY
 loading_combination ENTITY
 load_case ENTITY
 located_assembly ENTITY
 located_joint_system ENTITY
 located_part ENTITY
 managed_data_creation ENTITY
 managed_data_deleted ENTITY
 managed_data_export ENTITY
 managed_data_import ENTITY
 managed_data_modification ENTITY
 part ENTITY
 using_items FUNCTION
 weld_mechanism_prismatic ENTITY
 zone_of_structure_sequence ENTITY


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2023-03-25T00:11:39-04:00