FUNCTION bag_to_set

(* SCHEMA ship_moulded_form_schema; *)
  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
 action_request_solution_with_identification_assignment RULE
 action_with_identification_assignment RULE
 acyclic_mapped_representation FUNCTION
 acyclic_product_category_relationship FUNCTION
 approval_event_with_approval_date_time RULE
 approval_event_with_approval_person_organization RULE
 class_notation_with_named_representation_items RULE
 compound_representation_item_with_section_identifier RULE
 document_has_at_least_one_references RULE
 document_reference_with_address_has_at_least_one_references RULE
 executed_action_with_identification_assignment RULE
 external_instance_reference_has_same_identifier RULE
 hull_moulded_form_design_parameter_with_class_references RULE
 no_approvals_except_in_approval_history RULE
 product_definition_for_call_sign RULE
 product_definition_for_class_notation RULE
 product_definition_for_flag_state RULE
 product_definition_for_hydrostatic_definition_requires_reference RULE
 product_definition_for_managing_company RULE
 product_definition_for_ordering_company RULE
 product_definition_for_owning_company RULE
 product_definition_for_port_of_registration RULE
 product_definition_for_regulation RULE
 product_definition_for_shipyard RULE
 product_definition_for_stability_definition RULE
 product_definition_relationship_with_identification_assignment RULE
 product_definition_shape_with_identification_assignment RULE
 product_definition_with_identification_assignment RULE
 product_related_product_category_with_identification_assignment RULE
 product_with_identification_assignment RULE
 propeller_moulded_form_design_parameter_with_class_references RULE
 property_definition_appendage_moulded_form_design_parameter RULE
 property_definition_for_bottom_moulded_form_design_parameter RULE
 property_definition_for_bulb_moulded_form_design_parameter RULE
 property_definition_for_class_notation RULE
 property_definition_for_class_society RULE
 property_definition_for_deck_moulded_form_design_parameter RULE
 property_definition_for_hull_moulded_form_design_parameter RULE
 property_definition_for_local_coordinate_system RULE
 property_definition_for_local_coordinate_system_with_position RULE
 property_definition_for_moulded_form_function_parameters RULE
 property_definition_for_rudder_moulded_form_design_parameter RULE
 property_definition_for_thruster_moulded_form_design_parameter RULE
 property_definition_for_thruster_propeller_parameter RULE
 property_definition_of_propeller_moulded_form_design_parameter RULE
 property_definition_with_identification_assignment RULE
 representation_for_appendage_moulded_form_design_parameter RULE
 representation_for_bottom_moulded_form_design_parameter RULE
 representation_for_bulb_moulded_form_design_parameter RULE
 representation_for_class_and_statutory_designation RULE
 representation_for_deck_moulded_form_design_parameter RULE
 representation_for_global_axis_placement RULE
 representation_for_hull_moulded_form_design_parameter RULE
 representation_for_local_coordinate_system RULE
 representation_for_moulded_form_function_parameters RULE
 representation_for_propeller_moulded_form_design_parameter RULE
 representation_for_rudder_moulded_form_design_parameter RULE
 representation_for_thruster_moulded_form_design_parameter RULE
 representation_items_appendage_moulded_form_design_parameter RULE
 representation_items_for_bottom_moulded_form_design_parameter RULE
 representation_items_for_bulb_moulded_form_design_parameter RULE
 representation_items_for_deck_moulded_form_design_parameter RULE
 representation_items_for_hull_moulded_form_design_parameter RULE
 representation_items_for_moulded_form_design_parameters RULE
 representation_items_for_moulded_form_function_parameters RULE
 representation_items_for_rudder_moulded_form_design_parameter RULE
 representation_items_of_thruster_moulded_form_design_parameter RULE
 representation_items_optional_for_class_notation RULE
 representation_items_optional_for_owner_designation RULE
 representation_items_optional_for_principal_characteristics RULE
 representation_items_propeller_moulded_form_design_parameter RULE
 representation_item_for_transformation_to_parent RULE
 representation_of_local_coordinate_system_with_position_reference RULE
 representation_restricted_by_name_class_notation RULE
 representation_restricted_by_name_class_parameters RULE
 representation_restricted_by_name_principal_characteristics RULE
 representation_restricted_by_name_ship_overall_dimensions RULE
 ship_designation_has_one_specified_names RULE
 surface_with_identification_assignment RULE
 using_items FUNCTION
 versioned_action_request_with_identification_assignment RULE


[Top Level Definitions] [Exit]

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