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_modbus_parse dm_modbus_parse proc~dm_modbus_parse->interface~dm_string_to proc~dm_regex_request dm_regex_request proc~dm_regex_request->interface~dm_string_to proc~dm_ve_frame_read dm_ve_frame_read proc~dm_ve_frame_read->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_int16(string, value, error)

Converts string to 2-byte integer.

Arguments

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

Input.

integer(kind=i2), intent(out) :: value

Output.

integer, intent(out), optional :: error

Error code.

private pure elemental subroutine string_to_int32(string, value, error)

Converts string to 4-byte integer.

Arguments

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

Input.

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

Output.

integer, intent(out), optional :: error

Error code.

private pure elemental subroutine string_to_int64(string, value, error)

Converts string to 8-byte integer.

Arguments

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

Input.

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

Output.

integer, intent(out), optional :: error

Error code.

private pure elemental subroutine string_to_real32(string, value, error)

Converts string to 4-byte real.

Arguments

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

Input.

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

Output.

integer, intent(out), optional :: error

Error code.

private pure elemental subroutine string_to_real64(string, value, error)

Converts string to 8-byte real.

Arguments

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

Input.

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

Output.

integer, intent(out), optional :: error

Error code.