FUNCTION consistent_set_values

(* SCHEMA structural_analysis_design; *)
  FUNCTION consistent_set_values(
               values_and_locations: SET [1:?] OF GENERIC;
               variable: GENERIC
      ): BOOLEAN;

    LOCAL
      fv_type : SET [1:?] OF STRING;
      i       : INTEGER;
      vv_type : STRING;
    END_LOCAL;
    vv_type := variable_value_type(variable);
    REPEAT i := 1 TO HIINDEX(values_and_locations) BY 1;
      fv_type := TYPEOF(values_and_locations[i].simple_value);
      IF NOT (('STRUCTURAL_ANALYSIS_DESIGN.' + 'UNSPECIFIED_VALUE') IN 
          fv_type) THEN
        IF NOT (vv_type IN fv_type) THEN
          RETURN(FALSE);
        END_IF;
      END_IF;
    END_REPEAT;
    RETURN(TRUE);

  END_FUNCTION; -- consistent_set_values

Referenced By

Defintion consistent_set_values is references by the following definitions:
DefinitionType
 curve_2d_element_location_point_variable_values ENTITY
 curve_2d_element_location_point_volume_variable_values ENTITY
 curve_3d_element_location_point_variable_values ENTITY
 curve_3d_element_location_point_volume_variable_values ENTITY
 surface_2d_element_boundary_edge_location_point_surface_variable_values ENTITY
 surface_2d_element_boundary_edge_location_point_variable_values ENTITY
 surface_2d_element_boundary_location_point_surface_variable_values ENTITY
 surface_2d_element_location_point_variable_values ENTITY
 surface_2d_element_location_point_volume_variable_values ENTITY
 surface_3d_element_boundary_edge_location_point_surface_variable_values ENTITY
 surface_3d_element_boundary_edge_location_point_variable_values ENTITY
 surface_3d_element_boundary_location_point_surface_variable_values ENTITY
 surface_3d_element_location_point_variable_values ENTITY
 surface_3d_element_location_point_volume_variable_values ENTITY
 volume_2d_element_boundary_edge_location_point_volume_variable_values ENTITY
 volume_2d_element_boundary_location_point_variable_values ENTITY
 volume_2d_element_location_point_variable_values ENTITY
 volume_3d_element_boundary_edge_location_point_volume_variable_values ENTITY
 volume_3d_element_boundary_location_point_variable_values ENTITY
 volume_3d_element_location_point_variable_values ENTITY


[Top Level Definitions] [Exit]

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