dm_id_is_valid Function

public pure elemental function dm_id_is_valid(id, max_len) result(valid)

Returns .true. if given string is a valid id. A valid id must be between 1 and 32 characters long, and all characters have to be in set [-0-9A-Z_a-z]. The optional argument max_len overwrites the default maximum id length.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: id

String to validate.

integer, intent(in), optional :: max_len

Max. id length.

Return Value logical


Called by

proc~~dm_id_is_valid~~CalledByGraph proc~dm_id_is_valid dm_id_is_valid proc~dm_arg_validate dm_arg_validate proc~dm_arg_validate->proc~dm_id_is_valid proc~dm_beat_is_valid dm_beat_is_valid proc~dm_beat_is_valid->proc~dm_id_is_valid proc~dm_db_insert_observ dm_db_insert_observ proc~dm_db_insert_observ->proc~dm_id_is_valid proc~dm_observ_is_valid dm_observ_is_valid proc~dm_db_insert_observ->proc~dm_observ_is_valid proc~dm_job_list_add dm_job_list_add proc~dm_job_list_add->proc~dm_id_is_valid proc~dm_job_list_add->proc~dm_observ_is_valid proc~dm_node_is_valid dm_node_is_valid proc~dm_node_is_valid->proc~dm_id_is_valid proc~dm_observ_add_receiver dm_observ_add_receiver proc~dm_observ_add_receiver->proc~dm_id_is_valid proc~dm_observ_is_valid->proc~dm_id_is_valid proc~dm_request_is_valid dm_request_is_valid proc~dm_observ_is_valid->proc~dm_request_is_valid proc~dm_report_is_valid dm_report_is_valid proc~dm_report_is_valid->proc~dm_id_is_valid proc~dm_request_is_valid->proc~dm_id_is_valid proc~dm_response_is_valid dm_response_is_valid proc~dm_request_is_valid->proc~dm_response_is_valid proc~dm_response_is_valid->proc~dm_id_is_valid proc~dm_sensor_is_valid dm_sensor_is_valid proc~dm_sensor_is_valid->proc~dm_id_is_valid proc~dm_target_is_valid dm_target_is_valid proc~dm_target_is_valid->proc~dm_id_is_valid interface~dm_db_insert dm_db_insert interface~dm_db_insert->proc~dm_db_insert_observ proc~dm_db_insert_beat dm_db_insert_beat interface~dm_db_insert->proc~dm_db_insert_beat proc~dm_db_insert_node dm_db_insert_node interface~dm_db_insert->proc~dm_db_insert_node proc~dm_db_insert_observs dm_db_insert_observs interface~dm_db_insert->proc~dm_db_insert_observs proc~dm_db_insert_sensor dm_db_insert_sensor interface~dm_db_insert->proc~dm_db_insert_sensor proc~dm_db_insert_target dm_db_insert_target interface~dm_db_insert->proc~dm_db_insert_target proc~dm_db_insert_beats dm_db_insert_beats interface~dm_db_insert->proc~dm_db_insert_beats proc~dm_arg_read dm_arg_read proc~dm_arg_read->proc~dm_arg_validate proc~dm_db_insert_beat->proc~dm_beat_is_valid proc~dm_db_insert_node->proc~dm_node_is_valid proc~dm_db_insert_observs->proc~dm_db_insert_observ proc~dm_db_insert_sensor->proc~dm_sensor_is_valid proc~dm_db_insert_target->proc~dm_target_is_valid proc~dm_db_update_node dm_db_update_node proc~dm_db_update_node->proc~dm_node_is_valid proc~dm_db_update_sensor dm_db_update_sensor proc~dm_db_update_sensor->proc~dm_sensor_is_valid proc~dm_db_update_target dm_db_update_target proc~dm_db_update_target->proc~dm_target_is_valid proc~dm_request_add dm_request_add proc~dm_request_add->proc~dm_response_is_valid proc~dm_test_dummy_observ dm_test_dummy_observ proc~dm_test_dummy_observ->proc~dm_observ_add_receiver proc~dm_test_dummy_request dm_test_dummy_request proc~dm_test_dummy_observ->proc~dm_test_dummy_request interface~dm_db_update dm_db_update interface~dm_db_update->proc~dm_db_update_node interface~dm_db_update->proc~dm_db_update_sensor interface~dm_db_update->proc~dm_db_update_target interface~dm_test_dummy dm_test_dummy interface~dm_test_dummy->proc~dm_test_dummy_observ interface~dm_test_dummy->proc~dm_test_dummy_request proc~dm_db_insert_beats->proc~dm_db_insert_beat proc~dm_test_dummy_request->proc~dm_request_add