fortplot_doc_utils Module


Functions

public pure function get_file_extension(filename) result(extension)

Arguments

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

Return Value character(len=:), allocatable

public pure function replace_extension(filename, new_ext) result(new_filename)

Arguments

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

Return Value character(len=:), allocatable

public pure function title_case(value) result(output)

Arguments

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

Return Value character(len=:), allocatable

public pure function lowercase_string(value) result(output)

Arguments

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

Return Value character(len=:), allocatable

public function file_exists(path)

Arguments

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

Return Value logical

public function check_file_exists(dir, filename)

Arguments

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

Return Value logical


Subroutines

public pure subroutine build_file_path(dir, filename, full_path)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: dir
character(len=*), intent(in) :: filename
character(len=*), intent(out) :: full_path