FUNCTION bag_to_set

(* SCHEMA Ap242_managed_model_based_3d_engineering_mim_LF; *)
  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;

Referenced By

Defintion bag_to_set is references by the following definitions:
DefinitionType
 acyclic_mapped_representation FUNCTION
 acyclic_product_category_relationship FUNCTION
 acyclic_product_definition_relationship FUNCTION
 acyclic_representation_relationship FUNCTION
 acyclic_shape_aspect_relationship FUNCTION
 assembly_leaf FUNCTION
 data_quality_criterion ENTITY
 data_quality_inspection_criterion_report ENTITY
 data_quality_inspection_criterion_report_item ENTITY
 data_quality_inspection_instance_report ENTITY
 data_quality_inspection_instance_report_item ENTITY
 data_quality_inspection_report ENTITY
 data_quality_inspection_result ENTITY
 data_quality_measurement_requirement ENTITY
 dimensioning_data_requires_document RULE
 find_assembly_root FUNCTION
 find_shape_representation_of_product_definition FUNCTION
 find_shape_representation_of_shape_aspect FUNCTION
 free_edge ENTITY
 get_property_definition_representations FUNCTION
 get_shape_aspects FUNCTION
 get_shape_aspect_property_definition_representations FUNCTION
 material_property ENTITY
 multiply_defined_placements ENTITY
 relating_shape_representations_of_extreme_values FUNCTION
 shape_data_quality_criterion ENTITY
 shape_data_quality_inspected_shape_and_result_relationship ENTITY
 unique_dimensional_location_constraint RULE
 unique_shape_aspect_constraint RULE
 using_items FUNCTION
 using_product_definition_of_shape_representation FUNCTION
 using_representation_with_mapping FUNCTION
 using_shape_aspect_of_shape_representation FUNCTION
 validate_accuracy_types FUNCTION
 validate_inspected_elements_type FUNCTION
 validate_locations_of_extreme_value_type FUNCTION
 validate_measured_data_type FUNCTION
 valid_selected_instance_representation FUNCTION


[Top Level Definitions] [Exit]

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