str Interface

public interface str

Module Procedures

private pure function logical_tostring(boolean) result(string)

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: boolean

Return Value character(len=:), allocatable

private pure function integer_tostring(int_value, fmt) result(string)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: int_value
character(len=*), intent(in), optional :: fmt

Return Value character(len=:), allocatable

private pure function real_tostring(real_value, fmt) result(string)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: real_value
character(len=*), intent(in), optional :: fmt

Return Value character(len=:), allocatable

private pure function complex_tostring(complex_value, fmt) result(string)

Arguments

Type IntentOptional Attributes Name
complex(kind=dp), intent(in) :: complex_value
character(len=*), intent(in), optional :: fmt

Return Value character(len=:), allocatable

private pure function character_array_tostring(array) result(string)

Arguments

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

the array to convert

Return Value character(len=:), allocatable

returned result, trimmed

private pure function integer_array_tostring(array) result(string)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: array(:)

the array to convert

Return Value character(len=:), allocatable

returned result, trimmed