toml_path Interface

public interface toml_path

Convenience constructors for building key paths from strings instead of keys


Module Procedures

private pure function new_path2(key1, key2) result(path)

Create a new path with two components

Arguments

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

First key to retrieve

character(len=*), intent(in) :: key2

Second key to retrieve

Return Value type(toml_path)

New path

private pure function new_path3(key1, key2, key3) result(path)

Create a new path with three components

Arguments

Type IntentOptional Attributes Name
character(kind=tfc, len=*), intent(in) :: key1

First key to retrieve

character(kind=tfc, len=*), intent(in) :: key2

Second key to retrieve

character(kind=tfc, len=*), intent(in) :: key3

Third key to retrieve

Return Value type(toml_path)

New path

private pure function new_path4(key1, key2, key3, key4) result(path)

Create a new path with three components

Arguments

Type IntentOptional Attributes Name
character(kind=tfc, len=*), intent(in) :: key1

First key to retrieve

character(kind=tfc, len=*), intent(in) :: key2

Second key to retrieve

character(kind=tfc, len=*), intent(in) :: key3

Third key to retrieve

character(kind=tfc, len=*), intent(in) :: key4

Forth key to retrieve

Return Value type(toml_path)

New path