str Interface

public interface str

Contents


Module Procedures

private pure function logical_tostring(boolean) result(string)

Arguments

TypeIntentOptionalAttributesName
logical, intent(in) :: boolean

Return Value character,allocatable

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

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: int_value
character(len=*), intent(in), optional :: fmt

Return Value character,allocatable

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

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: real_value
character(len=*), intent(in), optional :: fmt

Return Value character,allocatable

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

Arguments

TypeIntentOptionalAttributesName
complex(kind=dp), intent(in) :: complex_value
character(len=*), intent(in), optional :: fmt

Return Value character,allocatable

private pure function character_array_tostring(array) result(string)

Arguments

TypeIntentOptionalAttributesName
character(len=*), intent(in) :: array(:)

the array to convert

Return Value character,allocatable

returned result, trimmed

private pure function integer_array_tostring(array) result(string)

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: array(:)

the array to convert

Return Value character,allocatable

returned result, trimmed