dm_string_to Interface

public interface dm_string_to

Generic string to number converter.

Called by

interface~~dm_string_to~~CalledByGraph interface~dm_string_to dm_string_to proc~dm_arg_validate dm_arg_validate proc~dm_arg_validate->interface~dm_string_to proc~dm_log_level_from_string dm_log_level_from_string proc~dm_arg_validate->proc~dm_log_level_from_string proc~dm_log_level_from_string->interface~dm_string_to proc~dm_regex_request dm_regex_request proc~dm_regex_request->interface~dm_string_to proc~dm_arg_read dm_arg_read proc~dm_arg_read->proc~dm_arg_validate

Module Procedures

private pure elemental subroutine string_to_int32(str, i, error)

Converts string to 4-byte integer.

Arguments

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

Input.

integer(kind=i4), intent(out) :: i

Output.

integer, intent(out), optional :: error

Error code.

private pure elemental subroutine string_to_int64(str, i, error)

Converts string to 8-byte integer.

Arguments

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

Input.

integer(kind=i8), intent(out) :: i

Output.

integer, intent(out), optional :: error

Error code.

private pure elemental subroutine string_to_real32(str, f, error)

Converts string to 4-byte real.

Arguments

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

Input.

real(kind=r4), intent(out) :: f

Output.

integer, intent(out), optional :: error

Error code.

private pure elemental subroutine string_to_real64(str, f, error)

Converts string to 8-byte real.

Arguments

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

Input.

real(kind=r8), intent(out) :: f

Output.

integer, intent(out), optional :: error

Error code.